docs.unity.cn
    Show / Hide Table of Contents

    Method FetchConfigs

    FetchConfigs<T, T2>(T, T2)

    Fetches an app configuration settings from the remote server.

    Declaration
    public static void FetchConfigs<T, T2>(T userAttributes, T2 appAttributes)
        where T : struct where T2 : struct
    Parameters
    Type Name Description
    T userAttributes

    A struct containing custom user attributes. If none apply, use an empty struct.

    T2 appAttributes

    A struct containing custom app attributes. If none apply, use an empty struct.

    Type Parameters
    Name Description
    T

    The type of the userAttributes struct.

    T2

    The type of the appAttributes struct.

    FetchConfigs<T, T2, T3>(T, T2, T3)

    Fetches an app configuration settings from the remote server passing filterAttributes.

    Declaration
    public static void FetchConfigs<T, T2, T3>(T userAttributes, T2 appAttributes, T3 filterAttributes)
        where T : struct where T2 : struct where T3 : struct
    Parameters
    Type Name Description
    T userAttributes

    A struct containing custom user attributes. If none apply, use an empty struct.

    T2 appAttributes

    A struct containing custom app attributes. If none apply, use an empty struct.

    T3 filterAttributes

    A struct containing filter attributes. If none apply, use an empty struct.

    Type Parameters
    Name Description
    T

    The type of the userAttributes struct.

    T2

    The type of the appAttributes struct.

    T3

    The type of the filterAttributes struct.

    FetchConfigs<T, T2>(String, T, T2)

    Fetches an app configuration settings from the remote server passing a configType.

    Declaration
    public static void FetchConfigs<T, T2>(string configType, T userAttributes, T2 appAttributes)
        where T : struct where T2 : struct
    Parameters
    Type Name Description
    String configType

    A string containing configType. If none apply, use null.

    T userAttributes

    A struct containing custom user attributes. If none apply, use an empty struct.

    T2 appAttributes

    A struct containing custom app attributes. If none apply, use an empty struct.

    Type Parameters
    Name Description
    T

    The type of the userAttributes struct.

    T2

    The type of the appAttributes struct.

    FetchConfigs<T, T2, T3>(String, T, T2, T3)

    Fetches an app configuration settings from the remote server passing a configType and filterAttributes.

    Declaration
    public static void FetchConfigs<T, T2, T3>(string configType, T userAttributes, T2 appAttributes, T3 filterAttributes)
        where T : struct where T2 : struct where T3 : struct
    Parameters
    Type Name Description
    String configType

    A string containing configType. If none apply, use empty string.

    T userAttributes

    A struct containing custom user attributes. If none apply, use an empty struct.

    T2 appAttributes

    A struct containing custom app attributes. If none apply, use an empty struct.

    T3 filterAttributes

    A struct containing filter attributes. If none apply, use an empty struct.

    Type Parameters
    Name Description
    T

    The type of the userAttributes struct.

    T2

    The type of the appAttributes struct.

    T3

    The type of the filterAttributes struct.

    Back to top Copyright © 2023 Unity Technologies
    Generated by DocFX
    on Monday, March 13, 2023
    Terms of use