using FishNet.Object.Helping; namespace FishNet.Object { #region Types. /// /// Lookup data for a RPC Link. /// internal struct RpcLink { /// /// ObjectId for link. /// public int ObjectId; /// /// NetworkBehaviour component index on ObjectId. /// public byte ComponentIndex; /// /// RpcHash for link. /// public uint RpcHash; /// /// Type of Rpc link is for. /// public RpcType RpcType; public RpcLink(int objectId, byte componentIndex, uint rpcHash, RpcType rpcType) { ObjectId = objectId; ComponentIndex = componentIndex; RpcHash = rpcHash; RpcType = rpcType; } } #endregion }