Table of Contents

Class EventDungeonInfo

Namespace
Nekoyume.Model.Event
Assembly
Lib9c.dll
public class EventDungeonInfo : IState
Inheritance
EventDungeonInfo
Implements
Inherited Members
Extension Methods

Constructors

EventDungeonInfo(IValue)

public EventDungeonInfo(IValue serialized)

Parameters

serialized IValue

EventDungeonInfo(List)

public EventDungeonInfo(List serialized)

Parameters

serialized List

EventDungeonInfo(int, int, int, int)

public EventDungeonInfo(int resetTicketsInterval = 0, int remainingTickets = 0, int numberOfTicketPurchases = 0, int clearedStageId = 0)

Parameters

resetTicketsInterval int
remainingTickets int
numberOfTicketPurchases int
clearedStageId int

Properties

ClearedStageId

public int ClearedStageId { get; }

Property Value

int

NumberOfTicketPurchases

public int NumberOfTicketPurchases { get; }

Property Value

int

RemainingTickets

public int RemainingTickets { get; }

Property Value

int

ResetTicketsInterval

public int ResetTicketsInterval { get; }

Property Value

int

Methods

ClearStage(int)

public void ClearStage(int stageId)

Parameters

stageId int

DeriveAddress(Address, int)

public static Address DeriveAddress(Address address, int dungeonId)

Parameters

address Address
dungeonId int

Returns

Address

Equals(EventDungeonInfo)

protected bool Equals(EventDungeonInfo other)

Parameters

other EventDungeonInfo

Returns

bool

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

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

tickets int

Returns

bool

IncreaseNumberOfTicketPurchases()

public void IncreaseNumberOfTicketPurchases()

IsCleared(int)

public bool IsCleared(int stageId)

Parameters

stageId int

Returns

bool

ResetTickets(int, int)

public void ResetTickets(int interval, int tickets)

Parameters

interval int
tickets int

Serialize()

public IValue Serialize()

Returns

IValue

TryUseTickets(int)

public bool TryUseTickets(int tickets)

Parameters

tickets int

Returns

bool