AccessItem | OWNERSHIP ownership, ITEMS_TYPE type, ITEMS name | List<Item> | Returns items which fit the filter. |
RemoveItem | OWNERSHIP ownership, List<Item> items | boolean | Removes the item from the ownership group if present. |
UpsertItem | OWNERSHIP ownership, List<Item> items | boolean | Add the item to a slot if already filled else added to a new slot. |
Consume | ITEMS name = ITEMS.NULL | boolean | Removes an entry within a slot of a certain item if present. |
Drop | ITEMS name = ITEMS.NULL | boolean | Drops the item if present. Returns false if not. |
HasItem | OWNERSHIP ownership, ITEMS name = ITEMS.NULL, ITEMS_TYPE type = ITEMS_TYPE.NULL, ITEMS_SIZE size = ITEMS_SIZE.NULL | boolean | Returns true if an item fits the filter. |
PickUp | Item item | boolean | Adds the item to a slot if there is space. Returns false if not. |
PickUp | GameObject item | boolean | Same as the other pick up but tries to find item from GameObject. |
Equip | ITEMS name = ITEMS.NULL, ITEMS_TYPE type = ITEMS_TYPE.NULL, ITEMS_SIZE size = ITEMS_SIZE.NULL | boolean | Moves item to using slot, if already filled will move items between slots. |
AddBuilding | BUILDING_TYPE type, IBuildingService building | boolean | Adds an ownership relationship to a building.One building per a building type. |
GetBuilding | BUILDING_TYPE type | IBuildingService | Access a building with an ownership relationship. |
AddRoom | IRoomService room, OWNERSHIP ownership | boolean | Adds a room ownership relationship. |
GetRooms | N/A | boolean? | Access all rooms which have an ownership relationship. |