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

Function ItemSetIdentified

OsiInterface/Functions/ItemFunctions.cpp:82–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80 }
81
82 void ItemSetIdentified(OsiArgumentDesc const & args)
83 {
84 auto itemGuid = args[0].String;
85 auto item = FindItemByNameGuid(itemGuid);
86 if (item == nullptr) {
87 OsiError("Item '" << itemGuid << "' does not exist!");
88 return;
89 }
90
91 item->StatsDynamic->IsIdentified = args[1].Int32 ? 1 : 0;
92 }
93
94 CDivinityStats_Equipment_Attributes * GetItemDynamicStat(esv::Item * item, uint32_t index)
95 {

Callers

nothing calls this directly

Calls 1

FindItemByNameGuidFunction · 0.85

Tested by

no test coverage detected