跳转到正文

协议模型:S · 8 ​

全部模型 · 协议包用法

选择模型查看构造参数和字段,代码块保留完整模型名称。... 表示可省略的字段,省略时使用该类型的零值。

struct_EntityRuntimeID_u…Name_string_ ​

继承 Struct。

python
class struct_EntityRuntimeID_uint64__RequestType_byte__CommandString_string__ActionType_byte__SceneName_string_(_Struct):
    EntityRuntimeID: int
    RequestType: int
    CommandString: str | StringBytes
    ActionType: int
    SceneName: str | StringBytes
    def __init__(self, /, *,
        EntityRuntimeID: int = ...,
        RequestType: int = ...,
        CommandString: str | StringBytes = ...,
        ActionType: int = ...,
        SceneName: str | StringBytes = ...,
    ) -> None: ...

struct_EntityRuntimeID_u…Layer_uint8_ ​

继承 Struct。

python
class struct_EntityRuntimeID_uint64__Texture_string__ModelID_uint64__Layer_uint8_(_Struct):
    EntityRuntimeID: int
    Texture: str | StringBytes
    ModelID: int
    Layer: int
    def __init__(self, /, *,
        EntityRuntimeID: int = ...,
        Texture: str | StringBytes = ...,
        ModelID: int = ...,
        Layer: int = ...,
    ) -> None: ...

struct_EntityRuntimeID_u…Tick_uint64_ ​

继承 Struct。

python
class struct_EntityRuntimeID_uint64__Type_int32__Duration_int32__Tick_uint64_(_Struct):
    EntityRuntimeID: int
    Type: int
    Duration: int
    Tick: int
    def __init__(self, /, *,
        EntityRuntimeID: int = ...,
        Type: int = ...,
        Duration: int = ...,
        Tick: int = ...,
    ) -> None: ...

struct_EntityRuntimeID_u…known_uint8_ ​

继承 Struct。

python
class struct_EntityRuntimeID_uint64__Unknown_uint8_(_Struct):
    EntityRuntimeID: int
    Unknown: int
    def __init__(self, /, *,
        EntityRuntimeID: int = ...,
        Unknown: int = ...,
    ) -> None: ...

struct_EntityType_int32_ ​

继承 Struct。

python
class struct_EntityType_int32_(_Struct):
    EntityType: int
    def __init__(self, /, *,
        EntityType: int = ...,
    ) -> None: ...

struct_EntityType_int32_…olour_uint8_ ​

继承 Struct。

python
class struct_EntityType_int32__Variant_int32__Colour_uint8_(_Struct):
    EntityType: int
    Variant: int
    Colour: int
    def __init__(self, /, *,
        EntityType: int = ...,
        Variant: int = ...,
        Colour: int = ...,
    ) -> None: ...

struct_EntityUniqueID_int64_ ​

继承 Struct。

python
class struct_EntityUniqueID_int64_(_Struct):
    EntityUniqueID: int
    def __init__(self, /, *,
        EntityUniqueID: int = ...,
    ) -> None: ...

struct_EntityUniqueID_in…thData_bool_ ​

继承 Struct。

python
class struct_EntityUniqueID_int64__HotBarSlot_byte__WithData_bool_(_Struct):
    EntityUniqueID: int
    HotBarSlot: int
    WithData: bool
    def __init__(self, /, *,
        EntityUniqueID: int = ...,
        HotBarSlot: int = ...,
        WithData: bool = ...,
    ) -> None: ...

struct_EntityUniqueID_in…ions_uint16_ ​

继承 Struct。

python
class struct_EntityUniqueID_int64__PermissionLevel_int32__RequestedPermissions_uint16_(_Struct):
    EntityUniqueID: int
    PermissionLevel: int
    RequestedPermissions: int
    def __init__(self, /, *,
        EntityUniqueID: int = ...,
        PermissionLevel: int = ...,
        RequestedPermissions: int = ...,
    ) -> None: ...

struct_EntityUniqueID_in…Name_string_ ​

继承 Struct。

python
class struct_EntityUniqueID_int64__PhotoName_string__ItemName_string_(_Struct):
    EntityUniqueID: int
    PhotoName: str | StringBytes
    ItemName: str | StringBytes
    def __init__(self, /, *,
        EntityUniqueID: int = ...,
        PhotoName: str | StringBytes = ...,
        ItemName: str | StringBytes = ...,
    ) -> None: ...

struct_EntityUniqueID_in…lue_float32_ ​

继承 Struct。

python
class struct_EntityUniqueID_int64__Property_string__BoolValue_bool__StringValue_string__IntValue_int32__FloatValue_float32_(_Struct):
    EntityUniqueID: int
    Property: str | StringBytes
    BoolValue: bool
    StringValue: str | StringBytes
    IntValue: int
    FloatValue: float | FloatBits
    def __init__(self, /, *,
        EntityUniqueID: int = ...,
        Property: str | StringBytes = ...,
        BoolValue: bool = ...,
        StringValue: str | StringBytes = ...,
        IntValue: int = ...,
        FloatValue: float | FloatBits = ...,
    ) -> None: ...

struct_EntityUniqueID_in…lue_float32_ ​

继承 Struct。

python
class struct_EntityUniqueID_int64__PropertyIndex_uint32__Type_byte__IntValue_int32__FloatValue_float32_(_Struct):
    EntityUniqueID: int
    PropertyIndex: int
    Type: int
    IntValue: int
    FloatValue: float | FloatBits
    def __init__(self, /, *,
        EntityUniqueID: int = ...,
        PropertyIndex: int = ...,
        Type: int = ...,
        IntValue: int = ...,
        FloatValue: float | FloatBits = ...,
    ) -> None: ...

struct_EntityUniqueID_ui…JSON_string_ ​

继承 Struct。

python
class struct_EntityUniqueID_uint64__ActionType_int32__Dialogue_string__SceneName_string__NPCName_string__ActionJSON_string_(_Struct):
    EntityUniqueID: int
    ActionType: int
    Dialogue: str | StringBytes
    SceneName: str | StringBytes
    NPCName: str | StringBytes
    ActionJSON: str | StringBytes
    def __init__(self, /, *,
        EntityUniqueID: int = ...,
        ActionType: int = ...,
        Dialogue: str | StringBytes = ...,
        SceneName: str | StringBytes = ...,
        NPCName: str | StringBytes = ...,
        ActionJSON: str | StringBytes = ...,
    ) -> None: ...

struct_EntryID_int64__En…queID_int64_ ​

继承 Struct。

python
class struct_EntryID_int64__EntityUniqueID_int64_(_Struct):
    EntryID: int
    EntityUniqueID: int
    def __init__(self, /, *,
        EntryID: int = ...,
        EntityUniqueID: int = ...,
    ) -> None: ...

struct_EntryID_int64__Ob…Name_string_ ​

继承 Struct。

python
class struct_EntryID_int64__ObjectiveName_string__Score_int32__IdentityType_byte__EntityUniqueID_int64__DisplayName_string_(_Struct):
    EntryID: int
    ObjectiveName: str | StringBytes
    Score: int
    IdentityType: int
    EntityUniqueID: int
    DisplayName: str | StringBytes
    def __init__(self, /, *,
        EntryID: int = ...,
        ObjectiveName: str | StringBytes = ...,
        Score: int = ...,
        IdentityType: int = ...,
        EntityUniqueID: int = ...,
        DisplayName: str | StringBytes = ...,
    ) -> None: ...

struct_EnumType_string__…onType_byte_ ​

继承 Struct。

python
class struct_EnumType_string__Options___string__ActionType_byte_(_Struct):
    EnumType: str | StringBytes
    Options: list[str | StringBytes] | tuple[str | StringBytes, ...] | None
    ActionType: int
    def __init__(self, /, *,
        EnumType: str | StringBytes = ...,
        Options: list[str | StringBytes] | tuple[str | StringBytes, ...] | None = ...,
        ActionType: int = ...,
    ) -> None: ...

struct_EnumValueIndex_ui…ints___byte_ ​

继承 Struct。

python
class struct_EnumValueIndex_uint32__EnumIndex_uint32__Constraints___byte_(_Struct):
    EnumValueIndex: int
    EnumIndex: int
    Constraints: bytes | None
    def __init__(self, /, *,
        EnumValueIndex: int = ...,
        EnumIndex: int = ...,
        Constraints: bytes | None = ...,
    ) -> None: ...

struct_EventID_int32__Se…Data___byte_ ​

继承 Struct。

python
class struct_EventID_int32__SerialisedEventData___byte_(_Struct):
    EventID: int
    SerialisedEventData: bytes | None
    def __init__(self, /, *,
        EventID: int = ...,
        SerialisedEventData: bytes | None = ...,
    ) -> None: ...

struct_EventName_string_ ​

继承 Struct。

python
class struct_EventName_string_(_Struct):
    EventName: str | StringBytes
    def __init__(self, /, *,
        EventName: str | StringBytes = ...,
    ) -> None: ...

struct_EventName_string_…Data___byte_ ​

继承 Struct。

python
class struct_EventName_string__EventData___byte_(_Struct):
    EventName: str | StringBytes
    EventData: bytes | None
    def __init__(self, /, *,
        EventName: str | StringBytes = ...,
        EventData: bytes | None = ...,
    ) -> None: ...

Neomega · 使用、开发与参考文档