Class EventDataPlayerSessionCollection | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class EventDataPlayerSessionCollection

    Inheritance
    System.Object
    EventDataPlayerSessionCollection
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: UnityEditor.ResourceManagement.Diagnostics
    Syntax
    public class EventDataPlayerSessionCollection

    Constructors

    EventDataPlayerSessionCollection(Action<EventDataPlayerSession, DiagnosticEvent, Boolean>, Func<DiagnosticEvent, Boolean>)

    Declaration
    public EventDataPlayerSessionCollection(Action<EventDataPlayerSession, DiagnosticEvent, bool> onEvent, Func<DiagnosticEvent, bool> onRecordEvent)
    Parameters
    Type Name Description
    Action<EventDataPlayerSession, DiagnosticEvent, System.Boolean> onEvent
    Func<DiagnosticEvent, System.Boolean> onRecordEvent

    Methods

    AddSession(String, Int32)

    Declaration
    public void AddSession(string name, int id)
    Parameters
    Type Name Description
    System.String name
    System.Int32 id

    GetConnectionNames()

    Declaration
    public string[] GetConnectionNames()
    Returns
    Type Description
    System.String[]

    GetPlayerSession(Int32, Boolean)

    Declaration
    public EventDataPlayerSession GetPlayerSession(int playerId, bool create)
    Parameters
    Type Name Description
    System.Int32 playerId
    System.Boolean create
    Returns
    Type Description
    EventDataPlayerSession

    GetSessionByIndex(Int32)

    Declaration
    public EventDataPlayerSession GetSessionByIndex(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    EventDataPlayerSession

    ProcessEvent(DiagnosticEvent, Int32)

    Declaration
    public void ProcessEvent(DiagnosticEvent diagnosticEvent, int sessionId)
    Parameters
    Type Name Description
    DiagnosticEvent diagnosticEvent
    System.Int32 sessionId
    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