| 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 | { |
nothing calls this directly
no test coverage detected