Class RpcMessage<T>
Namespace: Unity.Reflect.Actor
Syntax
public class RpcMessage<T>
where T : class
Type Parameters
Name | Description |
---|---|
T |
Constructors
RpcMessage(Int32, T)
Declaration
public RpcMessage(int id, T data)
Parameters
Type | Name | Description |
---|---|---|
Int32 | id | |
T | data |
Properties
Data
Declaration
public T Data { get; }
Property Value
Type | Description |
---|---|
T |
Id
Declaration
public int Id { get; }
Property Value
Type | Description |
---|---|
Int32 |