Class EventDungeonInfo
public class EventDungeonInfo : IState
- Inheritance
-
EventDungeonInfo
- Implements
- Inherited Members
- Extension Methods
Constructors
EventDungeonInfo(IValue)
public EventDungeonInfo(IValue serialized)
Parameters
serializedIValue
EventDungeonInfo(List)
public EventDungeonInfo(List serialized)
Parameters
serializedList
EventDungeonInfo(int, int, int, int)
public EventDungeonInfo(int resetTicketsInterval = 0, int remainingTickets = 0, int numberOfTicketPurchases = 0, int clearedStageId = 0)
Parameters
Properties
ClearedStageId
public int ClearedStageId { get; }
Property Value
NumberOfTicketPurchases
public int NumberOfTicketPurchases { get; }
Property Value
RemainingTickets
public int RemainingTickets { get; }
Property Value
ResetTicketsInterval
public int ResetTicketsInterval { get; }
Property Value
Methods
ClearStage(int)
public void ClearStage(int stageId)
Parameters
stageIdint
DeriveAddress(Address, int)
public static Address DeriveAddress(Address address, int dungeonId)
Parameters
addressAddressdungeonIdint
Returns
- Address
Equals(EventDungeonInfo)
protected bool Equals(EventDungeonInfo other)
Parameters
otherEventDungeonInfo
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
HasTickets(int)
public bool HasTickets(int tickets)
Parameters
ticketsint
Returns
IncreaseNumberOfTicketPurchases()
public void IncreaseNumberOfTicketPurchases()
IsCleared(int)
public bool IsCleared(int stageId)
Parameters
stageIdint
Returns
ResetTickets(int, int)
public void ResetTickets(int interval, int tickets)
Parameters
Serialize()
public IValue Serialize()
Returns
- IValue
TryUseTickets(int)
public bool TryUseTickets(int tickets)
Parameters
ticketsint