public NetworkP2PHandoverInstance[] ReadNetworkP2PHandoverInstances()
        {
            uint length = _buffer.ReadVariableUInt32();
            var  values = new NetworkP2PHandoverInstance[length];

            for (int i = 0; i < length; ++i)
            {
                values[i] = ReadNetworkP2PHandoverInstance();
            }

            return(values);
        }
 public bool Equals(NetworkP2PHandoverInstance other)
 {
     return(other != null &&
            position == other.position &&
            rotation == other.rotation &&
            relativeTo == other.relativeTo &&
            remoteViewID == other.remoteViewID &&
            group == other.group &&
            proxyPrefab == other.proxyPrefab &&
            ownerPrefab == other.ownerPrefab &&
            serverPrefab == other.serverPrefab &&
            Utility.IsArrayEqual(_initialData, other._initialData) &&
            Utility.IsArrayEqual(_handoverData, other._handoverData));
 }
 public void WriteNetworkP2PHandoverInstance(NetworkP2PHandoverInstance value)
 {
     value._Write(_buffer);
 }