1. Immediately returns the value of the global variable.
直接返回全局变量内的赋值
double GlobalVariableGet(
string name // Global variable name
);
2. Returns true or false depending on the success of the function run. If successful, the global variable of the client terminal is placed in a variable passed by reference in the second parameter.
如果全局变量被按照第二个参数成功取值,则按照布林方式返回值
bool GlobalVariableGet(
string name, // Global variable name
double& double_var // This variable will contain the value of the global variable
);