Message.GetSerializables Method
Namespace: Riptide
Assembly: RiptideNetworking.dll
Overloads
GetSerializables<T>() | Retrieves an array of serializables from the message. |
GetSerializables<T>(int) | Retrieves an array of serializables from the message. |
GetSerializables<T>(T[], int) | Populates an array of serializables retrieved from the message. |
GetSerializables<T>(int, T[], int) | Populates an array of serializables retrieved from the message. |
GetSerializables<T>()
Retrieves an array of serializables from the message.
public T[] GetSerializables<T>() where T : IMessageSerializable, new()
Returns
T[] | The array that was retrieved. |
Type Parameters
T |
GetSerializables<T>(int)
Retrieves an array of serializables from the message.
public T[] GetSerializables<T>(int amount) where T : IMessageSerializable, new()
Parameters
int | amount |
The amount of serializables to retrieve. |
Returns
T[] | The array that was retrieved. |
Type Parameters
T |
GetSerializables<T>(T[], int)
Populates an array of serializables retrieved from the message.
public void GetSerializables<T>(T[] intoArray, int startIndex = 0) where T : IMessageSerializable, new()
Parameters
T[] | intoArray |
The array to populate. |
int | startIndex |
The position at which to start populating the array. |
Type Parameters
T |
GetSerializables<T>(int, T[], int)
Populates an array of serializables retrieved from the message.
public void GetSerializables<T>(int amount, T[] intoArray, int startIndex = 0) where T : IMessageSerializable, new()
Parameters
int | amount |
The amount of serializables to retrieve. |
T[] | intoArray |
The array to populate. |
int | startIndex |
The position at which to start populating the array. |
Type Parameters
T |