This repository has been archived on 2025-06-18. You can view files and clone it, but cannot push or open issues or pull requests.
Files
2024-03-24 22:21:16 +01:00

39 lines
961 B
C#

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
}