soulfire.inventory_pb2.InventorySlotSnapshot¶
- class soulfire.inventory_pb2.InventorySlotSnapshot(slot: int | None = ..., area: InventoryArea | str | None = ..., item: soulfire.domain_pb2.ItemStackSnapshot | collections.abc.Mapping | None = ..., may_place: bool = ..., may_pickup: bool = ...)¶
Bases:
google.protobuf.message.MessageAbstract base class for protocol messages.
Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.
- SLOT_FIELD_NUMBER: ClassVar[int]¶
- AREA_FIELD_NUMBER: ClassVar[int]¶
- ITEM_FIELD_NUMBER: ClassVar[int]¶
- MAY_PLACE_FIELD_NUMBER: ClassVar[int]¶
- MAY_PICKUP_FIELD_NUMBER: ClassVar[int]¶
- slot: int¶
- area: InventoryArea¶
- may_place: bool¶
- may_pickup: bool¶