Module GameTypes :: Class CValue
[frames] | no frames]

Class CValue

PyObjectPlus --+
               |
              CValue
Known Subclasses:

This class is a basis for other classes.

Instance Methods
bool
isA(game_type)
Check if this is a type or a subtype game_type. (Inherited from GameTypes.PyObjectPlus)
    Deprecated
string
getName()
Returns the name of the CValue.
Instance Variables
bool invalid
Test if the object has been freed by the game engine and is no longer valid. (Inherited from GameTypes.PyObjectPlus)
string name
The name of this CValue derived object (read-only).
Method Details

getName()

 

Returns the name of the CValue.

Returns: string

Deprecated: Use the name attribute instead.

Note: in most cases the CValue's subclasses will override this function.