fishbait/UnityProject/Assets/FishNet/Runtime/Object/NetworkObject.RpcLinks.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

34 lines
825 B
C#

using System.Collections.Generic;
using UnityEngine;
namespace FishNet.Object
{
public sealed partial class NetworkObject : MonoBehaviour
{
#region Private.
/// <summary>
/// RpcLinks being used within this NetworkObject.
/// </summary>
private List<ushort> _rpcLinkIndexes;
#endregion
/// <summary>
/// Sets rpcLinkIndexes to values.
/// </summary>
internal void SetRpcLinkIndexes(List<ushort> values)
{
_rpcLinkIndexes = values;
}
/// <summary>
/// Removes used link indexes from ClientObjects.
/// </summary>
internal void RemoveClientRpcLinkIndexes()
{
NetworkManager.ClientManager.Objects.RemoveLinkIndexes(_rpcLinkIndexes);
}
}
}