MCPcopy Create free account
hub / github.com/Norbyte/bg3se / Update

Method Update

BG3Extender/GameDefinitions/Stats/Stats.cpp:522–532  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

520RPGStats::VMTMappings RPGStats::sVMTMappings;
521
522void RPGStats::VMTMappings::Update()
523{
524 if (VMTsMapped) return;
525 auto stats = GetStaticSymbols().GetStats();
526
527 if (stats->Objects.Values.Size() > 0) {
528 ObjectVMT = stats->Objects.Values[0]->VMT;
529 }
530
531 VMTsMapped = true;
532}
533
534Functors* RPGStats::ConstructFunctorSet(FixedString const& propertyName)
535{

Callers 1

ConstructFunctorSetMethod · 0.45

Calls 2

GetStatsMethod · 0.45
SizeMethod · 0.45

Tested by

no test coverage detected