docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct PackageId

    Inherited Members
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: PvpXray
    Assembly: solution.dll
    Syntax
    public struct PackageId

    Constructors

    PackageId(Json)

    Declaration
    public PackageId(Json manifest)
    Parameters
    Type Name Description
    Json manifest

    PackageId(string)

    Declaration
    public PackageId(string id)
    Parameters
    Type Name Description
    string id

    PackageId(string, string)

    Declaration
    public PackageId(string name, string version)
    Parameters
    Type Name Description
    string name
    string version

    Fields

    UnityModuleNamePrefix

    Declaration
    public const string UnityModuleNamePrefix = "com.unity.modules."
    Field Value
    Type Description
    string

    ValidName

    Declaration
    public static readonly Regex ValidName
    Field Value
    Type Description
    Regex

    ValidSemVer

    Declaration
    public static readonly Regex ValidSemVer
    Field Value
    Type Description
    Regex

    Properties

    Id

    Declaration
    public string Id { get; }
    Property Value
    Type Description
    string

    Name

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    string

    Version

    Declaration
    public string Version { get; }
    Property Value
    Type Description
    string

    Methods

    Equals(PackageId)

    Declaration
    public bool Equals(PackageId other)
    Parameters
    Type Name Description
    PackageId other
    Returns
    Type Description
    bool

    Equals(object)

    Indicates whether this instance and a specified object are equal.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    The object to compare with the current instance.

    Returns
    Type Description
    bool

    true if obj and this instance are the same type and represent the same value; otherwise, false.

    Overrides
    ValueType.Equals(object)

    GetHashCode()

    Returns the hash code for this instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A 32-bit signed integer that is the hash code for this instance.

    Overrides
    ValueType.GetHashCode()

    ToString()

    Returns the fully qualified type name of this instance.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    The fully qualified type name.

    Overrides
    ValueType.ToString()

    Operators

    operator ==(PackageId, PackageId)

    Declaration
    public static bool operator ==(PackageId left, PackageId right)
    Parameters
    Type Name Description
    PackageId left
    PackageId right
    Returns
    Type Description
    bool

    operator !=(PackageId, PackageId)

    Declaration
    public static bool operator !=(PackageId left, PackageId right)
    Parameters
    Type Name Description
    PackageId left
    PackageId right
    Returns
    Type Description
    bool
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)