MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / SetSettings

Method SetSettings

TombEngine/Scripting/Internal/TEN/Flow/FlowHandler.cpp:435–443  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

433}
434
435void FlowHandler::SetSettings(Settings const& src)
436{
437 _settings = src;
438
439 // Copy weapon, ammo and consumable settings to in-game structs.
440 InitializeWeaponInfo(_settings);
441 InitializeAmmo(_settings);
442 InitializeConsumables(_settings);
443}
444
445void FlowHandler::AddLevel(Level const& level)
446{

Callers

nothing calls this directly

Calls 3

InitializeWeaponInfoFunction · 0.85
InitializeAmmoFunction · 0.85
InitializeConsumablesFunction · 0.85

Tested by

no test coverage detected