Show / Hide Table of Contents

    Interface IEventService

    This IService helps with retrieving all or a particular IEventSettings.

    Inherited Members
    IService.Initialize(Action<IService>)
    IService.Cleanup()
    Namespace: IdleKit.Framework
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IEventService : IService, IInjectable

    Methods

    GetAllEventSettings()

    Returns a list of all IEventSettingss.

    Declaration
    IEventSettings[] GetAllEventSettings()
    Returns
    Type Description
    IEventSettings[]

    GetEventContentId(String)

    Returns the id for a given IEventContentData's with the . The mapping is performed via the eventContentId and uniqueEventContentId. If no mapping exists, null is returned.

    Declaration
    string GetEventContentId(string uniqueEventContentId)
    Parameters
    Type Name Description
    String uniqueEventContentId
    Returns
    Type Description
    String

    GetEventSettings(String)

    Returns the IEventSettings associated with the . Returns null otherwise.

    Declaration
    IEventSettings GetEventSettings(string uniqueEventContentId)
    Parameters
    Type Name Description
    String uniqueEventContentId

    The uniqueEventContentId

    Returns
    Type Description
    IEventSettings

    GetUniqueEventContentIds(String)

    Returns an array of uniqueEventContentId for a given . The mapping is performed via the eventContentId and uniqueEventContentId. If no mapping exists, null is returned.

    Declaration
    string[] GetUniqueEventContentIds(string contentId)
    Parameters
    Type Name Description
    String contentId
    Returns
    Type Description
    String[]
    Remarks

    The uniqueEventContentId is usually used to instantiate the IEventContent. When retrieving a IEventContent via the IEntityResolver this value should be used.

    Back to top Copyright © 2020 East Side Games Inc.