Class ArtifactWithCurse
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
public class ArtifactWithCurse : ItemInstanceBehaviour, IArtifactContent
- Inheritance
-
ArtifactWithCurse
- Implements
-
- Inherited Members
-
- Extension Methods
-
Constructors
ArtifactWithCurse()
public ArtifactWithCurse()
Fields
cursePrefab
[FormerlySerializedAs("curse")]
[SerializeReference]
public GameObject cursePrefab
Field Value
- GameObject
spawnedCurse
public GameObject spawnedCurse
Field Value
- GameObject
stashAbleEntry
public StashAbleEntry stashAbleEntry
Field Value
- StashAbleEntry
Properties
IsActive
public bool IsActive { get; }
Property Value
- bool
IsHeld
public bool IsHeld { get; }
Property Value
- bool
Methods
ConfigItem(ItemInstanceData, PhotonView)
public override void ConfigItem(ItemInstanceData data, PhotonView playerView)
Parameters
data
ItemInstanceData
playerView
PhotonView
OnDestroy()
OnItemEquipped(Player)
public void OnItemEquipped(Player player)
Parameters
player
Player