docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SessionProperty

    Represents a property of a session.

    Inheritance
    object
    SessionProperty
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Multiplayer
    Assembly: Unity.Services.Multiplayer.dll
    Syntax
    public class SessionProperty

    Constructors

    SessionProperty(string, VisibilityPropertyOptions, PropertyIndex)

    Creates a new SessionProperty.

    Declaration
    public SessionProperty(string value, VisibilityPropertyOptions visibility = VisibilityPropertyOptions.Public, PropertyIndex index = PropertyIndex.None)
    Parameters
    Type Name Description
    string value

    The value of the property.

    VisibilityPropertyOptions visibility

    The visibility of the property.

    PropertyIndex index

    The index of the property for querying purposes.

    Properties

    Index

    The index of the property for querying purposes.

    Declaration
    public PropertyIndex Index { get; }
    Property Value
    Type Description
    PropertyIndex

    Value

    The value of the property.

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

    Visibility

    The visibility of the property.

    Declaration
    public VisibilityPropertyOptions Visibility { get; }
    Property Value
    Type Description
    VisibilityPropertyOptions
    In This Article
    • Constructors
      • SessionProperty(string, VisibilityPropertyOptions, PropertyIndex)
    • Properties
      • Index
      • Value
      • Visibility
    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)