fishbait/UnityProject/Assets/FishNet/Runtime/Object/Helping/RpcLink.cs
NIMFER bf403a8f97 Ducktaped together a FishNet version of the Transport
Ducktaped together a FishNet version of the Transport, now I need to edit the LoadBalancer and Server so it connects and actually trades information
2022-08-14 03:55:25 +02:00

39 lines
No EOL
923 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
}