MCPcopy Create free account
hub / github.com/EasyRPG/Player / GetItem

Method GetItem

src/window_item.cpp:34–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34const lcf::rpg::Item* Window_Item::GetItem() const {
35 if (index < 0) {
36 return nullptr;
37 }
38
39 return lcf::ReaderUtil::GetElement(lcf::Data::items, data[index]);
40}
41
42bool Window_Item::CheckInclude(int item_id) {
43 if (data.size() == 0 && item_id == 0) {

Callers 10

vUpdateMethod · 0.45
TransitionOutMethod · 0.45
AddStateMethod · 0.45
EnemySelectedMethod · 0.45
AllySelectedMethod · 0.45
ItemSelectedMethod · 0.45
UpdateSellSelectionMethod · 0.45
UpdateNumberInputMethod · 0.45
UpdateStatusWindowMethod · 0.45
UpdateItemSelectionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected