@my-swu/simulator-client 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/schemas.js +563 -3
- package/dist/generated/types/common.d.ts +133 -0
- package/dist/generated/types/format-event-response.d.ts +1 -1
- package/dist/generated/types/game-state.d.ts +1 -1
- package/dist/generated/types/get-match-response.d.ts +1 -1
- package/dist/generated/types/list-active-ai-matches-response.d.ts +1 -1
- package/dist/generated/types/lobby-access-response.d.ts +1 -1
- package/dist/generated/types/lobby-server-message.d.ts +1 -1
- package/dist/generated/types/match-access-response.d.ts +1 -1
- package/dist/generated/types/match-history-replay-response.d.ts +1 -1
- package/dist/generated/types/match-spectator-access-response.d.ts +1 -1
- package/dist/generated/types/rematch-match-response.d.ts +1 -1
- package/dist/generated/types/restore-history-response.d.ts +1 -1
- package/dist/generated/types/restore-match-save-response.d.ts +1 -1
- package/dist/generated/types/server-message.d.ts +1 -1
- package/dist/generated/types/submit-match-deck-response.d.ts +1 -1
- package/dist/generated/types/tournament-room-access-response.d.ts +1 -1
- package/dist/generated/types/tournament-room-server-message.d.ts +1 -1
- package/dist/generated/types/undo-match-response.d.ts +1 -1
- package/dist/generated/version.d.ts +1 -1
- package/dist/generated/version.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/internal/authenticated-socket-session.js +2 -2
- package/dist/internal/errors.d.ts +5 -0
- package/dist/internal/errors.js +4 -0
- package/dist/local/wasm-engine.d.ts +1 -0
- package/dist/local/worker-boot.d.ts +2 -0
- package/dist/local/worker-boot.js +1 -0
- package/dist/match-session/controller.js +53 -2
- package/dist/match-session/heartbeat.d.ts +33 -0
- package/dist/match-session/heartbeat.js +70 -0
- package/dist/match-session/session-state.d.ts +14 -0
- package/dist/match-session/types.d.ts +1 -1
- package/dist/match-session.d.ts +1 -1
- package/dist/resources/lobby-list-session.js +2 -2
- package/dist/resources/tournament-room-types.d.ts +2 -2
- package/dist/types.d.ts +1 -1
- package/dist/validators.d.ts +1 -1
- package/dist/validators.js +1 -1
- package/package.json +1 -1
- package/schema/common.schema.json +490 -2
- package/schema/game-command.schema.json +48 -0
- package/schema/game-event.schema.json +8 -0
- package/schema/game-state.schema.json +11 -0
- package/schema/health-response.schema.json +6 -1
- package/schema/manifest.json +1 -1
|
@@ -1750,7 +1750,7 @@
|
|
|
1750
1750
|
"const": "eternal"
|
|
1751
1751
|
},
|
|
1752
1752
|
{
|
|
1753
|
-
"description": "
|
|
1753
|
+
"description": "Eternal legality with unrestricted leader/base rarity and low-rarity cards elsewhere.",
|
|
1754
1754
|
"type": "string",
|
|
1755
1755
|
"const": "peasant"
|
|
1756
1756
|
},
|
|
@@ -2396,6 +2396,51 @@
|
|
|
2396
2396
|
}
|
|
2397
2397
|
]
|
|
2398
2398
|
},
|
|
2399
|
+
"DelayedEffectOrderChoiceView": {
|
|
2400
|
+
"description": "Payload for [`PromptState::ChooseDelayedEffectOrder`].",
|
|
2401
|
+
"type": "object",
|
|
2402
|
+
"properties": {
|
|
2403
|
+
"chooser": {
|
|
2404
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/Seat"
|
|
2405
|
+
},
|
|
2406
|
+
"options": {
|
|
2407
|
+
"type": "array",
|
|
2408
|
+
"items": {
|
|
2409
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/DelayedEffectOrderOptionView"
|
|
2410
|
+
}
|
|
2411
|
+
}
|
|
2412
|
+
},
|
|
2413
|
+
"required": [
|
|
2414
|
+
"chooser",
|
|
2415
|
+
"options"
|
|
2416
|
+
]
|
|
2417
|
+
},
|
|
2418
|
+
"DelayedEffectOrderOptionView": {
|
|
2419
|
+
"description": "One delayed effect a controller may resolve next.",
|
|
2420
|
+
"type": "object",
|
|
2421
|
+
"properties": {
|
|
2422
|
+
"label": {
|
|
2423
|
+
"type": "string"
|
|
2424
|
+
},
|
|
2425
|
+
"occurrenceSequence": {
|
|
2426
|
+
"type": "integer",
|
|
2427
|
+
"format": "uint32",
|
|
2428
|
+
"minimum": 0
|
|
2429
|
+
},
|
|
2430
|
+
"sourceCardId": {
|
|
2431
|
+
"type": [
|
|
2432
|
+
"integer",
|
|
2433
|
+
"null"
|
|
2434
|
+
],
|
|
2435
|
+
"format": "uint32",
|
|
2436
|
+
"minimum": 0
|
|
2437
|
+
}
|
|
2438
|
+
},
|
|
2439
|
+
"required": [
|
|
2440
|
+
"occurrenceSequence",
|
|
2441
|
+
"label"
|
|
2442
|
+
]
|
|
2443
|
+
},
|
|
2399
2444
|
"DelayedEffectTimingView": {
|
|
2400
2445
|
"description": "Public trigger point for a delayed effect.",
|
|
2401
2446
|
"oneOf": [
|
|
@@ -2840,6 +2885,310 @@
|
|
|
2840
2885
|
"persistent"
|
|
2841
2886
|
]
|
|
2842
2887
|
},
|
|
2888
|
+
"EffectResolutionDraftStepView": {
|
|
2889
|
+
"description": "One selected draft answer. `step_id` remains stable across projection.",
|
|
2890
|
+
"oneOf": [
|
|
2891
|
+
{
|
|
2892
|
+
"type": "object",
|
|
2893
|
+
"properties": {
|
|
2894
|
+
"editable": {
|
|
2895
|
+
"type": "boolean"
|
|
2896
|
+
},
|
|
2897
|
+
"kind": {
|
|
2898
|
+
"type": "string",
|
|
2899
|
+
"const": "target"
|
|
2900
|
+
},
|
|
2901
|
+
"label": {
|
|
2902
|
+
"type": "string"
|
|
2903
|
+
},
|
|
2904
|
+
"purpose": {
|
|
2905
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/TargetGroupPurpose"
|
|
2906
|
+
},
|
|
2907
|
+
"selected": {
|
|
2908
|
+
"type": "array",
|
|
2909
|
+
"items": {
|
|
2910
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/AbilityTarget"
|
|
2911
|
+
}
|
|
2912
|
+
},
|
|
2913
|
+
"stepId": {
|
|
2914
|
+
"type": "string"
|
|
2915
|
+
}
|
|
2916
|
+
},
|
|
2917
|
+
"required": [
|
|
2918
|
+
"kind",
|
|
2919
|
+
"stepId",
|
|
2920
|
+
"label",
|
|
2921
|
+
"purpose",
|
|
2922
|
+
"selected",
|
|
2923
|
+
"editable"
|
|
2924
|
+
]
|
|
2925
|
+
},
|
|
2926
|
+
{
|
|
2927
|
+
"type": "object",
|
|
2928
|
+
"properties": {
|
|
2929
|
+
"editable": {
|
|
2930
|
+
"type": "boolean"
|
|
2931
|
+
},
|
|
2932
|
+
"kind": {
|
|
2933
|
+
"type": "string",
|
|
2934
|
+
"const": "amount"
|
|
2935
|
+
},
|
|
2936
|
+
"label": {
|
|
2937
|
+
"type": "string"
|
|
2938
|
+
},
|
|
2939
|
+
"selected": {
|
|
2940
|
+
"type": "integer",
|
|
2941
|
+
"format": "int16",
|
|
2942
|
+
"maximum": 32767,
|
|
2943
|
+
"minimum": -32768
|
|
2944
|
+
},
|
|
2945
|
+
"stepId": {
|
|
2946
|
+
"type": "string"
|
|
2947
|
+
}
|
|
2948
|
+
},
|
|
2949
|
+
"required": [
|
|
2950
|
+
"kind",
|
|
2951
|
+
"stepId",
|
|
2952
|
+
"label",
|
|
2953
|
+
"selected",
|
|
2954
|
+
"editable"
|
|
2955
|
+
]
|
|
2956
|
+
},
|
|
2957
|
+
{
|
|
2958
|
+
"type": "object",
|
|
2959
|
+
"properties": {
|
|
2960
|
+
"editable": {
|
|
2961
|
+
"type": "boolean"
|
|
2962
|
+
},
|
|
2963
|
+
"kind": {
|
|
2964
|
+
"type": "string",
|
|
2965
|
+
"const": "modes"
|
|
2966
|
+
},
|
|
2967
|
+
"label": {
|
|
2968
|
+
"type": "string"
|
|
2969
|
+
},
|
|
2970
|
+
"selected": {
|
|
2971
|
+
"type": "array",
|
|
2972
|
+
"items": {
|
|
2973
|
+
"type": "integer",
|
|
2974
|
+
"format": "uint",
|
|
2975
|
+
"minimum": 0
|
|
2976
|
+
}
|
|
2977
|
+
},
|
|
2978
|
+
"stepId": {
|
|
2979
|
+
"type": "string"
|
|
2980
|
+
}
|
|
2981
|
+
},
|
|
2982
|
+
"required": [
|
|
2983
|
+
"kind",
|
|
2984
|
+
"stepId",
|
|
2985
|
+
"label",
|
|
2986
|
+
"selected",
|
|
2987
|
+
"editable"
|
|
2988
|
+
]
|
|
2989
|
+
},
|
|
2990
|
+
{
|
|
2991
|
+
"type": "object",
|
|
2992
|
+
"properties": {
|
|
2993
|
+
"editable": {
|
|
2994
|
+
"type": "boolean"
|
|
2995
|
+
},
|
|
2996
|
+
"kind": {
|
|
2997
|
+
"type": "string",
|
|
2998
|
+
"const": "cards"
|
|
2999
|
+
},
|
|
3000
|
+
"label": {
|
|
3001
|
+
"type": "string"
|
|
3002
|
+
},
|
|
3003
|
+
"selected": {
|
|
3004
|
+
"type": "array",
|
|
3005
|
+
"items": {
|
|
3006
|
+
"type": "integer",
|
|
3007
|
+
"format": "uint32",
|
|
3008
|
+
"minimum": 0
|
|
3009
|
+
}
|
|
3010
|
+
},
|
|
3011
|
+
"stepId": {
|
|
3012
|
+
"type": "string"
|
|
3013
|
+
}
|
|
3014
|
+
},
|
|
3015
|
+
"required": [
|
|
3016
|
+
"kind",
|
|
3017
|
+
"stepId",
|
|
3018
|
+
"label",
|
|
3019
|
+
"selected",
|
|
3020
|
+
"editable"
|
|
3021
|
+
]
|
|
3022
|
+
},
|
|
3023
|
+
{
|
|
3024
|
+
"type": "object",
|
|
3025
|
+
"properties": {
|
|
3026
|
+
"editable": {
|
|
3027
|
+
"type": "boolean"
|
|
3028
|
+
},
|
|
3029
|
+
"kind": {
|
|
3030
|
+
"type": "string",
|
|
3031
|
+
"const": "name"
|
|
3032
|
+
},
|
|
3033
|
+
"label": {
|
|
3034
|
+
"type": "string"
|
|
3035
|
+
},
|
|
3036
|
+
"selected": {
|
|
3037
|
+
"type": "string"
|
|
3038
|
+
},
|
|
3039
|
+
"stepId": {
|
|
3040
|
+
"type": "string"
|
|
3041
|
+
}
|
|
3042
|
+
},
|
|
3043
|
+
"required": [
|
|
3044
|
+
"kind",
|
|
3045
|
+
"stepId",
|
|
3046
|
+
"label",
|
|
3047
|
+
"selected",
|
|
3048
|
+
"editable"
|
|
3049
|
+
]
|
|
3050
|
+
},
|
|
3051
|
+
{
|
|
3052
|
+
"type": "object",
|
|
3053
|
+
"properties": {
|
|
3054
|
+
"editable": {
|
|
3055
|
+
"type": "boolean"
|
|
3056
|
+
},
|
|
3057
|
+
"kind": {
|
|
3058
|
+
"type": "string",
|
|
3059
|
+
"const": "aspect"
|
|
3060
|
+
},
|
|
3061
|
+
"label": {
|
|
3062
|
+
"type": "string"
|
|
3063
|
+
},
|
|
3064
|
+
"selected": {
|
|
3065
|
+
"type": "string"
|
|
3066
|
+
},
|
|
3067
|
+
"stepId": {
|
|
3068
|
+
"type": "string"
|
|
3069
|
+
}
|
|
3070
|
+
},
|
|
3071
|
+
"required": [
|
|
3072
|
+
"kind",
|
|
3073
|
+
"stepId",
|
|
3074
|
+
"label",
|
|
3075
|
+
"selected",
|
|
3076
|
+
"editable"
|
|
3077
|
+
]
|
|
3078
|
+
},
|
|
3079
|
+
{
|
|
3080
|
+
"type": "object",
|
|
3081
|
+
"properties": {
|
|
3082
|
+
"attackerId": {
|
|
3083
|
+
"type": "integer",
|
|
3084
|
+
"format": "uint64",
|
|
3085
|
+
"minimum": 0
|
|
3086
|
+
},
|
|
3087
|
+
"editable": {
|
|
3088
|
+
"type": "boolean"
|
|
3089
|
+
},
|
|
3090
|
+
"kind": {
|
|
3091
|
+
"type": "string",
|
|
3092
|
+
"const": "attack"
|
|
3093
|
+
},
|
|
3094
|
+
"label": {
|
|
3095
|
+
"type": "string"
|
|
3096
|
+
},
|
|
3097
|
+
"stepId": {
|
|
3098
|
+
"type": "string"
|
|
3099
|
+
},
|
|
3100
|
+
"target": {
|
|
3101
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/AttackTarget"
|
|
3102
|
+
}
|
|
3103
|
+
},
|
|
3104
|
+
"required": [
|
|
3105
|
+
"kind",
|
|
3106
|
+
"stepId",
|
|
3107
|
+
"label",
|
|
3108
|
+
"attackerId",
|
|
3109
|
+
"target",
|
|
3110
|
+
"editable"
|
|
3111
|
+
]
|
|
3112
|
+
},
|
|
3113
|
+
{
|
|
3114
|
+
"type": "object",
|
|
3115
|
+
"properties": {
|
|
3116
|
+
"editable": {
|
|
3117
|
+
"type": "boolean"
|
|
3118
|
+
},
|
|
3119
|
+
"kind": {
|
|
3120
|
+
"type": "string",
|
|
3121
|
+
"const": "distribution"
|
|
3122
|
+
},
|
|
3123
|
+
"label": {
|
|
3124
|
+
"type": "string"
|
|
3125
|
+
},
|
|
3126
|
+
"selected": {
|
|
3127
|
+
"type": "array",
|
|
3128
|
+
"items": {
|
|
3129
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/DistributionAssignment"
|
|
3130
|
+
}
|
|
3131
|
+
},
|
|
3132
|
+
"stepId": {
|
|
3133
|
+
"type": "string"
|
|
3134
|
+
}
|
|
3135
|
+
},
|
|
3136
|
+
"required": [
|
|
3137
|
+
"kind",
|
|
3138
|
+
"stepId",
|
|
3139
|
+
"label",
|
|
3140
|
+
"selected",
|
|
3141
|
+
"editable"
|
|
3142
|
+
]
|
|
3143
|
+
}
|
|
3144
|
+
]
|
|
3145
|
+
},
|
|
3146
|
+
"EffectResolutionDraftView": {
|
|
3147
|
+
"description": "Engine-owned answers collected for one uncommitted semantic effect.",
|
|
3148
|
+
"type": "object",
|
|
3149
|
+
"properties": {
|
|
3150
|
+
"abilityId": {
|
|
3151
|
+
"type": "integer",
|
|
3152
|
+
"format": "uint64",
|
|
3153
|
+
"minimum": 0
|
|
3154
|
+
},
|
|
3155
|
+
"canDecline": {
|
|
3156
|
+
"type": "boolean"
|
|
3157
|
+
},
|
|
3158
|
+
"id": {
|
|
3159
|
+
"type": "integer",
|
|
3160
|
+
"format": "uint64",
|
|
3161
|
+
"minimum": 0
|
|
3162
|
+
},
|
|
3163
|
+
"locked": {
|
|
3164
|
+
"type": "boolean"
|
|
3165
|
+
},
|
|
3166
|
+
"originLabel": {
|
|
3167
|
+
"description": "Printed label of originating effect, retained for descendants.",
|
|
3168
|
+
"type": "string"
|
|
3169
|
+
},
|
|
3170
|
+
"sourceCardId": {
|
|
3171
|
+
"type": "integer",
|
|
3172
|
+
"format": "uint32",
|
|
3173
|
+
"minimum": 0
|
|
3174
|
+
},
|
|
3175
|
+
"steps": {
|
|
3176
|
+
"type": "array",
|
|
3177
|
+
"items": {
|
|
3178
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/EffectResolutionDraftStepView"
|
|
3179
|
+
}
|
|
3180
|
+
}
|
|
3181
|
+
},
|
|
3182
|
+
"required": [
|
|
3183
|
+
"id",
|
|
3184
|
+
"abilityId",
|
|
3185
|
+
"sourceCardId",
|
|
3186
|
+
"originLabel",
|
|
3187
|
+
"canDecline",
|
|
3188
|
+
"locked",
|
|
3189
|
+
"steps"
|
|
3190
|
+
]
|
|
3191
|
+
},
|
|
2843
3192
|
"EffectRestrictionView": {
|
|
2844
3193
|
"description": "Public restriction category. Raw runtime filters remain engine-private.",
|
|
2845
3194
|
"type": "string",
|
|
@@ -4112,6 +4461,32 @@
|
|
|
4112
4461
|
"declineAbility"
|
|
4113
4462
|
]
|
|
4114
4463
|
},
|
|
4464
|
+
{
|
|
4465
|
+
"type": "object",
|
|
4466
|
+
"properties": {
|
|
4467
|
+
"rewindEffectResolution": {
|
|
4468
|
+
"type": "object",
|
|
4469
|
+
"properties": {
|
|
4470
|
+
"draftId": {
|
|
4471
|
+
"type": "integer",
|
|
4472
|
+
"format": "uint64",
|
|
4473
|
+
"minimum": 0
|
|
4474
|
+
},
|
|
4475
|
+
"stepId": {
|
|
4476
|
+
"type": "string"
|
|
4477
|
+
}
|
|
4478
|
+
},
|
|
4479
|
+
"required": [
|
|
4480
|
+
"draftId",
|
|
4481
|
+
"stepId"
|
|
4482
|
+
]
|
|
4483
|
+
}
|
|
4484
|
+
},
|
|
4485
|
+
"additionalProperties": false,
|
|
4486
|
+
"required": [
|
|
4487
|
+
"rewindEffectResolution"
|
|
4488
|
+
]
|
|
4489
|
+
},
|
|
4115
4490
|
{
|
|
4116
4491
|
"type": "object",
|
|
4117
4492
|
"properties": {
|
|
@@ -4321,6 +4696,28 @@
|
|
|
4321
4696
|
"chooseTriggeredAbilityPlayerOrder"
|
|
4322
4697
|
]
|
|
4323
4698
|
},
|
|
4699
|
+
{
|
|
4700
|
+
"type": "object",
|
|
4701
|
+
"properties": {
|
|
4702
|
+
"chooseDelayedEffectOrder": {
|
|
4703
|
+
"type": "object",
|
|
4704
|
+
"properties": {
|
|
4705
|
+
"occurrenceSequence": {
|
|
4706
|
+
"type": "integer",
|
|
4707
|
+
"format": "uint32",
|
|
4708
|
+
"minimum": 0
|
|
4709
|
+
}
|
|
4710
|
+
},
|
|
4711
|
+
"required": [
|
|
4712
|
+
"occurrenceSequence"
|
|
4713
|
+
]
|
|
4714
|
+
}
|
|
4715
|
+
},
|
|
4716
|
+
"additionalProperties": false,
|
|
4717
|
+
"required": [
|
|
4718
|
+
"chooseDelayedEffectOrder"
|
|
4719
|
+
]
|
|
4720
|
+
},
|
|
4324
4721
|
{
|
|
4325
4722
|
"type": "object",
|
|
4326
4723
|
"properties": {
|
|
@@ -4812,6 +5209,10 @@
|
|
|
4812
5209
|
"maximum": 32767,
|
|
4813
5210
|
"minimum": -32768
|
|
4814
5211
|
},
|
|
5212
|
+
"isCombat": {
|
|
5213
|
+
"description": "Whether this damage packet came from combat rather than an ability,\ncounter, cost, or indirect-damage effect.",
|
|
5214
|
+
"type": "boolean"
|
|
5215
|
+
},
|
|
4815
5216
|
"unitId": {
|
|
4816
5217
|
"type": "integer",
|
|
4817
5218
|
"format": "uint64",
|
|
@@ -4928,6 +5329,10 @@
|
|
|
4928
5329
|
"maximum": 32767,
|
|
4929
5330
|
"minimum": -32768
|
|
4930
5331
|
},
|
|
5332
|
+
"isCombat": {
|
|
5333
|
+
"description": "Whether this damage packet came from combat rather than an ability,\ncounter, cost, or indirect-damage effect.",
|
|
5334
|
+
"type": "boolean"
|
|
5335
|
+
},
|
|
4931
5336
|
"seat": {
|
|
4932
5337
|
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/Seat"
|
|
4933
5338
|
}
|
|
@@ -6458,6 +6863,17 @@
|
|
|
6458
6863
|
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/DelayedEffectView"
|
|
6459
6864
|
}
|
|
6460
6865
|
},
|
|
6866
|
+
"effectResolutionDraft": {
|
|
6867
|
+
"description": "Viewer-owned effect inputs awaiting atomic commit.",
|
|
6868
|
+
"anyOf": [
|
|
6869
|
+
{
|
|
6870
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/EffectResolutionDraftView"
|
|
6871
|
+
},
|
|
6872
|
+
{
|
|
6873
|
+
"type": "null"
|
|
6874
|
+
}
|
|
6875
|
+
]
|
|
6876
|
+
},
|
|
6461
6877
|
"eventsApplied": {
|
|
6462
6878
|
"type": "integer",
|
|
6463
6879
|
"format": "uint64",
|
|
@@ -8796,7 +9212,7 @@
|
|
|
8796
9212
|
"const": "eternal"
|
|
8797
9213
|
},
|
|
8798
9214
|
{
|
|
8799
|
-
"description": "Peasant
|
|
9215
|
+
"description": "Peasant uses Eternal releases, setup rarity exemption, and no suspensions.",
|
|
8800
9216
|
"type": "string",
|
|
8801
9217
|
"const": "peasant"
|
|
8802
9218
|
},
|
|
@@ -9843,6 +10259,15 @@
|
|
|
9843
10259
|
"minimum": 0
|
|
9844
10260
|
}
|
|
9845
10261
|
},
|
|
10262
|
+
"hiddenCandidateCardInstanceIds": {
|
|
10263
|
+
"description": "Physical candidates whose card identities remain hidden from chooser.",
|
|
10264
|
+
"type": "array",
|
|
10265
|
+
"items": {
|
|
10266
|
+
"type": "integer",
|
|
10267
|
+
"format": "uint32",
|
|
10268
|
+
"minimum": 0
|
|
10269
|
+
}
|
|
10270
|
+
},
|
|
9846
10271
|
"hiddenZone": {
|
|
9847
10272
|
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/HiddenZoneKind"
|
|
9848
10273
|
},
|
|
@@ -9953,6 +10378,16 @@
|
|
|
9953
10378
|
}
|
|
9954
10379
|
]
|
|
9955
10380
|
},
|
|
10381
|
+
"PendingAbilityModeChoiceInputKind": {
|
|
10382
|
+
"description": "Specialized input rendered for a mode-choice payload.",
|
|
10383
|
+
"oneOf": [
|
|
10384
|
+
{
|
|
10385
|
+
"description": "Select one exact numeric effect magnitude.",
|
|
10386
|
+
"type": "string",
|
|
10387
|
+
"const": "amount"
|
|
10388
|
+
}
|
|
10389
|
+
]
|
|
10390
|
+
},
|
|
9956
10391
|
"PendingAbilityModeChoiceView": {
|
|
9957
10392
|
"type": "object",
|
|
9958
10393
|
"properties": {
|
|
@@ -9968,6 +10403,17 @@
|
|
|
9968
10403
|
"null"
|
|
9969
10404
|
]
|
|
9970
10405
|
},
|
|
10406
|
+
"inputKind": {
|
|
10407
|
+
"description": "Specialized renderer requested by the engine, absent for ordinary modes.",
|
|
10408
|
+
"anyOf": [
|
|
10409
|
+
{
|
|
10410
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/PendingAbilityModeChoiceInputKind"
|
|
10411
|
+
},
|
|
10412
|
+
{
|
|
10413
|
+
"type": "null"
|
|
10414
|
+
}
|
|
10415
|
+
]
|
|
10416
|
+
},
|
|
9971
10417
|
"label": {
|
|
9972
10418
|
"type": "string"
|
|
9973
10419
|
},
|
|
@@ -10132,6 +10578,13 @@
|
|
|
10132
10578
|
"description": "Whether an optional ability can be explicitly accepted without input.",
|
|
10133
10579
|
"type": "boolean"
|
|
10134
10580
|
},
|
|
10581
|
+
"canDecline": {
|
|
10582
|
+
"description": "Product-level cancellation policy, independent from rules optionality.",
|
|
10583
|
+
"type": [
|
|
10584
|
+
"boolean",
|
|
10585
|
+
"null"
|
|
10586
|
+
]
|
|
10587
|
+
},
|
|
10135
10588
|
"captureOptions": {
|
|
10136
10589
|
"anyOf": [
|
|
10137
10590
|
{
|
|
@@ -10339,6 +10792,20 @@
|
|
|
10339
10792
|
"required": [
|
|
10340
10793
|
"type"
|
|
10341
10794
|
]
|
|
10795
|
+
},
|
|
10796
|
+
{
|
|
10797
|
+
"description": "One player chooses which of their simultaneous delayed effects resolves next.",
|
|
10798
|
+
"type": "object",
|
|
10799
|
+
"properties": {
|
|
10800
|
+
"type": {
|
|
10801
|
+
"type": "string",
|
|
10802
|
+
"const": "delayedEffectOrder"
|
|
10803
|
+
}
|
|
10804
|
+
},
|
|
10805
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/DelayedEffectOrderChoiceView",
|
|
10806
|
+
"required": [
|
|
10807
|
+
"type"
|
|
10808
|
+
]
|
|
10342
10809
|
}
|
|
10343
10810
|
]
|
|
10344
10811
|
},
|
|
@@ -11129,6 +11596,27 @@
|
|
|
11129
11596
|
"chooseTriggeredAbilityPlayerOrder"
|
|
11130
11597
|
]
|
|
11131
11598
|
},
|
|
11599
|
+
{
|
|
11600
|
+
"description": "Delayed-effect ordering prompt for one controller at one timing point.",
|
|
11601
|
+
"type": "object",
|
|
11602
|
+
"properties": {
|
|
11603
|
+
"chooseDelayedEffectOrder": {
|
|
11604
|
+
"type": "object",
|
|
11605
|
+
"properties": {
|
|
11606
|
+
"seat": {
|
|
11607
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/Seat"
|
|
11608
|
+
}
|
|
11609
|
+
},
|
|
11610
|
+
"required": [
|
|
11611
|
+
"seat"
|
|
11612
|
+
]
|
|
11613
|
+
}
|
|
11614
|
+
},
|
|
11615
|
+
"additionalProperties": false,
|
|
11616
|
+
"required": [
|
|
11617
|
+
"chooseDelayedEffectOrder"
|
|
11618
|
+
]
|
|
11619
|
+
},
|
|
11132
11620
|
{
|
|
11133
11621
|
"description": "Regroup prompt asking each undecided seat whether to resource one card\nfrom hand.\nProduced by `round::regroup::{begin_regroup, continue_regroup}`; each\nplayer responds once with `ChooseRegroupResource`.",
|
|
11134
11622
|
"type": "object",
|
|
@@ -498,6 +498,32 @@
|
|
|
498
498
|
"declineAbility"
|
|
499
499
|
]
|
|
500
500
|
},
|
|
501
|
+
{
|
|
502
|
+
"type": "object",
|
|
503
|
+
"properties": {
|
|
504
|
+
"rewindEffectResolution": {
|
|
505
|
+
"type": "object",
|
|
506
|
+
"properties": {
|
|
507
|
+
"draftId": {
|
|
508
|
+
"type": "integer",
|
|
509
|
+
"format": "uint64",
|
|
510
|
+
"minimum": 0
|
|
511
|
+
},
|
|
512
|
+
"stepId": {
|
|
513
|
+
"type": "string"
|
|
514
|
+
}
|
|
515
|
+
},
|
|
516
|
+
"required": [
|
|
517
|
+
"draftId",
|
|
518
|
+
"stepId"
|
|
519
|
+
]
|
|
520
|
+
}
|
|
521
|
+
},
|
|
522
|
+
"additionalProperties": false,
|
|
523
|
+
"required": [
|
|
524
|
+
"rewindEffectResolution"
|
|
525
|
+
]
|
|
526
|
+
},
|
|
501
527
|
{
|
|
502
528
|
"type": "object",
|
|
503
529
|
"properties": {
|
|
@@ -707,6 +733,28 @@
|
|
|
707
733
|
"chooseTriggeredAbilityPlayerOrder"
|
|
708
734
|
]
|
|
709
735
|
},
|
|
736
|
+
{
|
|
737
|
+
"type": "object",
|
|
738
|
+
"properties": {
|
|
739
|
+
"chooseDelayedEffectOrder": {
|
|
740
|
+
"type": "object",
|
|
741
|
+
"properties": {
|
|
742
|
+
"occurrenceSequence": {
|
|
743
|
+
"type": "integer",
|
|
744
|
+
"format": "uint32",
|
|
745
|
+
"minimum": 0
|
|
746
|
+
}
|
|
747
|
+
},
|
|
748
|
+
"required": [
|
|
749
|
+
"occurrenceSequence"
|
|
750
|
+
]
|
|
751
|
+
}
|
|
752
|
+
},
|
|
753
|
+
"additionalProperties": false,
|
|
754
|
+
"required": [
|
|
755
|
+
"chooseDelayedEffectOrder"
|
|
756
|
+
]
|
|
757
|
+
},
|
|
710
758
|
{
|
|
711
759
|
"type": "object",
|
|
712
760
|
"properties": {
|
|
@@ -425,6 +425,10 @@
|
|
|
425
425
|
"maximum": 32767,
|
|
426
426
|
"minimum": -32768
|
|
427
427
|
},
|
|
428
|
+
"isCombat": {
|
|
429
|
+
"description": "Whether this damage packet came from combat rather than an ability,\ncounter, cost, or indirect-damage effect.",
|
|
430
|
+
"type": "boolean"
|
|
431
|
+
},
|
|
428
432
|
"unitId": {
|
|
429
433
|
"type": "integer",
|
|
430
434
|
"format": "uint64",
|
|
@@ -541,6 +545,10 @@
|
|
|
541
545
|
"maximum": 32767,
|
|
542
546
|
"minimum": -32768
|
|
543
547
|
},
|
|
548
|
+
"isCombat": {
|
|
549
|
+
"description": "Whether this damage packet came from combat rather than an ability,\ncounter, cost, or indirect-damage effect.",
|
|
550
|
+
"type": "boolean"
|
|
551
|
+
},
|
|
544
552
|
"seat": {
|
|
545
553
|
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/Seat"
|
|
546
554
|
}
|
|
@@ -61,6 +61,17 @@
|
|
|
61
61
|
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/DelayedEffectView"
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
|
+
"effectResolutionDraft": {
|
|
65
|
+
"description": "Viewer-owned effect inputs awaiting atomic commit.",
|
|
66
|
+
"anyOf": [
|
|
67
|
+
{
|
|
68
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/EffectResolutionDraftView"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"type": "null"
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
},
|
|
64
75
|
"eventsApplied": {
|
|
65
76
|
"type": "integer",
|
|
66
77
|
"format": "uint64",
|