Метод | Описание | |
---|---|---|
EventsService ( ) : System |
Default constructor
|
|
EventsService ( IStringProvider |
Alternate constructor
|
|
GetLocalizedName ( System.Guid id ) : string |
Returns the localized name for the given event or meta event stage
|
|
GetState ( System.Guid id ) : Data.Enums.EventState |
Retrieves the current state of the given event
|
|
GetState ( |
Retrieves the current state of the given event
|
|
GetTimeSinceActive ( |
Retrieves the amount of time since the last active time for the given event, using the megaserver timetables
|
|
GetTimeUntilActive ( |
Retrieves the amount of time until the next active time for the given event, using the megaserver timetables
|
|
LoadTables ( bool isAdjustedBossTimersTable ) : void |
Loads the events time tables and initializes all cached event information
|
public EventsService ( IStringProvider |
||
worldEventNamesProvider | IStringProvider |
|
metaEventNamesProvider | IStringProvider |
|
currentTimeProvider | ITimeProvider | A time provider for determining the current name. If null, the EventsServer will use the DefaultTimeProvider |
Результат | System |
public GetLocalizedName ( System.Guid id ) : string | ||
id | System.Guid | ID of the event or meta event stage to return the name of |
Результат | string |
public GetState ( System.Guid id ) : Data.Enums.EventState | ||
id | System.Guid | The ID of the event to retrieve the state of |
Результат | Data.Enums.EventState |
public GetState ( |
||
evt | The event to retrieve the state of | |
Результат | Data.Enums.EventState |
public GetTimeSinceActive ( |
||
evt | The event to retrieve the time for | |
Результат | System.TimeSpan |
public GetTimeUntilActive ( |
||
evt | The event to retrieve the time for | |
Результат | System.TimeSpan |
public LoadTables ( bool isAdjustedBossTimersTable ) : void | ||
isAdjustedBossTimersTable | bool | |
Результат | void |