docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IServerSession

    An interface that can be used by a server to manage a session and access more privileged operations.

    Inherited Members
    IHostSession.Name
    IHostSession.IsPrivate
    IHostSession.IsLocked
    IHostSession.Host
    IHostSession.Password
    IHostSession.Network
    IHostSession.RemovePlayerAsync(string)
    IHostSession.GetHostMigrationDataAsync(TimeSpan)
    IHostSession.SetHostMigrationDataAsync(byte[], TimeSpan)
    IHostSession.SetProperties(Dictionary<string, SessionProperty>)
    IHostSession.SetProperty(string, SessionProperty)
    IHostSession.Players
    IHostSession.SavePropertiesAsync()
    IHostSession.SavePlayerDataAsync(string)
    IHostSession.DeleteAsync()
    IHostSession.GetPlayer(string)
    ISession.Changed
    ISession.StateChanged
    ISession.PlayerJoined
    ISession.PlayerLeft
    ISession.PlayerLeaving
    ISession.PlayerHasLeft
    ISession.SessionPropertiesChanged
    ISession.PlayerPropertiesChanged
    ISession.RemovedFromSession
    ISession.Deleted
    ISession.SessionHostChanged
    ISession.SessionMigrated
    ISession.Type
    ISession.Id
    ISession.Code
    ISession.IsHost
    ISession.IsServer
    ISession.HasPassword
    ISession.AvailableSlots
    ISession.MaxPlayers
    ISession.PlayerCount
    ISession.Properties
    ISession.State
    ISession.CurrentPlayer
    ISession.IsMember
    ISession.ConcurrencyControlEnabled
    ISession.SaveCurrentPlayerDataAsync()
    ISession.LeaveAsync()
    ISession.RefreshAsync()
    ISession.ReconnectAsync()
    ISession.AsHost()
    ISession.HasPlayer(string)
    Namespace: Unity.Services.Multiplayer
    Assembly: Unity.Services.Multiplayer.dll
    Syntax
    public interface IServerSession : IHostSession, ISession

    Extension Methods

    MatchmakerExtensions.GetMatchmakingResults(ISession)
    In This Article
    Back to top
    Copyright © 2025 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)