docs.unity.cn
    Show / Hide Table of Contents

    Class StoreConfig

    Configurator for a Store instance.

    Inheritance
    Object
    CatalogItemConfig
    CatalogItemConfig<Store>
    StoreConfig
    Inherited Members
    CatalogItemConfig<Store>.CompileGeneric()
    CatalogItemConfig<Store>.LinkGeneric(CatalogItem, Dictionary<String, CatalogItem>)
    CatalogItemConfig<Store>.Compile()
    CatalogItemConfig<Store>.Link(Store, Dictionary<String, CatalogItem>)
    CatalogItemConfig<Store>.DoRequireDisplayName()
    CatalogItemConfig.key
    CatalogItemConfig.displayName
    CatalogItemConfig.tags
    CatalogItemConfig.staticProperties
    Namespace: UnityEngine.GameFoundation.Configs
    Syntax
    public sealed class StoreConfig : CatalogItemConfig<Store>, IBuildable<Store>

    Fields

    transactions

    The identifiers of the BaseTransaction this store will expose.

    Declaration
    public readonly List<string> transactions
    Field Value
    Type Description
    List<String>

    Methods

    CompileItem(Rejectable)

    Create a new TRuntimeObject.

    Declaration
    protected override Store CompileItem(Rejectable rejectable)
    Parameters
    Type Name Description
    Rejectable rejectable
    Returns
    Type Description
    Store

    Return a promise handle to report how the operation went. The handle's result is the compiled item if the compilation was successful.

    Overrides
    UnityEngine.GameFoundation.Configs.CatalogItemConfig<UnityEngine.GameFoundation.Store>.CompileItem(UnityEngine.Promise.Rejectable)

    LinkItem(Store, Dictionary<String, CatalogItem>, Rejectable)

    Resolves the references from the given runtimeObject using the given compiledItems.

    Declaration
    protected override void LinkItem(Store runtimeObject, Dictionary<string, CatalogItem> compiledItems, Rejectable rejectable)
    Parameters
    Type Name Description
    Store runtimeObject
    Dictionary<String, CatalogItem> compiledItems
    Rejectable rejectable
    Overrides
    UnityEngine.GameFoundation.Configs.CatalogItemConfig<UnityEngine.GameFoundation.Store>.LinkItem(UnityEngine.GameFoundation.Store, System.Collections.Generic.Dictionary<System.String, UnityEngine.GameFoundation.CatalogItem>, UnityEngine.Promise.Rejectable)
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 16 June 2021