soulfire.inventory_pb2.ContainerSnapshot

class soulfire.inventory_pb2.ContainerSnapshot(container_id: int | None = ..., state_id: int | None = ..., revision: int | None = ..., container_type: str | None = ..., title: soulfire.domain_pb2.TextComponent | collections.abc.Mapping | None = ..., layout: soulfire.bot_pb2.ContainerLayout | collections.abc.Mapping | None = ..., slots: collections.abc.Iterable[InventorySlotSnapshot | collections.abc.Mapping] | None = ..., carried: soulfire.domain_pb2.ItemStackSnapshot | collections.abc.Mapping | None = ..., selected_hotbar_slot: int | None = ..., path_building_block_count: int | None = ..., menu_id: int | None = ...)

Bases: google.protobuf.message.Message

Abstract 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.

CONTAINER_ID_FIELD_NUMBER: ClassVar[int]
STATE_ID_FIELD_NUMBER: ClassVar[int]
REVISION_FIELD_NUMBER: ClassVar[int]
CONTAINER_TYPE_FIELD_NUMBER: ClassVar[int]
TITLE_FIELD_NUMBER: ClassVar[int]
LAYOUT_FIELD_NUMBER: ClassVar[int]
SLOTS_FIELD_NUMBER: ClassVar[int]
CARRIED_FIELD_NUMBER: ClassVar[int]
SELECTED_HOTBAR_SLOT_FIELD_NUMBER: ClassVar[int]
PATH_BUILDING_BLOCK_COUNT_FIELD_NUMBER: ClassVar[int]
MENU_ID_FIELD_NUMBER: ClassVar[int]
container_id: int
state_id: int
revision: int
container_type: str
title: soulfire.domain_pb2.TextComponent
layout: soulfire.bot_pb2.ContainerLayout
slots: google.protobuf.internal.containers.RepeatedCompositeFieldContainer[InventorySlotSnapshot]
carried: soulfire.domain_pb2.ItemStackSnapshot
selected_hotbar_slot: int
path_building_block_count: int
menu_id: int