Class ShockStick
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
public class ShockStick : ItemInstanceBehaviour
- Inheritance
-
ShockStick
- Inherited Members
-
- Extension Methods
-
Constructors
ShockStick()
Fields
lastFrame
Field Value
- int
m_batteryDisplay
public BatteryDisplay m_batteryDisplay
Field Value
- BatteryDisplay
m_batteryEntry
public BatteryEntry m_batteryEntry
Field Value
- BatteryEntry
m_light
Field Value
- Light
m_onOffEntry
public OnOffEntry m_onOffEntry
Field Value
- OnOffEntry
part
public ParticleSystem part
Field Value
- ParticleSystem
rend
Field Value
- MeshRenderer
shockBatteryCost
public float shockBatteryCost
Field Value
- float
shockImpactSound
public SFX_Instance[] shockImpactSound
Field Value
- SFX_Instance[]
sparkLight
Field Value
- Light
trigger
public GameObject trigger
Field Value
- GameObject
Methods
ConfigItem(ItemInstanceData, PhotonView)
public override void ConfigItem(ItemInstanceData data, PhotonView playerView)
Parameters
data
ItemInstanceData
playerView
PhotonView
IShock()
public IEnumerator IShock()
Returns
- IEnumerator
OnShock(Player)
public void OnShock(Player playerToShock)
Parameters
playerToShock
Player
RPC_Shock(BinaryDeserializer)
public void RPC_Shock(BinaryDeserializer deserializer)
Parameters
deserializer
BinaryDeserializer
Update()