MCPcopy Create free account
hub / github.com/crossuo/crossuo / SetCharacterBackpackStyle

Method SetCharacterBackpackStyle

src/Managers/ConfigManager.cpp:941–953  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

939}
940
941void CConfigManager::SetCharacterBackpackStyle(uint8_t val)
942{
943 m_CharacterBackpackStyle = val;
944 if (this == &g_ConfigManager && g_World != nullptr)
945 {
946 g_GumpManager.UpdateContent(g_PlayerSerial, 0, GT_PAPERDOLL);
947 CGameItem *backpack = g_Player->FindLayer(OL_BACKPACK);
948 if (backpack != nullptr)
949 {
950 g_GumpManager.UpdateContent(backpack->Serial, 0, GT_CONTAINER);
951 }
952 }
953}
954
955uint16_t CConfigManager::GetColorByNotoriety(uint8_t notoriety)
956{

Callers 2

GumpOptions.cppFile · 0.80
ApplyPageChangesMethod · 0.80

Calls 2

FindLayerMethod · 0.80
UpdateContentMethod · 0.45

Tested by

no test coverage detected