Add StickGame Assets

This commit is contained in:
Dzejkobik007
2024-03-24 22:21:16 +01:00
parent 5a5812c0c7
commit 6c8b523d1f
6643 changed files with 596260 additions and 0 deletions

View File

@@ -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
}