Torque2D Reference
Loading...
Searching...
No Matches
AbstractClassRep::Field Struct Reference

#include <consoleObject.h>

Public Attributes

const char * pFieldname
 Name of the field.
const char * pGroupname
const char * pFieldDocs
 This is filled when type is StartField or EndField.
bool groupExpand
 Flag to track expanded/not state of this group in the editor.
U32 type
 A type ID.
dsize_t offset
 Memory offset from beginning of class for this field.
S32 elementCount
 Number of elements, if this is an array.
EnumTabletable
 If this is an enum, this points to the table defining it.
BitSet32 flag
 Stores various flags.
ConsoleTypeValidatorvalidator
 Validator, if any.
SetDataNotify setDataFn
 Set data notify Fn.
GetDataNotify getDataFn
 Get data notify Fn.
WriteDataNotify writeDataFn
 Function to determine whether data should be written or not.

Member Data Documentation

◆ elementCount

S32 elementCount

Number of elements, if this is an array.

◆ flag

BitSet32 flag

Stores various flags.

◆ getDataFn

GetDataNotify getDataFn

Get data notify Fn.

◆ groupExpand

bool groupExpand

Flag to track expanded/not state of this group in the editor.

◆ offset

dsize_t offset

Memory offset from beginning of class for this field.

◆ pFieldDocs

const char* pFieldDocs

This is filled when type is StartField or EndField.

Documentation about this field; see consoleDoc.cc.

◆ pFieldname

const char* pFieldname

Name of the field.

◆ pGroupname

const char* pGroupname

Optionally filled field containing the group name.

◆ setDataFn

SetDataNotify setDataFn

Set data notify Fn.

◆ table

EnumTable* table

If this is an enum, this points to the table defining it.

◆ type

U32 type

A type ID.

See also
ACRFieldTypes

◆ validator

Validator, if any.

◆ writeDataFn

WriteDataNotify writeDataFn

Function to determine whether data should be written or not.


The documentation for this struct was generated from the following file: