ModObjectState flag group
Used by all model objects to indicate their inner state.
Lua access code
To access the code of the flags below, append the flag group name and flag name to syslib.model.flags,
see an example below.
return syslib.model.flags.ModObjectState.OBJ_CONN_CREATED
Flags
| Name | Bit | Value | Description |
|---|---|---|---|
| OBJ_CONN_CREATED | 41 | 1099511627776 | Obj Conn Created |
| OBJ_DISABLED | 37 | 68719476736 | Obj Disabled |
| OBJ_DISCOVERED | 40 | 549755813888 | Obj Discovered |
| OBJ_DISJOINTED | 1 | 1 | The object does not belong to a model |
| OBJ_DOWNLINK | 36 | 34359738368 | Obj Downlink |
| OBJ_DOWNLINK_CONNECTED | 26 | 33554432 | Obj Downlink Connected |
| OBJ_DYNDATA | 19 | 262144 | Object has new dynamic data |
| OBJ_ENABLED | 34 | 8589934592 | Obj Enabled |
| OBJ_FINAL_CONSTRUCTED | 33 | 4294967296 | The object is completely constructed and functional |
| OBJ_FUNC_ACTIVE | 10 | 512 | Object is functional |
| OBJ_FUNC_DISABLED | 12 | 2048 | Object function has been actively disabled |
| OBJ_FUNC_FAILURE | 11 | 1024 | Object has a functional failure |
| OBJ_HULL | 45 | 17592186044416 | Obj Hull |
| OBJ_LOCAL_UPDATE | 48 | 140737488355328 | Obj Local Update |
| OBJ_REGISTERED | 3 | 4 | Obj Registered |
| OBJ_REMOTE | 2 | 2 | Object is remote (to the Core) |
| OBJ_REMOTE_COMM | 13 | 4096 | The object has remote communications |
| OBJ_REMOTE_COMM_NEUTRAL | 16 | 32768 | Object is neutral about remote communications |
| OBJ_REMOTE_COMM_WARNING | 15 | 16384 | Object is in remote communication warning state |
| OBJ_REMOTE_DYN_PROP | 14 | 8192 | The object has remote dynamic properties |
| OBJ_UNDELETABLE | 46 | 35184372088832 | The Object can not be deleted |
| OBJ_UPLINK | 35 | 17179869184 | Obj Uplink |
| OBJ_UPLINK_CONNECTED | 25 | 16777216 | Obj Uplink Connected |