Show / Hide Table of Contents

    Class KraangUserDataBase

    A collection of common user data. Kraang expects id and level in every event. This needs to be extended in order for the fields to be populated with data.

    Inheritance
    Object
    KraangUserDataBase
    Implements
    IAnalyticsUserData
    IInjectable
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ToString()
    Object.ReferenceEquals(Object, Object)
    Namespace: IdleKit.Analytics
    Assembly: cs.temp.dll.dll
    Syntax
    public abstract class KraangUserDataBase : IAnalyticsUserData, IInjectable

    Fields

    _assetVersion

    Declaration
    protected string _assetVersion
    Field Value
    Type Description
    String

    _id

    Declaration
    protected string _id
    Field Value
    Type Description
    String

    _level

    Declaration
    protected int _level
    Field Value
    Type Description
    Int32

    _levelVersion

    Declaration
    protected int _levelVersion
    Field Value
    Type Description
    Int32

    ASSET_VERSION_KEY

    Declaration
    public const string ASSET_VERSION_KEY = "assetVersion"
    Field Value
    Type Description
    String

    ID_KEY

    Declaration
    public const string ID_KEY = "userId"
    Field Value
    Type Description
    String

    LEVEL_KEY

    Declaration
    public const string LEVEL_KEY = "level"
    Field Value
    Type Description
    String

    LEVEL_VERSION_KEY

    Declaration
    public const string LEVEL_VERSION_KEY = "levelVersion"
    Field Value
    Type Description
    String

    Methods

    GetUserData()

    Declaration
    public virtual Dictionary<string, object> GetUserData()
    Returns
    Type Description
    Dictionary<String, Object>

    Inject(IResolver)

    Declaration
    public abstract void Inject(IResolver resolver)
    Parameters
    Type Name Description
    IResolver resolver

    Implements

    IAnalyticsUserData
    IInjectable
    Back to top Copyright © 2020 East Side Games Inc.