MCPcopy Create free account
hub / github.com/Norbyte/ositools / CharacterGetStat

Function CharacterGetStat

OsiInterface/Functions/CharacterFunctions.cpp:51–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49
50 template <OsiPropertyMapType Type>
51 bool CharacterGetStat(OsiArgumentDesc & args)
52 {
53 auto character = FindCharacterByNameGuid(args[0].String);
54 if (character == nullptr || character->Stats == nullptr) return false;
55
56 return OsirisPropertyMapGet(gCharacterStatsPropertyMap, character->Stats, args, 1, Type);
57 }
58
59 void CharacterSetStatInt(OsiArgumentDesc const & args)
60 {

Callers

nothing calls this directly

Calls 2

FindCharacterByNameGuidFunction · 0.85
OsirisPropertyMapGetFunction · 0.85

Tested by

no test coverage detected