Class CurseOfDeath
- Namespace
- DefaultNamespace.Artifacts
- Assembly
- Assembly-CSharp.dll
public class CurseOfDeath : MonoBehaviour, IArtifactCurse
- Inheritance
-
CurseOfDeath
- Implements
- Inherited Members
- Extension Methods
Constructors
CurseOfDeath()
public CurseOfDeath()
Fields
cursedPlayer
public Player cursedPlayer
Field Value
itemSource
public ItemInstanceBehaviour itemSource
Field Value
minHoldTime
public float minHoldTime
Field Value
timeInHand
public float timeInHand
Field Value
view_g
public PhotonView view_g
Field Value
- PhotonView
Methods
Awake()
public void Awake()
CastCurse(ItemInstanceBehaviour, Player)
public void CastCurse(ItemInstanceBehaviour cursedItem, Player playerHoldingItem)
Parameters
cursedItem
ItemInstanceBehaviourplayerHoldingItem
Player
RPCA_AttachToPlayer(int)
[PunRPC]
public void RPCA_AttachToPlayer(int playerid)
Parameters
playerid
int
Update()
public void Update()