Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
SerializedScriptTypes.h File Reference
Include dependency graph for SerializedScriptTypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SPrototypeSerialization
 

Enumerations

enum  {
  SCRIPT_TYPE_VOID = 0 , SCRIPT_TYPE_NULL = 1 , SCRIPT_TYPE_ARRAY = 2 , SCRIPT_TYPE_OBJECT = 3 ,
  SCRIPT_TYPE_STRING = 4 , SCRIPT_TYPE_INT = 5 , SCRIPT_TYPE_DOUBLE = 6 , SCRIPT_TYPE_BOOLEAN = 7 ,
  SCRIPT_TYPE_BACKREF = 8 , SCRIPT_TYPE_TYPED_ARRAY = 9 , SCRIPT_TYPE_ARRAY_BUFFER = 10 , SCRIPT_TYPE_OBJECT_PROTOTYPE = 11 ,
  SCRIPT_TYPE_OBJECT_NUMBER = 12 , SCRIPT_TYPE_OBJECT_STRING = 13 , SCRIPT_TYPE_OBJECT_BOOLEAN = 14 , SCRIPT_TYPE_OBJECT_MAP = 15 ,
  SCRIPT_TYPE_OBJECT_SET = 16
}
 
enum  {
  SCRIPT_TYPED_ARRAY_INT8 = 0 , SCRIPT_TYPED_ARRAY_UINT8 = 1 , SCRIPT_TYPED_ARRAY_INT16 = 2 , SCRIPT_TYPED_ARRAY_UINT16 = 3 ,
  SCRIPT_TYPED_ARRAY_INT32 = 4 , SCRIPT_TYPED_ARRAY_UINT32 = 5 , SCRIPT_TYPED_ARRAY_FLOAT32 = 6 , SCRIPT_TYPED_ARRAY_FLOAT64 = 7 ,
  SCRIPT_TYPED_ARRAY_UINT8_CLAMPED = 8
}
 

Functions

SPrototypeSerialization GetPrototypeInfo (const ScriptRequest &rq, JS::HandleObject prototype)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
SCRIPT_TYPE_VOID 
SCRIPT_TYPE_NULL 
SCRIPT_TYPE_ARRAY 
SCRIPT_TYPE_OBJECT 
SCRIPT_TYPE_STRING 
SCRIPT_TYPE_INT 
SCRIPT_TYPE_DOUBLE 
SCRIPT_TYPE_BOOLEAN 
SCRIPT_TYPE_BACKREF 
SCRIPT_TYPE_TYPED_ARRAY 
SCRIPT_TYPE_ARRAY_BUFFER 
SCRIPT_TYPE_OBJECT_PROTOTYPE 
SCRIPT_TYPE_OBJECT_NUMBER 
SCRIPT_TYPE_OBJECT_STRING 
SCRIPT_TYPE_OBJECT_BOOLEAN 
SCRIPT_TYPE_OBJECT_MAP 
SCRIPT_TYPE_OBJECT_SET 

◆ anonymous enum

anonymous enum
Enumerator
SCRIPT_TYPED_ARRAY_INT8 
SCRIPT_TYPED_ARRAY_UINT8 
SCRIPT_TYPED_ARRAY_INT16 
SCRIPT_TYPED_ARRAY_UINT16 
SCRIPT_TYPED_ARRAY_INT32 
SCRIPT_TYPED_ARRAY_UINT32 
SCRIPT_TYPED_ARRAY_FLOAT32 
SCRIPT_TYPED_ARRAY_FLOAT64 
SCRIPT_TYPED_ARRAY_UINT8_CLAMPED 

Function Documentation

◆ GetPrototypeInfo()

SPrototypeSerialization GetPrototypeInfo ( const ScriptRequest rq,
JS::HandleObject  prototype 
)
inline