CConcreteObject

Superclass:
Declared In:

Introduction

This is an object that can be addressed from a script (it's a CScriptableObject) but also contains the basic framework needed for an object that can be saved to a project and be read again. Objects of this type have a script and save it to XML, and support creating user-defined properties on them that also get saved.



Member Data

mBreakpointLines
mDocument
mHandlerNotes
mIDForScripts
mObjectDescriptorIDForScripts
mObjectDescriptorSeedForScripts
mObjectDescriptorValueForScripts
mScript
mScriptObject
mSeedForScripts
mUserProperties
mValueForScripts

mBreakpointLines


protected

std::vector<size_t> mBreakpointLines;
Discussion

< User-defined properties that we persist to the stack & which scripters can access.


mDocument


protected

CDocument * mDocument;
Discussion

< A LEOValue so scripts can reference us (see mIDForScripts).


mHandlerNotes


protected

std::vector<CAddHandlerListEntry> mHandlerNotes;
Discussion

< Document that contains us.


mIDForScripts


Discussion

< Compiled script, lazily created/recreated on changes.


mObjectDescriptorIDForScripts


Discussion

< A LEOValue so scripts can reference us (see mIDForScripts).


mObjectDescriptorSeedForScripts


Discussion

< The ID Leonie uses to refer to this object. This is *not* the ID as Hammer understands it.


mObjectDescriptorValueForScripts


Discussion

< The seed value to go with mObjectDescriptorIDForScripts.


mScript


protected

std::string mScript;
Discussion

< Name of this object for referring to it from scripts.


mScriptObject


protected

struct LEOScript * mScriptObject;
Discussion

< Lines on which the user set breakpoints using the UI that should be applied to the script when compiled.


mSeedForScripts


Discussion

< The ID Leonie uses to refer to this object. This is *not* the ID as Hammer understands it.


mUserProperties


protected

CMap<std::string> mUserProperties;
Discussion

< Uncompiled text of this object's script.


mValueForScripts


protected

struct LEOValueObject mValueForScripts;
Discussion

< The seed value to go with mIDForScripts.