#include <C4ScriptLibraries.h>
Public Member Functions | |
bool | Delete () override |
C4PropListStatic * | IsStatic () override |
const class C4PropListStatic * | IsStatic () const |
void | RefCompileFunc (StdCompiler *pComp, C4ValueNumbers *numbers) const |
StdStrBuf | GetDataString () const |
const char * | GetName () const override |
const C4PropListStatic * | GetParent () const |
C4String * | GetParentKeyName () |
void | Clear () |
virtual void | SetName (const char *NewName=nullptr) |
virtual void | SetOnFire (bool OnFire) |
virtual C4Def const * | GetDef () const |
virtual C4Def * | GetDef () |
virtual C4Object * | GetObject () |
virtual C4Object const * | GetObject () const |
virtual C4Effect * | GetEffect () |
virtual C4PropListNumbered * | GetPropListNumbered () |
virtual class C4MapScriptLayer * | GetMapScriptLayer () |
virtual class C4MapScriptMap * | GetMapScriptMap () |
C4PropList * | GetPrototype () const |
void | RemoveCyclicPrototypes () |
virtual bool | IsNumbered () const |
virtual bool | GetPropertyByS (const C4String *k, C4Value *pResult) const |
virtual C4ValueArray * | GetProperties () const |
virtual void | SetPropertyByS (C4String *k, const C4Value &to) |
virtual void | ResetProperty (C4String *k) |
bool | GetProperty (C4PropertyName k, C4Value *pResult) const |
C4String * | GetPropertyStr (C4PropertyName k) const |
C4ValueArray * | GetPropertyArray (C4PropertyName n) const |
C4AulFunc * | GetFunc (C4PropertyName k) const |
C4AulFunc * | GetFunc (C4String *k) const |
C4AulFunc * | GetFunc (const char *k) const |
C4String * | EnumerateOwnFuncs (C4String *prev=nullptr) const |
C4Value | Call (C4PropertyName k, C4AulParSet *pPars=nullptr, bool fPassErrors=false) |
C4Value | Call (C4String *k, C4AulParSet *pPars=nullptr, bool fPassErrors=false) |
C4Value | Call (const char *k, C4AulParSet *pPars=nullptr, bool fPassErrors=false) |
C4PropertyName | GetPropertyP (C4PropertyName k) const |
int32_t | GetPropertyBool (C4PropertyName n, bool default_val=false) const |
int32_t | GetPropertyInt (C4PropertyName k, int32_t default_val=0) const |
C4PropList * | GetPropertyPropList (C4PropertyName k) const |
bool | HasProperty (C4String *k) const |
void | SetProperty (C4PropertyName k, const C4Value &to) |
void | Freeze () |
void | Thaw () |
void | ThawRecursively () |
bool | IsFrozen () const |
C4PropListStatic * | FreezeAndMakeStaticRecursively (std::vector< C4Value > *prop_lists, const C4PropListStatic *parent=nullptr, C4String *key=nullptr) |
virtual void | Denumerate (C4ValueNumbers *) |
void | CompileFunc (StdCompiler *pComp, C4ValueNumbers *) |
void | AppendDataString (StdStrBuf *out, const char *delim, int depth=3, bool ignore_reference_parent=false) const |
StdStrBuf | ToJSON (int depth=10, bool ignore_reference_parent=false) const |
std::vector< C4String * > | GetSortedLocalProperties (bool add_prototype=true) const |
std::vector< C4String * > | GetSortedLocalProperties (const char *prefix, const C4PropList *ignore_overridden) const |
std::vector< C4String * > | GetUnsortedProperties (const char *prefix, C4PropList *ignore_parent=nullptr) const |
std::vector< C4String * > | GetSortedProperties (const char *prefix, C4PropList *ignore_parent=nullptr) const |
bool | operator== (const C4PropList &b) const |
Iterator | begin () |
Iterator | end () |
Static Public Member Functions | |
static void | InstantiateAllLibraries (C4AulScriptEngine *engine) |
static C4PropList * | New (C4PropList *prototype=nullptr) |
static C4PropListStatic * | NewStatic (C4PropList *prototype, const C4PropListStatic *parent, C4String *key) |
Public Attributes | |
int32_t | Status {1} |
Protected Member Functions | |
C4ScriptLibrary (const char *name) | |
virtual void | CreateFunctions ()=0 |
void | ClearRefs () |
Protected Attributes | |
const C4PropListStatic * | Parent |
C4RefCntPointer< C4String > | ParentKeyName |
Definition at line 21 of file C4ScriptLibraries.h.
|
explicitprotected |
Definition at line 31 of file C4ScriptLibraries.cpp.
|
inherited |
Definition at line 487 of file C4PropList.cpp.
References StdStrBuf::Append(), C4PropList::begin(), C4PropList::end(), C4Value::GetDataString(), C4Set< T >::GetSize(), C4Set< T >::GetSortedListOfElementPointers(), and C4PropList::IsStatic().
Referenced by C4Object::GetDataString().
|
inherited |
Definition at line 995 of file C4PropList.cpp.
References C4PropList::begin(), C4Set< T >::First(), C4PropList::GetPrototype(), C4Set< T >::GetSize(), and C4Set< T >::Next().
Referenced by C4PropList::AppendDataString(), C4PropList::begin(), C4ParticleProperties::Set(), and C4PropList::ToJSON().
|
inlineinherited |
Definition at line 114 of file C4PropList.h.
References C4StringTable::P, and Strings.
Referenced by C4Command::Acquire(), C4Object::ActivateEntrance(), C4Object::ActivateMenu(), C4Object::AssignDeath(), C4Object::AssignRemoval(), C4Command::Call(), C4GameScriptHost::Call(), C4Effect::CallEffect(), C4Command::CallFailed(), C4Effect::CallStart(), C4Effect::CallStop(), C4Effect::CallTimer(), C4FindObjectFunc::Check(), C4Effect::ClearAll(), C4Object::Collect(), C4SortObjectFunc::CompareGetValue(), C4Object::Contact(), C4GameObjects::CrossCheck(), C4Landscape::P::DigMaterial2Objects(), C4Object::DirectComContents(), C4Object::DoBreath(), C4Object::DoCon(), C4Object::DoDamage(), C4Object::DoEnergy(), C4Object::DoMovement(), C4ObjectMenu::DoRefillInternal(), C4Object::DoSelect(), C4Object::Enter(), C4RoundResults::EvaluateGame(), C4RoundResults::EvaluateGoals(), C4Object::ExecLife(), C4Object::ExecuteCommand(), C4ScriptGuiWindowAction::ExecuteCommand(), C4Object::Exit(), C4Command::Fail(), C4Command::GetTryEnter(), C4Def::GetValue(), C4Object::GetValue(), GrabLost(), C4Landscape::Incinerate(), C4Effect::Init(), C4Player::Init(), C4ObjectMenu::IsCloseDenied(), C4Effect::Kill(), C4Object::Lift(), C4Game::NewObject(), ObjectActionJump(), ObjectComGrab(), ObjectComPunch(), ObjectComPut(), ObjectComUnGrab(), C4ObjectMenu::OnSelectionChanged(), C4EditCursor::PerformDuplication(), C4EditCursor::PerformDuplicationLegacy(), C4Landscape::P::PostFreeShape(), C4Object::Promote(), C4Object::Push(), C4Game::SaveData(), C4Object::SetAction(), C4GUI::FrameDecoration::SetByDef(), C4Object::SetCommand(), C4Player::SetObjectCrewStatus(), C4Object::SetOwner(), C4Object::StatusActivate(), C4Command::Transfer(), and C4Object::UnSelect().
|
inherited |
Definition at line 797 of file C4PropList.cpp.
References C4PropList::C4Value, C4AulFunc::Exec(), C4PropList::GetFunc(), and C4PropList::Status.
|
inherited |
Definition at line 805 of file C4PropList.cpp.
References C4PropList::C4Value, C4AulFunc::Exec(), FormatString(), C4AulScriptEngine::GetErrorHandler(), C4PropList::GetFunc(), C4AulErrorHandler::OnError(), s, ScriptEngine, C4PropList::Status, and C4AulError::what().
|
inlineinherited |
Definition at line 70 of file C4PropList.h.
References C4Set< T >::Clear(), and C4Value::Set0().
Referenced by C4Def::Clear(), C4AulScriptEngine::Clear(), C4ExtraScriptHost::Clear(), C4PropListNumbered::ClearNumberedPropLists(), C4ScriptHost::DeleteOwnedPropLists(), and C4Def::~C4Def().
|
inlineprotectedinherited |
Definition at line 160 of file C4PropList.h.
Referenced by C4Object::AssignRemoval().
|
inherited |
Definition at line 366 of file C4PropList.cpp.
References C4Set< T >::Get(), C4Set< T >::Has(), StdCompiler::hasNaming(), StdCompiler::isDeserializer(), mkParAdapt(), C4StringTable::P, P_Prototype, C4Set< T >::Remove(), StdCompiler::SEP_SEP2, StdCompiler::Separator(), Strings, StdCompiler::Value(), and C4Property::Value.
Referenced by C4PropListNumbered::CompileFunc().
|
protectedpure virtual |
Implemented in C4ScriptLibraryCrypto.
|
inlineoverridevirtualinherited |
Reimplemented from C4PropList.
Reimplemented in C4PropListStaticMember.
Definition at line 270 of file C4PropList.h.
|
virtualinherited |
Reimplemented in C4Effect, C4AulScriptEngine, and C4Object.
Definition at line 321 of file C4PropList.cpp.
References C4Value::Denumerate(), C4Set< T >::First(), C4Set< T >::Next(), C4PropList::RemoveCyclicPrototypes(), and C4Property::Value.
Referenced by C4Value::Denumerate(), C4Object::Denumerate(), and C4AulScriptEngine::Denumerate().
|
inlineinherited |
Definition at line 211 of file C4PropList.h.
Referenced by C4PropList::AppendDataString(), C4ParticleProperties::Set(), and C4PropList::ToJSON().
Definition at line 928 of file C4PropList.cpp.
References C4Set< T >::First(), C4Set< T >::Get(), C4Value::getFunction(), C4Property::Key, C4Set< T >::Next(), and C4Property::Value.
|
inlineinherited |
Definition at line 132 of file C4PropList.h.
Referenced by C4PropList::FreezeAndMakeStaticRecursively().
|
inherited |
Definition at line 279 of file C4PropList.cpp.
References C4VPropList(), C4PropList::Freeze(), C4PropList::FreezeAndMakeStaticRecursively(), C4PropListStatic::GetParent(), C4PropListStatic::GetParentKeyName(), C4PropList::GetPropertyByS(), C4Value::getPropList(), C4PropList::GetPrototype(), C4PropList::GetSortedLocalProperties(), C4PropList::IsStatic(), C4PropList::NewStatic(), and C4PropList::Status.
Referenced by C4PropList::FreezeAndMakeStaticRecursively(), and C4AulScriptEngine::Link().
|
inherited |
Definition at line 229 of file C4PropList.cpp.
References StdStrBuf::Append(), StdStrBuf::AppendChar(), C4String::GetData(), C4PropListStatic::GetDataString(), C4PropListStatic::Parent, C4PropListStatic::ParentKeyName, and StdStrBuf::Take().
Referenced by C4PropertyPath::C4PropertyPath(), C4PropListStatic::GetDataString(), C4AulFunc::GetFullName(), C4DefScriptHost::Parse(), and C4AulScriptContext::ReturnDump().
|
virtualinherited |
Reimplemented in C4Def.
Definition at line 648 of file C4PropList.cpp.
References C4PropList::GetDef(), and C4PropList::GetPrototype().
|
virtualinherited |
Reimplemented in C4Def.
Definition at line 654 of file C4PropList.cpp.
References C4PropList::GetDef(), and C4PropList::GetPrototype().
Referenced by C4Value::_getDef(), ConstructionCheck(), C4Game::CreateObject(), C4Game::CreateObjectConstruction(), C4AulExec::DirectExec(), C4GameMessage::Draw(), C4Game::DrawPropListSpecImage(), C4AulExec::FnTranslate(), C4PropList::GetDef(), C4Value::getDef(), C4Object::Init(), C4GameMessage::Init(), C4FindObjectDef::IsImpossible(), C4PropList::operator==(), C4ScriptHost::Parse(), C4AulParse::Parse_Script(), C4Game::PlaceAnimal(), C4Game::PlaceVegetation(), and C4ScriptGuiWindowProperty::Set().
|
virtualinherited |
Reimplemented in C4Effect.
Definition at line 678 of file C4PropList.cpp.
References C4PropList::GetEffect(), and C4PropList::GetPrototype().
Referenced by C4ValueConv< C4Effect * >::_FromC4V(), and C4PropList::GetEffect().
|
inlineinherited |
Definition at line 109 of file C4PropList.h.
References C4StringTable::P, and Strings.
Referenced by C4Effect::AssignCallbackFunctions(), C4PropList::Call(), C4Effect::CallDamage(), C4Value::CompileFunc(), C4ScriptHost::CopyPropList(), C4Effect::DoCall(), C4PropList::GetFunc(), C4AulScriptEngine::GetFunctionNames(), C4Effect::Init(), C4MapScriptHost::InitializeMap(), C4Object::PutAwayUnusedObject(), C4MaterialReaction::ResolveScriptFuncs(), C4MCOverlay::SetField(), and C4AulCompiler::PreparseAstVisitor::visit().
Definition at line 772 of file C4PropList.cpp.
References C4Set< T >::Get(), C4PropList::GetFunc(), C4Value::getFunction(), C4PropList::GetPrototype(), C4Set< T >::Has(), and C4Property::Value.
|
inherited |
Definition at line 786 of file C4PropList.cpp.
References C4StringTable::FindString(), C4PropList::GetFunc(), s, and Strings.
|
virtualinherited |
Reimplemented in C4MapScriptLayer.
Definition at line 660 of file C4PropList.cpp.
References C4PropList::GetMapScriptLayer(), and C4PropList::GetPrototype().
Referenced by C4MapScriptAlgoLayer::C4MapScriptAlgoLayer(), and C4PropList::GetMapScriptLayer().
|
virtualinherited |
Reimplemented in C4MapScriptMap.
Definition at line 666 of file C4PropList.cpp.
References C4PropList::GetMapScriptMap(), and C4PropList::GetPrototype().
Referenced by C4PropList::GetMapScriptMap().
|
overridevirtualinherited |
Reimplemented from C4PropList.
Definition at line 243 of file C4PropList.cpp.
References C4PropList::GetPropertyStr(), P_Name, C4PropListStatic::ParentKeyName, and s.
Referenced by C4MainMenu::ActivateGoals(), C4MainMenu::ActivateRules(), C4Object::AssignRemoval(), C4DefGraphicsAdapt::CompileFunc(), ConstructionCheck(), C4ObjectInfoCore::Default(), C4Command::Fail(), C4GameParameters::GetGameGoalString(), C4ObjectList::GetNameList(), C4Def::LoadDefCore(), C4DefScriptHost::Parse(), and C4EditCursor::UpdateStatusBar().
|
virtualinherited |
Reimplemented in C4Object.
Definition at line 636 of file C4PropList.cpp.
References C4PropList::GetObject(), and C4PropList::GetPrototype().
Referenced by C4Value::_getObj(), C4EditCursor::AddToSelection(), C4PropertyPath::C4PropertyPath(), C4ScriptGuiWindowAction::ClearPointers(), C4GameMessage::Draw(), C4ScriptGuiWindowAction::ExecuteCommand(), FnGetEffectsFor(), C4Value::getObj(), C4PropList::GetObject(), C4GameMessage::Init(), Object(), C4EditCursor::RemoveFromSelection(), and C4ScriptGuiWindowProperty::Set().
|
virtualinherited |
Reimplemented in C4Object.
Definition at line 642 of file C4PropList.cpp.
References C4PropList::GetObject(), and C4PropList::GetPrototype().
|
inlineinherited |
Definition at line 275 of file C4PropList.h.
References C4PropListStatic::Parent.
Referenced by C4ScriptHost::CopyPropList(), C4PropList::FreezeAndMakeStaticRecursively(), and C4Value::ToJSON().
|
inlineinherited |
Definition at line 276 of file C4PropList.h.
References C4PropListStatic::ParentKeyName.
Referenced by C4PropList::FreezeAndMakeStaticRecursively().
|
virtualinherited |
Reimplemented in C4Effect, and C4Object.
Definition at line 883 of file C4PropList.cpp.
References a, C4V_String, C4VString(), C4Set< T >::First(), C4PropList::GetProperties(), C4PropList::GetPrototype(), C4Set< T >::GetSize(), C4Property::Key, and C4Set< T >::Next().
Referenced by C4ScriptGuiWindow::CreateFromPropList(), C4AulScriptEngine::GetFunctionNames(), C4PropList::GetProperties(), C4Object::GetProperties(), C4Effect::GetProperties(), and C4ScriptGuiWindowProperty::Set().
|
inlineinherited |
Definition at line 105 of file C4PropList.h.
References C4PropList::GetPropertyByS(), C4StringTable::P, and Strings.
Referenced by C4MapScriptAlgoFilter::C4MapScriptAlgoFilter(), C4MapScriptAlgoModifier::C4MapScriptAlgoModifier(), C4MapScriptAlgoPolygon::C4MapScriptAlgoPolygon(), C4MapScriptAlgoRndChecker::C4MapScriptAlgoRndChecker(), C4FindObjectProcedure::Check(), C4DefGraphics::Draw(), C4GraphicsOverlay::Draw(), C4Object::DrawFaceImpl(), C4Object::DrawLine(), C4Object::GetAction(), C4Def::GetActionByName(), C4Object::GetDragImage(), C4Object::GetParallaxity(), C4MapScriptAlgo::GetXYProps(), C4GameMessage::Init(), C4Object::IsVisible(), C4ScriptUniform::Push(), C4Object::SetAction(), C4Object::SetActionByName(), and C4GraphicsOverlay::UpdateFacet().
|
inherited |
Definition at line 758 of file C4PropList.cpp.
References C4Set< T >::Get(), C4Value::getArray(), C4PropList::GetPropertyArray(), C4PropList::GetPrototype(), C4Set< T >::Has(), C4StringTable::P, Strings, and C4Property::Value.
Referenced by C4EditCursor::DoContextMenu(), C4PropList::GetPropertyArray(), and C4FoWLight::Update().
|
inherited |
Definition at line 841 of file C4PropList.cpp.
References C4Set< T >::Get(), C4Value::getBool(), C4PropList::GetPropertyBool(), C4PropList::GetPrototype(), C4Set< T >::Has(), C4StringTable::P, Strings, and C4Property::Value.
Referenced by C4Object::ExecLife(), and C4PropList::GetPropertyBool().
Reimplemented in C4Effect, and C4Object.
Definition at line 726 of file C4PropList.cpp.
References C4Set< T >::Get(), C4PropList::GetPropertyByS(), C4PropList::GetPrototype(), C4Set< T >::Has(), C4StringTable::P, P_Prototype, Strings, and C4Property::Value.
Referenced by C4Value::CompileFunc(), C4ScriptGuiWindow::CreateFromPropList(), C4PropList::FreezeAndMakeStaticRecursively(), C4Def::GetActionByName(), C4DefList::GetAllDefs(), C4PropList::GetProperty(), C4PropList::GetPropertyByS(), C4Object::GetPropertyByS(), C4Effect::GetPropertyByS(), C4Game::GetTranslatedString(), C4ValueArraySortPropertycomp::operator()(), C4ScriptGuiWindowProperty::Set(), C4Object::SetActionByName(), C4PropList::ThawRecursively(), C4ScriptHost::UnlinkOwnedFunctions(), C4GraphicsOverlay::UpdateFacet(), and C4AulCompiler::ConstexprEvaluator::visit().
|
inherited |
Definition at line 855 of file C4PropList.cpp.
References C4Set< T >::Get(), C4Value::getInt(), C4PropList::GetPropertyInt(), C4PropList::GetPrototype(), C4Set< T >::Has(), C4StringTable::P, Strings, and C4Property::Value.
Referenced by C4MouseControl::ButtonUpDragScript(), C4MapScriptAlgoEllipse::C4MapScriptAlgoEllipse(), C4MapScriptAlgoLines::C4MapScriptAlgoLines(), C4MapScriptAlgoOffset::C4MapScriptAlgoOffset(), C4MapScriptAlgoPolygon::C4MapScriptAlgoPolygon(), C4MapScriptAlgoRect::C4MapScriptAlgoRect(), C4MapScriptAlgoRndChecker::C4MapScriptAlgoRndChecker(), C4MapScriptAlgoRotate::C4MapScriptAlgoRotate(), C4MapScriptAlgoScale::C4MapScriptAlgoScale(), C4MapScriptAlgoTurbulence::C4MapScriptAlgoTurbulence(), C4Object::Contact(), C4Object::ContactAction(), C4Object::DoBreath(), C4Object::DoEnergy(), C4MouseControl::DragNone(), C4Object::Draw(), C4Object::DrawActionFace(), C4Game::DrawPropListSpecImage(), C4Object::DrawTopFace(), C4Command::Enter(), C4Object::ExecLife(), C4Object::ExecMovement(), C4ValueProviderAction::Execute(), C4Command::Exit(), C4Command::FlightControl(), C4SoundModifierList::Get(), C4SoundModifier::GetBoolProp(), C4SoundModifier::GetFloatProp(), C4Def::GetPlane(), C4PropList::GetPropertyInt(), C4Object::GetSolidMaskPlane(), C4Object::Init(), C4Object::IsVisible(), C4Command::MoveTo(), ObjectActionThrow(), ObjectComDrop(), ObjectComJump(), C4Game::PlaceAnimal(), C4Game::PlaceVegetation(), C4Object::Push(), C4Command::Put(), C4Object::ResetProperty(), C4Object::SetAction(), C4Object::SetDir(), C4Object::SetOCF(), C4Object::SetPhase(), C4Object::SideBounds(), C4Command::Throw(), C4Object::UpdateActionFace(), C4MouseControl::UpdateCursorTarget(), C4GraphicsOverlay::UpdateFacet(), C4Object::UpdateFlipDir(), C4Object::UpdateOCF(), and C4Object::VerticalBounds().
|
inherited |
Definition at line 824 of file C4PropList.cpp.
References C4Set< T >::Get(), C4PropList::GetPropertyP(), C4PropList::GetPrototype(), C4Value::getStr(), C4Set< T >::Has(), C4StringTable::P, P_LAST, Strings, and C4Property::Value.
Referenced by C4Object::ContactAction(), C4GameObjects::CrossCheck(), C4Object::ExecMovement(), C4Object::GetProcedure(), C4PropList::GetPropertyP(), ObjectComDrop(), C4Object::SetAction(), C4Object::SideBounds(), and C4Object::VerticalBounds().
|
inherited |
Definition at line 869 of file C4PropList.cpp.
References C4Set< T >::Get(), C4PropList::GetPropertyPropList(), C4Value::getPropList(), C4PropList::GetPrototype(), C4Set< T >::Has(), C4StringTable::P, Strings, and C4Property::Value.
Referenced by C4MapScriptAlgoLayer::C4MapScriptAlgoLayer(), C4Game::DrawPropListSpecImage(), C4PropList::GetPropertyPropList(), and C4GameMessage::Init().
|
inherited |
Definition at line 744 of file C4PropList.cpp.
References C4Set< T >::Get(), C4PropList::GetPropertyStr(), C4PropList::GetPrototype(), C4Value::getStr(), C4Set< T >::Has(), C4StringTable::P, Strings, and C4Property::Value.
Referenced by C4Game::DrawPropListSpecImage(), C4Object::ExecAction(), C4PropList::GetName(), C4PropListStatic::GetName(), C4PropList::GetPropertyStr(), C4Game::GetTranslatedString(), C4Object::SetAction(), C4Object::SetDir(), C4MouseControl::UpdateCursorTarget(), and C4GraphicsOverlay::UpdateFacet().
|
virtualinherited |
Reimplemented in C4PropListNumbered.
Definition at line 672 of file C4PropList.cpp.
References C4PropList::GetPropListNumbered(), and C4PropList::GetPrototype().
Referenced by C4Effect::CompileFunc(), C4Value::CompileFunc(), C4AulExec::DirectExec(), and C4PropList::GetPropListNumbered().
|
inlineinherited |
Definition at line 85 of file C4PropList.h.
References C4Value::_getPropList().
Referenced by C4PropList::begin(), C4FindObjectDef::Check(), C4PropList::FreezeAndMakeStaticRecursively(), C4PropList::GetDef(), C4PropList::GetEffect(), C4PropList::GetFunc(), C4PropList::GetMapScriptLayer(), C4PropList::GetMapScriptMap(), C4PropList::GetObject(), C4PropList::GetProperties(), C4PropList::GetPropertyArray(), C4PropList::GetPropertyBool(), C4PropList::GetPropertyByS(), C4PropList::GetPropertyInt(), C4PropList::GetPropertyP(), C4PropList::GetPropertyPropList(), C4PropList::GetPropertyStr(), C4PropList::GetPropListNumbered(), C4PropList::GetSortedLocalProperties(), C4PropList::GetUnsortedProperties(), C4GameScriptHost::Load(), C4GameScriptHost::LoadData(), C4EditCursor::PerformDuplicationLegacy(), and C4PropList::SetPropertyByS().
|
inherited |
Definition at line 545 of file C4PropList.cpp.
References C4Set< T >::GetSortedListOfElementPointers(), C4StringTable::P, P_Prototype, and Strings.
Referenced by C4PropList::FreezeAndMakeStaticRecursively(), and C4Game::GetTranslatedString().
|
inherited |
Definition at line 556 of file C4PropList.cpp.
References a, b, C4Set< T >::First(), C4PropList::GetPrototype(), C4PropList::HasProperty(), C4Set< T >::Next(), C4StringTable::P, P_Prototype, and Strings.
|
inherited |
Definition at line 601 of file C4PropList.cpp.
References a, b, and C4PropList::GetUnsortedProperties().
|
inherited |
Definition at line 583 of file C4PropList.cpp.
References C4Set< T >::First(), C4PropList::GetPrototype(), C4Set< T >::Next(), C4StringTable::P, P_Prototype, and Strings.
Referenced by C4PropList::GetSortedProperties(), and C4PropList::ThawRecursively().
|
inlineinherited |
Definition at line 122 of file C4PropList.h.
References C4Set< T >::Has().
Referenced by C4AulScriptEngine::GetFunctionNames(), C4PropList::GetSortedLocalProperties(), C4MapScriptAlgo::GetXYProps(), and C4AulCompiler::ConstantResolver::visit().
|
static |
Definition at line 208 of file C4ScriptLibraries.cpp.
Referenced by InitCoreFunctionMap().
|
inlineinherited |
Definition at line 135 of file C4PropList.h.
Referenced by C4PropList::ThawRecursively().
|
inlinevirtualinherited |
Reimplemented in C4PropListNumbered.
Definition at line 92 of file C4PropList.h.
Referenced by C4Value::Denumerate(), and C4PropList::operator==().
|
inlineinherited |
Definition at line 90 of file C4PropList.h.
References C4PropList::IsStatic().
Referenced by C4PropList::IsStatic().
|
inlineoverridevirtualinherited |
Reimplemented from C4PropList.
Definition at line 271 of file C4PropList.h.
Referenced by C4AulCompiler::ConstantResolver::visit().
|
staticinherited |
Definition at line 40 of file C4PropList.cpp.
Referenced by CompileNewFunc(), FnPlaceVegetation(), C4ScriptGuiWindowProperty::ToC4Value(), C4ScriptGuiWindow::ToC4Value(), and C4AulCompiler::ConstexprEvaluator::visit().
|
staticinherited |
Definition at line 46 of file C4PropList.cpp.
Referenced by C4PropListScen::C4PropListScen(), C4ScriptHost::CopyPropList(), C4PropList::FreezeAndMakeStaticRecursively(), C4ScenarioParameterDefs::RegisterScriptConstants(), and C4AulCompiler::ConstexprEvaluator::visit().
|
inherited |
Definition at line 348 of file C4PropList.cpp.
References b, C4Set< T >::First(), C4PropList::GetDef(), C4Set< T >::GetSize(), C4PropList::IsNumbered(), C4Property::Key, C4Set< T >::Next(), and C4Property::Value.
|
inherited |
Definition at line 216 of file C4PropList.cpp.
References StdCompiler::excCorrupt(), C4String::GetData(), StdCompiler::isDeserializer(), mkParAdapt(), C4PropListStatic::Parent, C4PropListStatic::ParentKeyName, StdCompiler::RCT_ID, C4PropListStatic::RefCompileFunc(), StdCompiler::SEP_PART, StdCompiler::Separator(), and StdCompiler::Value().
Referenced by C4Effect::CompileFunc(), C4Value::CompileFunc(), and C4PropListStatic::RefCompileFunc().
|
inherited |
Definition at line 399 of file C4PropList.cpp.
References C4Value::getPropList(), and C4Value::Set0().
Referenced by C4PropList::Denumerate().
|
virtualinherited |
Reimplemented in C4Effect, and C4Object.
Definition at line 961 of file C4PropList.cpp.
References C4StringTable::P, P_Prototype, C4Set< T >::Remove(), C4Value::Set0(), and Strings.
Referenced by C4Object::ResetProperty(), C4Effect::ResetProperty(), C4PropList::SetName(), and C4ScriptHost::UnlinkOwnedFunctions().
|
virtualinherited |
Reimplemented in C4Object.
Definition at line 625 of file C4PropList.cpp.
References C4VString(), C4StringTable::P, P_Name, C4PropList::ResetProperty(), C4PropList::SetProperty(), and Strings.
Referenced by c4_mapgen_handle_set_map_library(), C4MapScriptHost::InitFunctionMap(), and C4Object::SetName().
|
inlinevirtualinherited |
Reimplemented in C4Object.
Definition at line 73 of file C4PropList.h.
Referenced by C4Effect::ClearAll(), C4Effect::Init(), C4Effect::Kill(), C4Effect::TempReaddUpperEffects(), and C4Effect::TempRemoveUpperEffects().
|
inlineinherited |
Definition at line 124 of file C4PropList.h.
References C4StringTable::P, C4PropList::SetPropertyByS(), and Strings.
Referenced by C4Game::AllocateTranslatedString(), C4Effect::C4Effect(), C4Object::ChangeDef(), C4Object::Init(), C4DefScriptHost::Parse(), C4ScriptHost::Preparse(), C4Object::SetAction(), C4PropList::SetName(), C4ScriptGuiWindow::ToC4Value(), C4ScriptHost::UnLink(), and C4MapScriptLayer::UpdateSurfaceSize().
Reimplemented in C4PropListScen, C4Effect, and C4Object.
Definition at line 940 of file C4PropList.cpp.
References C4Set< T >::Add(), C4Set< T >::Get(), C4Value::getPropList(), C4PropList::GetPrototype(), C4Set< T >::Has(), C4StringTable::P, P_Prototype, C4Value::SetPropList(), Strings, and C4Property::Value.
Referenced by C4AulDefFunc::C4AulDefFunc(), C4AulEngineFunc< RType, ThisType, ParTypes >::C4AulEngineFunc(), C4PropListScen::C4PropListScen(), C4ScriptHost::CopyPropList(), C4PropList::SetProperty(), C4Object::SetPropertyByS(), C4Effect::SetPropertyByS(), C4PropListScen::SetPropertyByS(), C4ScriptGuiWindowProperty::ToC4Value(), C4ScriptGuiWindow::ToC4Value(), C4ScriptHost::UnlinkOwnedFunctions(), C4AulCompiler::PreparseAstVisitor::visit(), C4AulCompiler::ConstexprEvaluator::visit(), and C4AulCompiler::ConstantResolver::visit().
|
inlineinherited |
Definition at line 133 of file C4PropList.h.
Referenced by C4PropList::ThawRecursively(), and C4ScriptHost::UnlinkOwnedFunctions().
|
inherited |
Definition at line 259 of file C4PropList.cpp.
References C4PropList::GetPropertyByS(), C4AulScriptEngine::GetPropList(), C4Value::getPropList(), C4PropList::GetUnsortedProperties(), C4PropList::IsFrozen(), ScriptEngine, C4PropList::Thaw(), and C4PropList::ThawRecursively().
Referenced by C4PropList::ThawRecursively(), and C4AulScriptEngine::UnLink().
|
inherited |
Definition at line 515 of file C4PropList.cpp.
References StdStrBuf::Append(), C4PropList::begin(), C4PropList::C4Value, C4PropList::end(), C4Set< T >::GetSize(), C4Set< T >::GetSortedListOfElementPointers(), C4PropList::IsStatic(), and C4Value::ToJSON().
Referenced by C4Value::ToJSON().
|
protectedinherited |
Definition at line 278 of file C4PropList.h.
Referenced by C4PropListStatic::GetDataString(), C4PropListStatic::GetParent(), and C4PropListStatic::RefCompileFunc().
|
protectedinherited |
Definition at line 279 of file C4PropList.h.
Referenced by C4PropListStatic::GetDataString(), C4PropListStatic::GetName(), C4PropListStatic::GetParentKeyName(), C4Def::Load(), and C4PropListStatic::RefCompileFunc().
|
inherited |
Definition at line 173 of file C4PropList.h.
Referenced by C4Command::Acquire(), C4Command::Activate(), C4GameObjects::Add(), C4ObjectList::Add(), C4FoW::Add(), C4EditCursor::AddToSelection(), C4Object::AssignDeath(), C4ObjectList::AssignInfo(), C4Object::AssignRemoval(), C4Object::At(), C4PropList::Call(), C4Game::CastObjects(), C4ObjectList::CheckCategorySort(), C4ObjectList::CheckSort(), C4Effect::ClearAll(), C4ObjectList::ClearInfo(), C4Object::Collect(), C4ObjectList::CompileFunc(), C4Object::CompileFunc(), C4GameObjects::CrossCheck(), C4ObjectList::DeleteObjects(), C4ObjectList::Denumerate(), C4Landscape::P::DigMaterial2Objects(), C4Object::DirectComContents(), C4Effect::DoDamage(), C4Object::Draw(), C4Game::DrawCrewOverheadText(), C4Object::DrawSelectMark(), C4Object::DrawTopFace(), C4EditCursor::EMMoveObject(), C4Object::Enter(), C4Object::Execute(), C4SoundInstance::Execute(), C4Effect::Execute(), C4ScriptGuiWindowAction::ExecuteCommand(), C4Command::Fail(), C4ObjectList::Find(), C4FindObject::Find(), C4ObjectList::FindOther(), C4GameObjects::FixObjectOrder(), C4PropList::FreezeAndMakeStaticRecursively(), C4Object::GetArea(), C4EditCursor::GetCurrentSelectionPosition(), C4Object::GetEntranceArea(), C4Object::GetInfoString(), C4ObjectList::GetListID(), C4Object::GetMomentum(), C4ObjectList::GetObject(), C4Object::GrabInfo(), GrabLost(), C4GameObjects::GRBroadcast(), C4Effect::Init(), C4GameMessage::Init(), C4Object::IsMoveableBySolidMask(), C4GraphicsOverlay::IsValid(), C4Object::Lift(), C4Player::MakeCrewMember(), C4ObjectList::MassCount(), C4Object::MenuCommand(), C4GameMessageList::New(), C4Game::NewObject(), ObjectComGrab(), ObjectComUnGrab(), C4ObjectList::ObjectCount(), C4EditCursor::PerformDuplicationLegacy(), C4Landscape::P::PostFreeShape(), C4GameObjects::PostLoad(), C4Object::Push(), C4GameObjects::Remove(), C4EditCursor::RemoveFromSelection(), C4AulScriptContext::ReturnDump(), C4GameObjects::SafeObjectPointer(), C4Object::SetAction(), C4Object::SetGraphics(), C4GameObjects::SetOCF(), C4Object::SetOCF(), C4Object::StatusActivate(), C4Object::StatusDeactivate(), C4Effect::TempReaddUpperEffects(), C4Effect::TempRemoveUpperEffects(), C4ObjectList::UpdateFaces(), C4ObjectList::UpdateGraphics(), C4Object::UpdateOCF(), C4Object::UpdatePos(), C4Object::UpdateSolidMask(), C4GameObjects::UpdateSolidMasks(), C4ObjectList::ValidateOwners(), and C4ObjectList::Write().