Interface IEventService
This IService helps with retrieving all or a particular IEventSettings.
Namespace: IdleKit.Gameplay
Assembly: cs.temp.dll.dll
Syntax
public interface IEventService : IService
Methods
GetActiveSettingsForContentId(String)
Returns the event settings of the currently active event which utilizes the provided content id. Returns null if there isn't one currently active.
Declaration
IEventSettings GetActiveSettingsForContentId(string eventContentId)
Parameters
Type | Name | Description |
---|---|---|
String | eventContentId | The EventContentId |
Returns
Type | Description |
---|---|
IEventSettings |
GetAllEventSettings()
Returns a list of all IEventSettingss.
Declaration
IEventSettings[] GetAllEventSettings()
Returns
Type | Description |
---|---|
IEventSettings[] |
GetEventSettings(String)
Returns the IEventSettings associated with the
Declaration
IEventSettings GetEventSettings(string eventSettingsId)
Parameters
Type | Name | Description |
---|---|---|
String | eventSettingsId | The IdleKit.Core.IEventSettingsData.Id |
Returns
Type | Description |
---|---|
IEventSettings |