Class JokeRifle.AbstractRifle
- Namespace
- Global
- Assembly
- Assembly-CSharp.dll
public class JokeRifle.AbstractRifle : AbstractPhysicalObject
- Inheritance
-
JokeRifle.AbstractRifle
- Inherited Members
Constructors
AbstractRifle(World, JokeRifle, WorldCoordinate, EntityID, AmmoType)
public AbstractRifle(World world, JokeRifle realizedObject, WorldCoordinate pos, EntityID ID, JokeRifle.AbstractRifle.AmmoType ammoType)
Parameters
worldWorldrealizedObjectJokeRifleposWorldCoordinateIDEntityIDammoTypeJokeRifle.AbstractRifle.AmmoType
Fields
ammo
public Dictionary<JokeRifle.AbstractRifle.AmmoType, int> ammo
Field Value
ammoStyle
public JokeRifle.AbstractRifle.AmmoType ammoStyle
Field Value
Methods
AmmoFromString(string)
public void AmmoFromString(string ammoStr)
Parameters
ammoStrstring
AmmoToString()
public string AmmoToString()
Returns
ToString()
public override string ToString()
Returns
currentAmmo()
public int currentAmmo()
Returns
setCurrentAmmo(int)
public void setCurrentAmmo(int amount)
Parameters
amountint