CObjectInstance

What is a CObjectInstance?

CObjectInstance is a format used to store an object instances.

Structure

Size Type Name Description
4 Int32 Position X The X position of this instance
4 Int32 Position Y The Y position of this instance
4 UInt32 Layer Handle The handle of the instance's layer
4 UInt32 Handle The handle of the instance
2 UInt16 Flags Definitions
2 Int16 Instance Value The instance value of the instance
4 UInt32 Parent Type Unknown
4 UInt32 Object Info The handle of the object info this instance is based on
4 UInt32 Parent Handle Unknown

Flag Definitions

Flags

Value Name Description
0x1 Unknown  
0x2 Unknown  
0x4 Locked This object is locked in the editor
0x8 Create Only This instance is just a placeholder for an object that is only created via events