/// <summary> /// Shorthand to send a default instance of this protocol's data to everyone. Requires `SetClientDefaults()` /// to be implemented. /// </summary> public static void QuickSyncToServerAndClients <T>() where T : PacketProtocol //, new() { PacketProtocol.QuickSendToServerBase <T>(true); }
//////////////// /// <summary> /// Shorthand to send a default instance of this protocol's data to the server. Requires `SetClientDefaults()` /// to be implemented. /// </summary> public static void QuickSendToServer <T>() where T : PacketProtocol //, new() { PacketProtocol.QuickSendToServerBase <T>(false); }