Simulator::cScenarioClass class

Public static functions

static auto GetObjectType(const ResourceKey& key) -> ScenarioObjectType

Public functions

auto IsConsumible() -> bool
Returns true if this class is the kind of object that is consumed when the player approaches it.

Public variables

cScenarioAsset mAsset
bool mbIsDeepEditEnabled
ScenarioGfxOverrideType mGfxOverrideType
cScenarioAsset mGameplayObjectGfxOverrideAsset
ScenarioGfxOverrideType mGfxOverideTypeSecondary
cScenarioAsset mGameplayObjectGfxOverrideAsset_Secondary
eastl::fixed_vector<cScenarioClassAct, 8> mActs
cScenarioString mCastName
ResourceKey mAssetKeyDEPRECATED
int field_27D0
uint32_t mModelTypeDEPRECATED
uint64_t mServerIDDEPRECATED

Function documentation

bool Simulator::cScenarioClass::IsConsumible()

Returns true if this class is the kind of object that is consumed when the player approaches it.

By default, this returns true on teleporters, jumppads, spead/damage/armor boosts and med/energy kits.