Event Admin Port, indicating the admin port is sending you information. More...
#include <script_event_types.hpp>
Public Member Functions | |
ScriptEventAdminPort (const char *json) | |
SQInteger | GetObject (HSQUIRRELVM vm) |
Get the information that was sent to you back as Squirrel object. | |
Static Public Member Functions | |
static ScriptEventAdminPort * | Convert (ScriptEvent *instance) |
Convert an ScriptEvent to the real instance. | |
Private Member Functions | |
char * | ReadTable (HSQUIRRELVM vm, char *p) |
Read a table from a JSON string. | |
char * | ReadValue (HSQUIRRELVM vm, char *p) |
Read a value from a JSON string. | |
char * | ReadString (HSQUIRRELVM vm, char *p) |
Read a string from a JSON string. | |
Private Attributes | |
char * | json |
The JSON string. |
Event Admin Port, indicating the admin port is sending you information.
game
Definition at line 837 of file script_event_types.hpp.
ScriptEventAdminPort::ScriptEventAdminPort | ( | const char * | json | ) | [inline] |
json | The JSON string which got sent. |
Definition at line 842 of file script_event_types.hpp.
static ScriptEventAdminPort* ScriptEventAdminPort::Convert | ( | ScriptEvent * | instance | ) | [inline, static] |
Convert an ScriptEvent to the real instance.
instance | The instance to convert. |
Definition at line 857 of file script_event_types.hpp.
char * ScriptEventAdminPort::ReadString | ( | HSQUIRRELVM | vm, | |
char * | p | |||
) | [private] |
Read a string from a JSON string.
vm | The VM used. | |
p | The (part of the) JSON string reading. |
Definition at line 139 of file script_event_types.cpp.
Referenced by ReadTable(), and ReadValue().
char * ScriptEventAdminPort::ReadTable | ( | HSQUIRRELVM | vm, | |
char * | p | |||
) | [private] |
Read a table from a JSON string.
vm | The VM used. | |
p | The (part of the) JSON string reading. |
Definition at line 170 of file script_event_types.cpp.
References ReadString(), and ReadValue().
Referenced by GetObject(), and ReadValue().
char * ScriptEventAdminPort::ReadValue | ( | HSQUIRRELVM | vm, | |
char * | p | |||
) | [private] |
Read a value from a JSON string.
vm | The VM used. | |
p | The (part of the) JSON string reading. |
Definition at line 213 of file script_event_types.cpp.
References ReadString(), and ReadTable().
Referenced by ReadTable().