// sends a custom message to the server public bool SendCustomClient( NodeIndex client, uint customChannel, BitWriter writer, bool sendImmediately, out string error ) { return Send( client, InternalMessage.CustomClient, ChannelIndex.CreateCustom( customChannel ), writer, sendImmediately, out error ); }
// PRIVATE bool SendInternal( NodeIndex client, InternalMessage message, InternalChannel channel, BitWriter writer, bool sendImmediately, out string error ) { return Send( client, message, ChannelIndex.CreateInternal(channel), writer, sendImmediately, out error ); }
// sends a custom message to the server via the default channel public bool SendCustomClient( NodeIndex client, BitWriter writer, bool sendImmediately, out string error ) { return Send( client, InternalMessage.CustomClient, ChannelIndex.CreateInternal( InternalChannel.ClientReliable ), writer, sendImmediately, out error ); }