外观
协议模型:C · 6
选择模型查看构造参数和字段,代码块保留完整模型名称。... 表示可省略的字段,省略时使用该类型的零值。
CraftingNeteaseUnknownDataSubEntry_CraftLoomRecipeStackRequestActionCraftNonImplementedStackRequestActionCraftRecipeOptionalStackRequestActionCraftRecipeStackRequestActionCraftResultsDeprecatedStackRequestActionCreatePhotoCreateStackRequestActionCreativeContentCreativeGroupCreativeItemCreativeItem_CurrentStructureFeatureCustom
CraftingNeteaseUnknownDataSubEntry_
继承 Struct。
python
class CraftingNeteaseUnknownDataSubEntry_(_Struct):
RecipeIndex: int
SubEntries: list[CraftingNeteaseUnknownDataSubEntry] | tuple[CraftingNeteaseUnknownDataSubEntry, ...] | None
def __init__(self, /, *,
RecipeIndex: int = ...,
SubEntries: list[CraftingNeteaseUnknownDataSubEntry] | tuple[CraftingNeteaseUnknownDataSubEntry, ...] | None = ...,
) -> None: ...相关字段类型:CraftingNeteaseUnknownDataSubEntry。
CraftLoomRecipeStackRequestAction
继承 Struct。
python
class CraftLoomRecipeStackRequestAction(_Struct):
Pattern: str | StringBytes
TimesCrafted: int
def __init__(self, /, *,
Pattern: str | StringBytes = ...,
TimesCrafted: int = ...,
) -> None: ...CraftNonImplementedStackRequestAction
继承 Struct。
python
class CraftNonImplementedStackRequestAction(_Struct):
def __init__(self) -> None: ...CraftRecipeOptionalStackRequestAction
继承 Struct。
python
class CraftRecipeOptionalStackRequestAction(_Struct):
RecipeNetworkID: int
FilterStringIndex: int
def __init__(self, /, *,
RecipeNetworkID: int = ...,
FilterStringIndex: int = ...,
) -> None: ...CraftRecipeStackRequestAction
继承 Struct。
python
class CraftRecipeStackRequestAction(_Struct):
RecipeNetworkID: int
NumberOfCrafts: int
def __init__(self, /, *,
RecipeNetworkID: int = ...,
NumberOfCrafts: int = ...,
) -> None: ...CraftResultsDeprecatedStackRequestAction
继承 Struct。
python
class CraftResultsDeprecatedStackRequestAction(_Struct):
ResultItems: list[ItemStack] | tuple[ItemStack, ...] | None
TimesCrafted: int
def __init__(self, /, *,
ResultItems: list[ItemStack] | tuple[ItemStack, ...] | None = ...,
TimesCrafted: int = ...,
) -> None: ...相关字段类型:ItemStack。
CreatePhoto
继承 Packet。
python
class CreatePhoto(_Packet):
packet_id: ClassVar[int] = 171
packet_name: ClassVar[str] = 'CreatePhoto'
EntityUniqueID: int
PhotoName: str | StringBytes
ItemName: str | StringBytes
def __init__(self, /, *,
EntityUniqueID: int = ...,
PhotoName: str | StringBytes = ...,
ItemName: str | StringBytes = ...,
) -> None: ...CreateStackRequestAction
继承 Struct。
python
class CreateStackRequestAction(_Struct):
ResultsSlot: int
def __init__(self, /, *,
ResultsSlot: int = ...,
) -> None: ...CreativeContent
继承 Packet。
python
class CreativeContent(_Packet):
packet_id: ClassVar[int] = 145
packet_name: ClassVar[str] = 'CreativeContent'
Groups: list[CreativeGroup] | tuple[CreativeGroup, ...] | None
Items: list[CreativeItem] | tuple[CreativeItem, ...] | None
def __init__(self, /, *,
Groups: list[CreativeGroup] | tuple[CreativeGroup, ...] | None = ...,
Items: list[CreativeItem] | tuple[CreativeItem, ...] | None = ...,
) -> None: ...相关字段类型:CreativeGroup、CreativeItem。
CreativeGroup
继承 Struct。
python
class CreativeGroup(_Struct):
Category: int
Name: str | StringBytes
Icon: ItemStack
def __init__(self, /, *,
Category: int = ...,
Name: str | StringBytes = ...,
Icon: ItemStack = ...,
) -> None: ...相关字段类型:ItemStack。
CreativeItem
继承 Struct。
python
class CreativeItem(_Struct):
CreativeItemNetworkID: int
Item: ItemStack
GroupIndex: int
def __init__(self, /, *,
CreativeItemNetworkID: int = ...,
Item: ItemStack = ...,
GroupIndex: int = ...,
) -> None: ...相关字段类型:ItemStack。
CreativeItem_
继承 Struct。
python
class CreativeItem_(_Struct):
Groups: list[CreativeGroup] | tuple[CreativeGroup, ...] | None
Items: list[CreativeItem] | tuple[CreativeItem, ...] | None
def __init__(self, /, *,
Groups: list[CreativeGroup] | tuple[CreativeGroup, ...] | None = ...,
Items: list[CreativeItem] | tuple[CreativeItem, ...] | None = ...,
) -> None: ...相关字段类型:CreativeGroup、CreativeItem。
CurrentStructureFeature
继承 Packet。
python
class CurrentStructureFeature(_Packet):
packet_id: ClassVar[int] = 314
packet_name: ClassVar[str] = 'CurrentStructureFeature'
CurrentFeature: str | StringBytes
def __init__(self, /, *,
CurrentFeature: str | StringBytes = ...,
) -> None: ...Custom
继承 Packet。
python
class Custom(_Packet):
packet_id: ClassVar[int] = 227
packet_name: ClassVar[str] = 'Custom'
Payload: bytes | None
def __init__(self, /, *,
Payload: bytes | None = ...,
) -> None: ...