| GameLiftManagerGameControllerSentFloats Method |
Pass in the float value(s) from the relay server to a function of the user's choice (delegate function). The function that uses these float(s) is determined
by the user by setting the ASL Object of choosing's m_FloatCallback function to their own personal function. This function is triggered by a packet received from the relay server.
Remember, though the user can pass in a float array, the max size of this array is 4 because we send it via a Vector4 due to GameSpark constraints
Namespace:
ASL
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public void SentFloats(
DataReceivedEventArgs _packet
)
Public Sub SentFloats (
_packet As DataReceivedEventArgs
)
public:
void SentFloats(
DataReceivedEventArgs^ _packet
)
member SentFloats :
_packet : DataReceivedEventArgs -> unit
Parameters
- _packet
- Type: DataReceivedEventArgs
The packet containing the id of the ASL Object and the float value to be passed into the user defined m_FloatCallback function
See Also