docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TickEvent

    A event that can occur during a Event

    Inheritance
    object
    TickEvent
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: MLAPI.Profiling
    Assembly: Unity.Multiplayer.MLAPI.Runtime.dll
    Syntax
    public class TickEvent

    Fields

    Bytes

    The amount of bytes sent or received

    Declaration
    public uint Bytes
    Field Value
    Type Description
    uint

    ChannelName

    The name of the channel

    Declaration
    public string ChannelName
    Field Value
    Type Description
    string

    Closed

    Whether or not the event is closed

    Declaration
    public bool Closed
    Field Value
    Type Description
    bool

    EventType

    The type of evenmt

    Declaration
    public TickType EventType
    Field Value
    Type Description
    TickType

    MessageType

    The message type

    Declaration
    public string MessageType
    Field Value
    Type Description
    string

    Methods

    FromStream(Stream)

    Creates a TickEvent from data in the provided stream

    Declaration
    public static TickEvent FromStream(Stream stream)
    Parameters
    Type Name Description
    Stream stream

    The stream containing the TickEvent data

    Returns
    Type Description
    TickEvent

    The TickEvent with data read from the stream

    SerializeToStream(Stream)

    Writes the TickEvent data to the stream

    Declaration
    public void SerializeToStream(Stream stream)
    Parameters
    Type Name Description
    Stream stream

    The stream to write the TickEvent data to

    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)