Message.AddSerializables Method
Namespace: Riptide
Assembly: RiptideNetworking.dll
AddSerializables<T>(T[], bool)
Adds an array of serializables to the message.
public Message AddSerializables<T>(T[] array, bool includeLength = true) where T : IMessageSerializable
Parameters
T[] | array |
The array to add. |
bool | includeLength |
Whether or not to include the length of the array in the message. |
Returns
Message | The message that the array was added to. |
Type Parameters
T |