soulfire.recipe_pb2.VillagerTradeOfferSnapshot¶
- class soulfire.recipe_pb2.VillagerTradeOfferSnapshot(offer_index: int | None = ..., first_cost: soulfire.domain_pb2.ItemStackSnapshot | collections.abc.Mapping | None = ..., second_cost: soulfire.domain_pb2.ItemStackSnapshot | collections.abc.Mapping | None = ..., result: soulfire.domain_pb2.ItemStackSnapshot | collections.abc.Mapping | None = ..., uses: int | None = ..., maximum_uses: int | None = ..., out_of_stock: bool = ..., rewards_experience: bool = ..., villager_experience: int | None = ..., demand: int | None = ..., special_price: int | None = ..., price_multiplier: float | None = ...)¶
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.
- OFFER_INDEX_FIELD_NUMBER: ClassVar[int]¶
- FIRST_COST_FIELD_NUMBER: ClassVar[int]¶
- SECOND_COST_FIELD_NUMBER: ClassVar[int]¶
- RESULT_FIELD_NUMBER: ClassVar[int]¶
- USES_FIELD_NUMBER: ClassVar[int]¶
- MAXIMUM_USES_FIELD_NUMBER: ClassVar[int]¶
- OUT_OF_STOCK_FIELD_NUMBER: ClassVar[int]¶
- REWARDS_EXPERIENCE_FIELD_NUMBER: ClassVar[int]¶
- VILLAGER_EXPERIENCE_FIELD_NUMBER: ClassVar[int]¶
- DEMAND_FIELD_NUMBER: ClassVar[int]¶
- SPECIAL_PRICE_FIELD_NUMBER: ClassVar[int]¶
- PRICE_MULTIPLIER_FIELD_NUMBER: ClassVar[int]¶
- offer_index: int¶
- first_cost: soulfire.domain_pb2.ItemStackSnapshot¶
- second_cost: soulfire.domain_pb2.ItemStackSnapshot¶
- uses: int¶
- maximum_uses: int¶
- out_of_stock: bool¶
- rewards_experience: bool¶
- villager_experience: int¶
- demand: int¶
- special_price: int¶
- price_multiplier: float¶