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