Show / Hide Table of Contents

    Struct ResourcePack

    A resource pack to be registered with the resource loader. It carries both the resource pack implementation, and a priority which used to decide which resource pack takes precedence in the resource loader (higher is better).

    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: AGS.API
    Assembly: AGS.API.dll
    Syntax
    public struct ResourcePack

    Constructors

    | Improve this Doc View Source

    ResourcePack(IResourcePack, Int32)

    Initializes a new instance of the ResourcePack struct.

    Declaration
    public ResourcePack(IResourcePack pack, int priority)
    Parameters
    Type Name Description
    IResourcePack pack

    Pack.

    System.Int32 priority

    Priority.

    Properties

    | Improve this Doc View Source

    Pack

    Gets the resource pack.

    Declaration
    public IResourcePack Pack { get; }
    Property Value
    Type Description
    IResourcePack

    The resource pack.

    | Improve this Doc View Source

    Priority

    Gets the priority.

    Declaration
    public int Priority { get; }
    Property Value
    Type Description
    System.Int32

    The priority.

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX