getVar('npc') -> getNPCType()

This commit is contained in:
2020-05-09 23:18:47 +09:00
parent d083dc36b2
commit 6e19722742
21 changed files with 51 additions and 47 deletions
+4
View File
@@ -158,6 +158,10 @@ class General implements iAction{
return $this->itemObjs[$itemKey];
}
function getNPCType():int{
return $this->raw['npc'];
}
/** @return BaseItem[] */
function getItems():array{
return $this->itemObjs;