docs.unity3d.com
    Show / Hide Table of Contents

    Struct StreamKey

    Namespace: Unity.Reflect
    Syntax
    [Serializable]
    public struct StreamKey : IEquatable<StreamKey>

    Constructors

    StreamKey(String, PersistentKey)

    Declaration
    public StreamKey(string sourceId, PersistentKey key)
    Parameters
    Type Name Description
    String sourceId
    PersistentKey key

    Fields

    key

    Declaration
    public readonly PersistentKey key
    Field Value
    Type Description
    PersistentKey

    source

    Declaration
    public readonly string source
    Field Value
    Type Description
    String

    Methods

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean
    Overrides
    ValueType.Equals(Object)

    Equals(StreamKey)

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

    FromSyncId<T>(String, SyncId)

    Declaration
    public static StreamKey FromSyncId<T>(string sourceId, SyncId id)
        where T : ISyncModel
    Parameters
    Type Name Description
    String sourceId
    SyncId id
    Returns
    Type Description
    StreamKey
    Type Parameters
    Name Description
    T

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    ValueType.GetHashCode()

    Operators

    Equality(StreamKey, StreamKey)

    Declaration
    public static bool operator ==(StreamKey a, StreamKey b)
    Parameters
    Type Name Description
    StreamKey a
    StreamKey b
    Returns
    Type Description
    Boolean

    Inequality(StreamKey, StreamKey)

    Declaration
    public static bool operator !=(StreamKey a, StreamKey b)
    Parameters
    Type Name Description
    StreamKey a
    StreamKey b
    Returns
    Type Description
    Boolean
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023