Add StickGame Assets
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
using FishNet.Object.Helping;
|
||||
|
||||
namespace FishNet.Object
|
||||
{
|
||||
|
||||
#region Types.
|
||||
/// <summary>
|
||||
/// Lookup data for a RPC Link.
|
||||
/// </summary>
|
||||
internal struct RpcLink
|
||||
{
|
||||
/// <summary>
|
||||
/// ObjectId for link.
|
||||
/// </summary>
|
||||
public int ObjectId;
|
||||
/// <summary>
|
||||
/// NetworkBehaviour component index on ObjectId.
|
||||
/// </summary>
|
||||
public byte ComponentIndex;
|
||||
/// <summary>
|
||||
/// RpcHash for link.
|
||||
/// </summary>
|
||||
public uint RpcHash;
|
||||
/// <summary>
|
||||
/// Type of Rpc link is for.
|
||||
/// </summary>
|
||||
public RpcType RpcType;
|
||||
|
||||
public RpcLink(int objectId, byte componentIndex, uint rpcHash, RpcType rpcType)
|
||||
{
|
||||
ObjectId = objectId;
|
||||
ComponentIndex = componentIndex;
|
||||
RpcHash = rpcHash;
|
||||
RpcType = rpcType;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user