GameShield V5 SDK Programming Guide: gs::TGSAction Class Reference

GameShield v5 SDK

gs::TGSAction Class Reference

GS5 Action Object. More...

Inheritance diagram for gs::TGSAction:
Collaboration diagram for gs::TGSAction:

Public Member Functions

Properties
const char * name ()
 Gets action name.
 
action_id_t id ()
 Gets action unique id.
 
const char * description ()
 Gets action description.
 
const char * whatToDo ()
 Gets action what-to-do string (ref: What to do action string)
 
Inspect action's parameters
int paramCount ()
 Gets the total number of action parameters.
 
TGSVariablegetParamByIndex (int index)
 Gets action parameter by its index. More...
 
TGSVariablegetParamByName (const char *name)
 Gets action parameter by its name. More...
 
- Public Member Functions inherited from gs::TGSObject
gs_handle_t handle () const
 Gets GS5 object handle.
 

Detailed Description

GS5 Action Object.

Member Function Documentation

TGSVariable * gs::TGSAction::getParamByIndex ( int  index)

Gets action parameter by its index.

Parameters
indexthe index of parameter, range [0, paramCount()-1 ]
Returns
a TGSVariable instance on success, NULL if paramer not found
TGSVariable * gs::TGSAction::getParamByName ( const char *  name)

Gets action parameter by its name.

Parameters
namethe string name of a action parameter.
Returns
a TGSVariable instance on success, NULL if paramer not found
Generated on Mon Feb 3 2014 13:15:29 for GameShield V5 SDK Programming Guide by   doxygen 1.8.5