Gets a copy of a remote client's integer variable by name. This variable is set by the remote client using TAgkNetwork.SetLocalInteger.
function GetInteger(const Name: String): Integer;
Parameters |
Description |
const Name: String |
The name of the variable. |
The value of the variable.
If the variable was set as a resetting variable it will return to 0 once read. This does not affect other clients ability to read the original value. They will each reset their own copy.
If the specified client has not set a variable of the given name the value 0 is returned.
Copyright (c) 2012. All rights reserved.
|