Class PlayerPins
- Namespace
- Root
- Assembly
- SPZGameAssembly.dll
public class PlayerPins : IPlayerPins
- Inheritance
-
objectPlayerPins
- Implements
- Extension Methods
Constructors
PlayerPins()
public PlayerPins()
Properties
OnChanged
public IEvent OnChanged { get; }
Property Value
OnPinAdded
public IEvent<IPin> OnPinAdded { get; }
Property Value
OnPinRemoved
public IEvent<IPin> OnPinRemoved { get; }
Property Value
PinnedItems
public IReadOnlyList<IPin> PinnedItems { get; }
Property Value
- IReadOnlyList<IPin>
Methods
ClearDismissed(PlayerLevelGoalId)
public void ClearDismissed(PlayerLevelGoalId id)
Parameters
ClearDismissed(IPin)
public void ClearDismissed(IPin pin)
Parameters
pinIPin
Deserialize(SerializedData)
public void Deserialize(PlayerPins.SerializedData data)
Parameters
dataPlayerPins.SerializedData
IsDismissed(PlayerLevelGoalId)
public bool IsDismissed(PlayerLevelGoalId id)
Parameters
Returns
- bool
IsDismissed(ResearchUpgradeId)
public bool IsDismissed(ResearchUpgradeId id)
Parameters
Returns
- bool
IsDismissed(IPin)
public bool IsDismissed(IPin pin)
Parameters
pinIPin
Returns
- bool
IsPinned(PlayerLevelGoalId)
public bool IsPinned(PlayerLevelGoalId id)
Parameters
Returns
- bool
IsPinned(ResearchUpgradeId)
public bool IsPinned(ResearchUpgradeId id)
Parameters
Returns
- bool
IsPinned(IPin)
public bool IsPinned(IPin pin)
Parameters
pinIPin
Returns
- bool
Serialize()
public PlayerPins.SerializedData Serialize()
Returns
TogglePinned(PlayerLevelGoalId)
public bool TogglePinned(PlayerLevelGoalId id)
Parameters
Returns
- bool
TogglePinned(ResearchUpgradeId)
public bool TogglePinned(ResearchUpgradeId id)
Parameters
Returns
- bool
TogglePinned(IPin)
public bool TogglePinned(IPin pin)
Parameters
pinIPin
Returns
- bool
TryPin(PlayerLevelGoalId)
public bool TryPin(PlayerLevelGoalId id)
Parameters
Returns
- bool
TryPin(ResearchUpgradeId)
public bool TryPin(ResearchUpgradeId id)
Parameters
Returns
- bool
TryPin(IPin)
public bool TryPin(IPin pin)
Parameters
pinIPin
Returns
- bool
TryUnpin(IPin)
public bool TryUnpin(IPin pin)
Parameters
pinIPin
Returns
- bool