跳转到正文

协议模型:S · 12 ​

全部模型 · 协议包用法

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

struct_ObjectiveName_string_ ​

继承 Struct。

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

struct_ObjectiveName_str…Score_int32_ ​

继承 Struct。

python
class struct_ObjectiveName_string__Score_int32_(_Struct):
    ObjectiveName: str | StringBytes
    Score: int
    def __init__(self, /, *,
        ObjectiveName: str | StringBytes = ...,
        Score: int = ...,
    ) -> None: ...

struct_Operation_byte__C…Status_byte_ ​

继承 Struct。

python
class struct_Operation_byte__Category_byte__CodeStatus_byte_(_Struct):
    Operation: int
    Category: int
    CodeStatus: int
    def __init__(self, /, *,
        Operation: int = ...,
        Category: int = ...,
        CodeStatus: int = ...,
    ) -> None: ...

struct_OriginalMapID_int…MapID_int64_ ​

继承 Struct。

python
class struct_OriginalMapID_int64__NewMapID_int64_(_Struct):
    OriginalMapID: int
    NewMapID: int
    def __init__(self, /, *,
        OriginalMapID: int = ...,
        NewMapID: int = ...,
    ) -> None: ...

struct_PacketID_int32__C…load___byte_ ​

继承 Struct。

python
class struct_PacketID_int32__CompressedPayload___byte_(_Struct):
    PacketID: int
    CompressedPayload: bytes | None
    def __init__(self, /, *,
        PacketID: int = ...,
        CompressedPayload: bytes | None = ...,
    ) -> None: ...

struct_PacketID_int32__Payload___byte_ ​

继承 Struct。

python
class struct_PacketID_int32__Payload___byte_(_Struct):
    PacketID: int
    Payload: bytes | None
    def __init__(self, /, *,
        PacketID: int = ...,
        Payload: bytes | None = ...,
    ) -> None: ...

struct_PacketID_uint32__Payload___byte_ ​

继承 Struct。

python
class struct_PacketID_uint32__Payload___byte_(_Struct):
    PacketID: int
    Payload: bytes | None
    def __init__(self, /, *,
        PacketID: int = ...,
        Payload: bytes | None = ...,
    ) -> None: ...

struct_Pattern_string__T…rafted_byte_ ​

继承 Struct。

python
class struct_Pattern_string__TimesCrafted_byte_(_Struct):
    Pattern: str | StringBytes
    TimesCrafted: int
    def __init__(self, /, *,
        Pattern: str | StringBytes = ...,
        TimesCrafted: int = ...,
    ) -> None: ...

struct_Payload___byte_ ​

继承 Struct。

python
class struct_Payload___byte_(_Struct):
    Payload: bytes | None
    def __init__(self, /, *,
        Payload: bytes | None = ...,
    ) -> None: ...

struct_PhotoID_int64_ ​

继承 Struct。

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

struct_PhotoName_string_…Name_string_ ​

继承 Struct。

python
class struct_PhotoName_string__PhotoData___byte__BookID_string__PhotoType_byte__SourceType_byte__OwnerEntityUniqueID_int64__NewPhotoName_string_(_Struct):
    PhotoName: str | StringBytes
    PhotoData: bytes | None
    BookID: str | StringBytes
    PhotoType: int
    SourceType: int
    OwnerEntityUniqueID: int
    NewPhotoName: str | StringBytes
    def __init__(self, /, *,
        PhotoName: str | StringBytes = ...,
        PhotoData: bytes | None = ...,
        BookID: str | StringBytes = ...,
        PhotoType: int = ...,
        SourceType: int = ...,
        OwnerEntityUniqueID: int = ...,
        NewPhotoName: str | StringBytes = ...,
    ) -> None: ...

struct_PieceID_string__P…ctID_string_ ​

继承 Struct。

python
class struct_PieceID_string__PieceType_string__PackID_string__Default_bool__ProductID_string_(_Struct):
    PieceID: str | StringBytes
    PieceType: str | StringBytes
    PackID: str | StringBytes
    Default: bool
    ProductID: str | StringBytes
    def __init__(self, /, *,
        PieceID: str | StringBytes = ...,
        PieceType: str | StringBytes = ...,
        PackID: str | StringBytes = ...,
        Default: bool = ...,
        ProductID: str | StringBytes = ...,
    ) -> None: ...

struct_PieceType_string_…rs___string_ ​

继承 Struct。

python
class struct_PieceType_string__Colours___string_(_Struct):
    PieceType: str | StringBytes
    Colours: list[str | StringBytes] | tuple[str | StringBytes, ...] | None
    def __init__(self, /, *,
        PieceType: str | StringBytes = ...,
        Colours: list[str | StringBytes] | tuple[str | StringBytes, ...] | None = ...,
    ) -> None: ...

struct_PlayerRuntimeID_u…sType_int32_ ​

继承 Struct。

python
class struct_PlayerRuntimeID_uint64__StatusType_int32_(_Struct):
    PlayerRuntimeID: int
    StatusType: int
    def __init__(self, /, *,
        PlayerRuntimeID: int = ...,
        StatusType: int = ...,
    ) -> None: ...

struct_PlayerUniqueID_in…Data___byte_ ​

继承 Struct。

python
class struct_PlayerUniqueID_int64__Data___byte_(_Struct):
    PlayerUniqueID: int
    Data: bytes | None
    def __init__(self, /, *,
        PlayerUniqueID: int = ...,
        Data: bytes | None = ...,
    ) -> None: ...

struct_PosX_int32__PosY_…sabled_bool_ ​

继承 Struct。

python
class struct_PosX_int32__PosY_int32__PosZ_int32__Slot_byte__Disabled_bool_(_Struct):
    PosX: int
    PosY: int
    PosZ: int
    Slot: int
    Disabled: bool
    def __init__(self, /, *,
        PosX: int = ...,
        PosY: int = ...,
        PosZ: int = ...,
        Slot: int = ...,
        Disabled: bool = ...,
    ) -> None: ...

struct_Preload_bool_ ​

继承 Struct。

python
class struct_Preload_bool_(_Struct):
    Preload: bool
    def __init__(self, /, *,
        Preload: bool = ...,
    ) -> None: ...

struct_PresetID_string__…Assist_bool_ ​

继承 Struct。

python
class struct_PresetID_string__Action_byte__AllowAimAssist_bool_(_Struct):
    PresetID: str | StringBytes
    Action: int
    AllowAimAssist: bool
    def __init__(self, /, *,
        PresetID: str | StringBytes = ...,
        Action: int = ...,
        AllowAimAssist: bool = ...,
    ) -> None: ...

struct_PrimaryEffect_int…ffect_int32_ ​

继承 Struct。

python
class struct_PrimaryEffect_int32__SecondaryEffect_int32_(_Struct):
    PrimaryEffect: int
    SecondaryEffect: int
    def __init__(self, /, *,
        PrimaryEffect: int = ...,
        SecondaryEffect: int = ...,
    ) -> None: ...

struct_PropertyData_map_string_any_ ​

继承 Struct。

python
class struct_PropertyData_map_string_any_(_Struct):
    PropertyData: dict[str | StringBytes, DynamicValue | UnionValue | _Struct | None] | None
    def __init__(self, /, *,
        PropertyData: dict[str | StringBytes, DynamicValue | UnionValue | _Struct | None] | None = ...,
    ) -> None: ...

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