docs.unity3d.com
    Show / Hide Table of Contents

    Class NetContext<T>

    Message with its data type as generic argument.

    Inheritance
    Object
    NetContext<T>
    NetContext
    Namespace: Unity.Reflect.Actor
    Syntax
    public class NetContext<T>
        where T : class
    Type Parameters
    Name Description
    T
    Remarks

    must be a reference type to allow unsafe cast between NetContext and NetContext<T>

    Constructors

    NetContext(ActorRef, T)

    Declaration
    public NetContext(ActorRef sourceId, T data)
    Parameters
    Type Name Description
    ActorRef sourceId
    T data

    Properties

    Data

    Declaration
    public T Data { get; }
    Property Value
    Type Description
    T

    SourceId

    Declaration
    public ActorRef SourceId { get; }
    Property Value
    Type Description
    ActorRef
    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