Message.GetUShorts Method
Namespace: Riptide
Assembly: RiptideNetworking.dll
Overloads
GetUShorts() | Retrieves a ushort array from the message. |
GetUShorts(int) | Retrieves a ushort array from the message. |
GetUShorts(ushort[], int) | Populates a ushort array with ushorts retrieved from the message. |
GetUShorts(int, ushort[], int) | Populates a ushort array with ushorts retrieved from the message. |
GetUShorts()
Retrieves a ushort array from the message.
public ushort[] GetUShorts()
Returns
ushort[] | The array that was retrieved. |
GetUShorts(int)
Retrieves a ushort array from the message.
public ushort[] GetUShorts(int amount)
Parameters
int | amount |
The amount of ushorts to retrieve. |
Returns
ushort[] | The array that was retrieved. |
GetUShorts(ushort[], int)
Populates a ushort array with ushorts retrieved from the message.
public void GetUShorts(ushort[] intoArray, int startIndex = 0)
Parameters
ushort[] | intoArray |
The array to populate. |
int | startIndex |
The position at which to start populating the array. |
GetUShorts(int, ushort[], int)
Populates a ushort array with ushorts retrieved from the message.
public void GetUShorts(int amount, ushort[] intoArray, int startIndex = 0)
Parameters
int | amount |
The amount of ushorts to retrieve. |
ushort[] | intoArray |
The array to populate. |
int | startIndex |
The position at which to start populating the array. |