跳转到正文

协议模型:S · 5 ​

全部模型 · 协议包用法

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

struct_ActionType_int32_ ​

继承 Struct。

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

struct_ActionType_int32_…queID_int64_ ​

继承 Struct。

python
class struct_ActionType_int32__EntityRuntimeID_uint64__Data_float32__RowingTime_float32__AttackerEntityUniqueID_int64_(_Struct):
    ActionType: int
    EntityRuntimeID: int
    Data: float | FloatBits
    RowingTime: float | FloatBits
    AttackerEntityUniqueID: int
    def __init__(self, /, *,
        ActionType: int = ...,
        EntityRuntimeID: int = ...,
        Data: float | FloatBits = ...,
        RowingTime: float | FloatBits = ...,
        AttackerEntityUniqueID: int = ...,
    ) -> None: ...

struct_ActionType_int32_…sage_string_ ​

继承 Struct。

python
class struct_ActionType_int32__Text_string__FadeInDuration_int32__RemainDuration_int32__FadeOutDuration_int32__XUID_string__PlatformOnlineID_string__FilteredMessage_string_(_Struct):
    ActionType: int
    Text: str | StringBytes
    FadeInDuration: int
    RemainDuration: int
    FadeOutDuration: int
    XUID: str | StringBytes
    PlatformOnlineID: str | StringBytes
    FilteredMessage: str | StringBytes
    def __init__(self, /, *,
        ActionType: int = ...,
        Text: str | StringBytes = ...,
        FadeInDuration: int = ...,
        RemainDuration: int = ...,
        FadeOutDuration: int = ...,
        XUID: str | StringBytes = ...,
        PlatformOnlineID: str | StringBytes = ...,
        FilteredMessage: str | StringBytes = ...,
    ) -> None: ...

struct_ActorUniqueID_uin…ueID_uint64_ ​

继承 Struct。

python
class struct_ActorUniqueID_uint64__BindActorUniqueID_uint64_(_Struct):
    ActorUniqueID: int
    BindActorUniqueID: int
    def __init__(self, /, *,
        ActorUniqueID: int = ...,
        BindActorUniqueID: int = ...,
    ) -> None: ...

struct_ActorUniqueID_uin…etZ_float64_ ​

继承 Struct。

python
class struct_ActorUniqueID_uint64__OffsetX_float64__OffsetY_float64__OffsetZ_float64_(_Struct):
    ActorUniqueID: int
    OffsetX: float | FloatBits
    OffsetY: float | FloatBits
    OffsetZ: float | FloatBits
    def __init__(self, /, *,
        ActorUniqueID: int = ...,
        OffsetX: float | FloatBits = ...,
        OffsetY: float | FloatBits = ...,
        OffsetZ: float | FloatBits = ...,
    ) -> None: ...

struct_Address_string__P…dWorld_bool_ ​

继承 Struct。

python
class struct_Address_string__Port_uint16__ReloadWorld_bool_(_Struct):
    Address: str | StringBytes
    Port: int
    ReloadWorld: bool
    def __init__(self, /, *,
        Address: str | StringBytes = ...,
        Port: int = ...,
        ReloadWorld: bool = ...,
    ) -> None: ...

struct_AgentResult_int32…tput_string_ ​

继承 Struct。

python
class struct_AgentResult_int32__DataValue_int32__Command_string__DataKey_string__Output_string_(_Struct):
    AgentResult: int
    DataValue: int
    Command: str | StringBytes
    DataKey: str | StringBytes
    Output: str | StringBytes
    def __init__(self, /, *,
        AgentResult: int = ...,
        DataValue: int = ...,
        Command: str | StringBytes = ...,
        DataKey: str | StringBytes = ...,
        Output: str | StringBytes = ...,
    ) -> None: ...

struct_Animation_byte__E…meID_uint64_ ​

继承 Struct。

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

struct_Animation_string_…Ds___uint64_ ​

继承 Struct。

python
class struct_Animation_string__NextState_string__StopCondition_string__StopConditionVersion_int32__Controller_string__BlendOutTime_float32__EntityRuntimeIDs___uint64_(_Struct):
    Animation: str | StringBytes
    NextState: str | StringBytes
    StopCondition: str | StringBytes
    StopConditionVersion: int
    Controller: str | StringBytes
    BlendOutTime: float | FloatBits
    EntityRuntimeIDs: list[int] | tuple[int, ...] | None
    def __init__(self, /, *,
        Animation: str | StringBytes = ...,
        NextState: str | StringBytes = ...,
        StopCondition: str | StringBytes = ...,
        StopConditionVersion: int = ...,
        Controller: str | StringBytes = ...,
        BlendOutTime: float | FloatBits = ...,
        EntityRuntimeIDs: list[int] | tuple[int, ...] | None = ...,
    ) -> None: ...

struct_Animation_string_…Ds___uint64_ ​

继承 Struct。

python
class struct_Animation_string__NextState_string__StopExpression_string__StopExpressionVersion_int32__Controller_string__BlendOutTime_float32__RuntimeEntityIDs___uint64_(_Struct):
    Animation: str | StringBytes
    NextState: str | StringBytes
    StopExpression: str | StringBytes
    StopExpressionVersion: int
    Controller: str | StringBytes
    BlendOutTime: float | FloatBits
    RuntimeEntityIDs: list[int] | tuple[int, ...] | None
    def __init__(self, /, *,
        Animation: str | StringBytes = ...,
        NextState: str | StringBytes = ...,
        StopExpression: str | StringBytes = ...,
        StopExpressionVersion: int = ...,
        Controller: str | StringBytes = ...,
        BlendOutTime: float | FloatBits = ...,
        RuntimeEntityIDs: list[int] | tuple[int, ...] | None = ...,
    ) -> None: ...

struct_AnimationType_uint32_ ​

继承 Struct。

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

struct_ArmourSlot_int32__Damage_int16_ ​

继承 Struct。

python
class struct_ArmourSlot_int32__Damage_int16_(_Struct):
    ArmourSlot: int
    Damage: int
    def __init__(self, /, *,
        ArmourSlot: int = ...,
        Damage: int = ...,
    ) -> None: ...

struct_AttackerEntityID_…InRaid_bool_ ​

继承 Struct。

python
class struct_AttackerEntityID_int32__AttackerVariant_int32__EntityDamageCause_int32__InRaid_bool_(_Struct):
    AttackerEntityID: int
    AttackerVariant: int
    EntityDamageCause: int
    InRaid: bool
    def __init__(self, /, *,
        AttackerEntityID: int = ...,
        AttackerVariant: int = ...,
        EntityDamageCause: int = ...,
        InRaid: bool = ...,
    ) -> None: ...

struct_AverageFramesPerS…ent_float32_ ​

继承 Struct。

python
class struct_AverageFramesPerSecond_float32__AverageServerSimTickTime_float32__AverageClientSimTickTime_float32__AverageBeginFrameTime_float32__AverageInputTime_float32__AverageRenderTime_float32__AverageEndFrameTime_float32__AverageRemainderTimePercent_float32__AverageUnaccountedTimePercent_float32_(_Struct):
    AverageFramesPerSecond: float | FloatBits
    AverageServerSimTickTime: float | FloatBits
    AverageClientSimTickTime: float | FloatBits
    AverageBeginFrameTime: float | FloatBits
    AverageInputTime: float | FloatBits
    AverageRenderTime: float | FloatBits
    AverageEndFrameTime: float | FloatBits
    AverageRemainderTimePercent: float | FloatBits
    AverageUnaccountedTimePercent: float | FloatBits
    def __init__(self, /, *,
        AverageFramesPerSecond: float | FloatBits = ...,
        AverageServerSimTickTime: float | FloatBits = ...,
        AverageClientSimTickTime: float | FloatBits = ...,
        AverageBeginFrameTime: float | FloatBits = ...,
        AverageInputTime: float | FloatBits = ...,
        AverageRenderTime: float | FloatBits = ...,
        AverageEndFrameTime: float | FloatBits = ...,
        AverageRemainderTimePercent: float | FloatBits = ...,
        AverageUnaccountedTimePercent: float | FloatBits = ...,
    ) -> None: ...

struct_BaseCtrlCMD_int32…tatus_uint8_ ​

继承 Struct。

python
class struct_BaseCtrlCMD_int32__Unknown_uint16__Status_uint8_(_Struct):
    BaseCtrlCMD: int
    Unknown: int
    Status: int
    def __init__(self, /, *,
        BaseCtrlCMD: int = ...,
        Unknown: int = ...,
        Status: int = ...,
    ) -> None: ...

struct_BehaviourTree_string_ ​

继承 Struct。

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

struct_Biome_int16__Dime…ndex_uint32_ ​

继承 Struct。

python
class struct_Biome_int16__Dimension_int16__TargetBiomes___int16__Amount_float32__NoiseFrequencyScale_float32__ReplacementIndex_uint32_(_Struct):
    Biome: int
    Dimension: int
    TargetBiomes: list[int] | tuple[int, ...] | None
    Amount: float | FloatBits
    NoiseFrequencyScale: float | FloatBits
    ReplacementIndex: int
    def __init__(self, /, *,
        Biome: int = ...,
        Dimension: int = ...,
        TargetBiomes: list[int] | tuple[int, ...] | None = ...,
        Amount: float | FloatBits = ...,
        NoiseFrequencyScale: float | FloatBits = ...,
        ReplacementIndex: int = ...,
    ) -> None: ...

struct_Biome_int16__Weight_uint32_ ​

继承 Struct。

python
class struct_Biome_int16__Weight_uint32_(_Struct):
    Biome: int
    Weight: int
    def __init__(self, /, *,
        Biome: int = ...,
        Weight: int = ...,
    ) -> None: ...

struct_BiomeName_string_…IsRain_bool_ ​

继承 Struct。

python
class struct_BiomeName_string__SnowAccumulationMin_float32__SnowAccumulationMax_float32__Temperature_float32__Downfall_float32__IsRain_bool_(_Struct):
    BiomeName: str | StringBytes
    SnowAccumulationMin: float | FloatBits
    SnowAccumulationMax: float | FloatBits
    Temperature: float | FloatBits
    Downfall: float | FloatBits
    IsRain: bool
    def __init__(self, /, *,
        BiomeName: str | StringBytes = ...,
        SnowAccumulationMin: float | FloatBits = ...,
        SnowAccumulationMax: float | FloatBits = ...,
        Temperature: float | FloatBits = ...,
        Downfall: float | FloatBits = ...,
        IsRain: bool = ...,
    ) -> None: ...

struct_BlockInteractionT…temID_int32_ ​

继承 Struct。

python
class struct_BlockInteractionType_int32__ItemID_int32_(_Struct):
    BlockInteractionType: int
    ItemID: int
    def __init__(self, /, *,
        BlockInteractionType: int = ...,
        ItemID: int = ...,
    ) -> None: ...

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