@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
|
@@ -1887,7 +1887,7 @@ export const sdkSchemaCommon = {
|
|
|
1887
1887
|
"const": "eternal"
|
|
1888
1888
|
},
|
|
1889
1889
|
{
|
|
1890
|
-
"description": "
|
|
1890
|
+
"description": "Eternal legality with unrestricted leader/base rarity and low-rarity cards elsewhere.",
|
|
1891
1891
|
"type": "string",
|
|
1892
1892
|
"const": "peasant"
|
|
1893
1893
|
},
|
|
@@ -2533,6 +2533,51 @@ export const sdkSchemaCommon = {
|
|
|
2533
2533
|
}
|
|
2534
2534
|
]
|
|
2535
2535
|
},
|
|
2536
|
+
"DelayedEffectOrderChoiceView": {
|
|
2537
|
+
"description": "Payload for [`PromptState::ChooseDelayedEffectOrder`].",
|
|
2538
|
+
"type": "object",
|
|
2539
|
+
"properties": {
|
|
2540
|
+
"chooser": {
|
|
2541
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/Seat"
|
|
2542
|
+
},
|
|
2543
|
+
"options": {
|
|
2544
|
+
"type": "array",
|
|
2545
|
+
"items": {
|
|
2546
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/DelayedEffectOrderOptionView"
|
|
2547
|
+
}
|
|
2548
|
+
}
|
|
2549
|
+
},
|
|
2550
|
+
"required": [
|
|
2551
|
+
"chooser",
|
|
2552
|
+
"options"
|
|
2553
|
+
]
|
|
2554
|
+
},
|
|
2555
|
+
"DelayedEffectOrderOptionView": {
|
|
2556
|
+
"description": "One delayed effect a controller may resolve next.",
|
|
2557
|
+
"type": "object",
|
|
2558
|
+
"properties": {
|
|
2559
|
+
"label": {
|
|
2560
|
+
"type": "string"
|
|
2561
|
+
},
|
|
2562
|
+
"occurrenceSequence": {
|
|
2563
|
+
"type": "integer",
|
|
2564
|
+
"format": "uint32",
|
|
2565
|
+
"minimum": 0
|
|
2566
|
+
},
|
|
2567
|
+
"sourceCardId": {
|
|
2568
|
+
"type": [
|
|
2569
|
+
"integer",
|
|
2570
|
+
"null"
|
|
2571
|
+
],
|
|
2572
|
+
"format": "uint32",
|
|
2573
|
+
"minimum": 0
|
|
2574
|
+
}
|
|
2575
|
+
},
|
|
2576
|
+
"required": [
|
|
2577
|
+
"occurrenceSequence",
|
|
2578
|
+
"label"
|
|
2579
|
+
]
|
|
2580
|
+
},
|
|
2536
2581
|
"DelayedEffectTimingView": {
|
|
2537
2582
|
"description": "Public trigger point for a delayed effect.",
|
|
2538
2583
|
"oneOf": [
|
|
@@ -2977,6 +3022,310 @@ export const sdkSchemaCommon = {
|
|
|
2977
3022
|
"persistent"
|
|
2978
3023
|
]
|
|
2979
3024
|
},
|
|
3025
|
+
"EffectResolutionDraftStepView": {
|
|
3026
|
+
"description": "One selected draft answer. `step_id` remains stable across projection.",
|
|
3027
|
+
"oneOf": [
|
|
3028
|
+
{
|
|
3029
|
+
"type": "object",
|
|
3030
|
+
"properties": {
|
|
3031
|
+
"editable": {
|
|
3032
|
+
"type": "boolean"
|
|
3033
|
+
},
|
|
3034
|
+
"kind": {
|
|
3035
|
+
"type": "string",
|
|
3036
|
+
"const": "target"
|
|
3037
|
+
},
|
|
3038
|
+
"label": {
|
|
3039
|
+
"type": "string"
|
|
3040
|
+
},
|
|
3041
|
+
"purpose": {
|
|
3042
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/TargetGroupPurpose"
|
|
3043
|
+
},
|
|
3044
|
+
"selected": {
|
|
3045
|
+
"type": "array",
|
|
3046
|
+
"items": {
|
|
3047
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/AbilityTarget"
|
|
3048
|
+
}
|
|
3049
|
+
},
|
|
3050
|
+
"stepId": {
|
|
3051
|
+
"type": "string"
|
|
3052
|
+
}
|
|
3053
|
+
},
|
|
3054
|
+
"required": [
|
|
3055
|
+
"kind",
|
|
3056
|
+
"stepId",
|
|
3057
|
+
"label",
|
|
3058
|
+
"purpose",
|
|
3059
|
+
"selected",
|
|
3060
|
+
"editable"
|
|
3061
|
+
]
|
|
3062
|
+
},
|
|
3063
|
+
{
|
|
3064
|
+
"type": "object",
|
|
3065
|
+
"properties": {
|
|
3066
|
+
"editable": {
|
|
3067
|
+
"type": "boolean"
|
|
3068
|
+
},
|
|
3069
|
+
"kind": {
|
|
3070
|
+
"type": "string",
|
|
3071
|
+
"const": "amount"
|
|
3072
|
+
},
|
|
3073
|
+
"label": {
|
|
3074
|
+
"type": "string"
|
|
3075
|
+
},
|
|
3076
|
+
"selected": {
|
|
3077
|
+
"type": "integer",
|
|
3078
|
+
"format": "int16",
|
|
3079
|
+
"maximum": 32767,
|
|
3080
|
+
"minimum": -32768
|
|
3081
|
+
},
|
|
3082
|
+
"stepId": {
|
|
3083
|
+
"type": "string"
|
|
3084
|
+
}
|
|
3085
|
+
},
|
|
3086
|
+
"required": [
|
|
3087
|
+
"kind",
|
|
3088
|
+
"stepId",
|
|
3089
|
+
"label",
|
|
3090
|
+
"selected",
|
|
3091
|
+
"editable"
|
|
3092
|
+
]
|
|
3093
|
+
},
|
|
3094
|
+
{
|
|
3095
|
+
"type": "object",
|
|
3096
|
+
"properties": {
|
|
3097
|
+
"editable": {
|
|
3098
|
+
"type": "boolean"
|
|
3099
|
+
},
|
|
3100
|
+
"kind": {
|
|
3101
|
+
"type": "string",
|
|
3102
|
+
"const": "modes"
|
|
3103
|
+
},
|
|
3104
|
+
"label": {
|
|
3105
|
+
"type": "string"
|
|
3106
|
+
},
|
|
3107
|
+
"selected": {
|
|
3108
|
+
"type": "array",
|
|
3109
|
+
"items": {
|
|
3110
|
+
"type": "integer",
|
|
3111
|
+
"format": "uint",
|
|
3112
|
+
"minimum": 0
|
|
3113
|
+
}
|
|
3114
|
+
},
|
|
3115
|
+
"stepId": {
|
|
3116
|
+
"type": "string"
|
|
3117
|
+
}
|
|
3118
|
+
},
|
|
3119
|
+
"required": [
|
|
3120
|
+
"kind",
|
|
3121
|
+
"stepId",
|
|
3122
|
+
"label",
|
|
3123
|
+
"selected",
|
|
3124
|
+
"editable"
|
|
3125
|
+
]
|
|
3126
|
+
},
|
|
3127
|
+
{
|
|
3128
|
+
"type": "object",
|
|
3129
|
+
"properties": {
|
|
3130
|
+
"editable": {
|
|
3131
|
+
"type": "boolean"
|
|
3132
|
+
},
|
|
3133
|
+
"kind": {
|
|
3134
|
+
"type": "string",
|
|
3135
|
+
"const": "cards"
|
|
3136
|
+
},
|
|
3137
|
+
"label": {
|
|
3138
|
+
"type": "string"
|
|
3139
|
+
},
|
|
3140
|
+
"selected": {
|
|
3141
|
+
"type": "array",
|
|
3142
|
+
"items": {
|
|
3143
|
+
"type": "integer",
|
|
3144
|
+
"format": "uint32",
|
|
3145
|
+
"minimum": 0
|
|
3146
|
+
}
|
|
3147
|
+
},
|
|
3148
|
+
"stepId": {
|
|
3149
|
+
"type": "string"
|
|
3150
|
+
}
|
|
3151
|
+
},
|
|
3152
|
+
"required": [
|
|
3153
|
+
"kind",
|
|
3154
|
+
"stepId",
|
|
3155
|
+
"label",
|
|
3156
|
+
"selected",
|
|
3157
|
+
"editable"
|
|
3158
|
+
]
|
|
3159
|
+
},
|
|
3160
|
+
{
|
|
3161
|
+
"type": "object",
|
|
3162
|
+
"properties": {
|
|
3163
|
+
"editable": {
|
|
3164
|
+
"type": "boolean"
|
|
3165
|
+
},
|
|
3166
|
+
"kind": {
|
|
3167
|
+
"type": "string",
|
|
3168
|
+
"const": "name"
|
|
3169
|
+
},
|
|
3170
|
+
"label": {
|
|
3171
|
+
"type": "string"
|
|
3172
|
+
},
|
|
3173
|
+
"selected": {
|
|
3174
|
+
"type": "string"
|
|
3175
|
+
},
|
|
3176
|
+
"stepId": {
|
|
3177
|
+
"type": "string"
|
|
3178
|
+
}
|
|
3179
|
+
},
|
|
3180
|
+
"required": [
|
|
3181
|
+
"kind",
|
|
3182
|
+
"stepId",
|
|
3183
|
+
"label",
|
|
3184
|
+
"selected",
|
|
3185
|
+
"editable"
|
|
3186
|
+
]
|
|
3187
|
+
},
|
|
3188
|
+
{
|
|
3189
|
+
"type": "object",
|
|
3190
|
+
"properties": {
|
|
3191
|
+
"editable": {
|
|
3192
|
+
"type": "boolean"
|
|
3193
|
+
},
|
|
3194
|
+
"kind": {
|
|
3195
|
+
"type": "string",
|
|
3196
|
+
"const": "aspect"
|
|
3197
|
+
},
|
|
3198
|
+
"label": {
|
|
3199
|
+
"type": "string"
|
|
3200
|
+
},
|
|
3201
|
+
"selected": {
|
|
3202
|
+
"type": "string"
|
|
3203
|
+
},
|
|
3204
|
+
"stepId": {
|
|
3205
|
+
"type": "string"
|
|
3206
|
+
}
|
|
3207
|
+
},
|
|
3208
|
+
"required": [
|
|
3209
|
+
"kind",
|
|
3210
|
+
"stepId",
|
|
3211
|
+
"label",
|
|
3212
|
+
"selected",
|
|
3213
|
+
"editable"
|
|
3214
|
+
]
|
|
3215
|
+
},
|
|
3216
|
+
{
|
|
3217
|
+
"type": "object",
|
|
3218
|
+
"properties": {
|
|
3219
|
+
"attackerId": {
|
|
3220
|
+
"type": "integer",
|
|
3221
|
+
"format": "uint64",
|
|
3222
|
+
"minimum": 0
|
|
3223
|
+
},
|
|
3224
|
+
"editable": {
|
|
3225
|
+
"type": "boolean"
|
|
3226
|
+
},
|
|
3227
|
+
"kind": {
|
|
3228
|
+
"type": "string",
|
|
3229
|
+
"const": "attack"
|
|
3230
|
+
},
|
|
3231
|
+
"label": {
|
|
3232
|
+
"type": "string"
|
|
3233
|
+
},
|
|
3234
|
+
"stepId": {
|
|
3235
|
+
"type": "string"
|
|
3236
|
+
},
|
|
3237
|
+
"target": {
|
|
3238
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/AttackTarget"
|
|
3239
|
+
}
|
|
3240
|
+
},
|
|
3241
|
+
"required": [
|
|
3242
|
+
"kind",
|
|
3243
|
+
"stepId",
|
|
3244
|
+
"label",
|
|
3245
|
+
"attackerId",
|
|
3246
|
+
"target",
|
|
3247
|
+
"editable"
|
|
3248
|
+
]
|
|
3249
|
+
},
|
|
3250
|
+
{
|
|
3251
|
+
"type": "object",
|
|
3252
|
+
"properties": {
|
|
3253
|
+
"editable": {
|
|
3254
|
+
"type": "boolean"
|
|
3255
|
+
},
|
|
3256
|
+
"kind": {
|
|
3257
|
+
"type": "string",
|
|
3258
|
+
"const": "distribution"
|
|
3259
|
+
},
|
|
3260
|
+
"label": {
|
|
3261
|
+
"type": "string"
|
|
3262
|
+
},
|
|
3263
|
+
"selected": {
|
|
3264
|
+
"type": "array",
|
|
3265
|
+
"items": {
|
|
3266
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/DistributionAssignment"
|
|
3267
|
+
}
|
|
3268
|
+
},
|
|
3269
|
+
"stepId": {
|
|
3270
|
+
"type": "string"
|
|
3271
|
+
}
|
|
3272
|
+
},
|
|
3273
|
+
"required": [
|
|
3274
|
+
"kind",
|
|
3275
|
+
"stepId",
|
|
3276
|
+
"label",
|
|
3277
|
+
"selected",
|
|
3278
|
+
"editable"
|
|
3279
|
+
]
|
|
3280
|
+
}
|
|
3281
|
+
]
|
|
3282
|
+
},
|
|
3283
|
+
"EffectResolutionDraftView": {
|
|
3284
|
+
"description": "Engine-owned answers collected for one uncommitted semantic effect.",
|
|
3285
|
+
"type": "object",
|
|
3286
|
+
"properties": {
|
|
3287
|
+
"abilityId": {
|
|
3288
|
+
"type": "integer",
|
|
3289
|
+
"format": "uint64",
|
|
3290
|
+
"minimum": 0
|
|
3291
|
+
},
|
|
3292
|
+
"canDecline": {
|
|
3293
|
+
"type": "boolean"
|
|
3294
|
+
},
|
|
3295
|
+
"id": {
|
|
3296
|
+
"type": "integer",
|
|
3297
|
+
"format": "uint64",
|
|
3298
|
+
"minimum": 0
|
|
3299
|
+
},
|
|
3300
|
+
"locked": {
|
|
3301
|
+
"type": "boolean"
|
|
3302
|
+
},
|
|
3303
|
+
"originLabel": {
|
|
3304
|
+
"description": "Printed label of originating effect, retained for descendants.",
|
|
3305
|
+
"type": "string"
|
|
3306
|
+
},
|
|
3307
|
+
"sourceCardId": {
|
|
3308
|
+
"type": "integer",
|
|
3309
|
+
"format": "uint32",
|
|
3310
|
+
"minimum": 0
|
|
3311
|
+
},
|
|
3312
|
+
"steps": {
|
|
3313
|
+
"type": "array",
|
|
3314
|
+
"items": {
|
|
3315
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/EffectResolutionDraftStepView"
|
|
3316
|
+
}
|
|
3317
|
+
}
|
|
3318
|
+
},
|
|
3319
|
+
"required": [
|
|
3320
|
+
"id",
|
|
3321
|
+
"abilityId",
|
|
3322
|
+
"sourceCardId",
|
|
3323
|
+
"originLabel",
|
|
3324
|
+
"canDecline",
|
|
3325
|
+
"locked",
|
|
3326
|
+
"steps"
|
|
3327
|
+
]
|
|
3328
|
+
},
|
|
2980
3329
|
"EffectRestrictionView": {
|
|
2981
3330
|
"description": "Public restriction category. Raw runtime filters remain engine-private.",
|
|
2982
3331
|
"type": "string",
|
|
@@ -4249,6 +4598,32 @@ export const sdkSchemaCommon = {
|
|
|
4249
4598
|
"declineAbility"
|
|
4250
4599
|
]
|
|
4251
4600
|
},
|
|
4601
|
+
{
|
|
4602
|
+
"type": "object",
|
|
4603
|
+
"properties": {
|
|
4604
|
+
"rewindEffectResolution": {
|
|
4605
|
+
"type": "object",
|
|
4606
|
+
"properties": {
|
|
4607
|
+
"draftId": {
|
|
4608
|
+
"type": "integer",
|
|
4609
|
+
"format": "uint64",
|
|
4610
|
+
"minimum": 0
|
|
4611
|
+
},
|
|
4612
|
+
"stepId": {
|
|
4613
|
+
"type": "string"
|
|
4614
|
+
}
|
|
4615
|
+
},
|
|
4616
|
+
"required": [
|
|
4617
|
+
"draftId",
|
|
4618
|
+
"stepId"
|
|
4619
|
+
]
|
|
4620
|
+
}
|
|
4621
|
+
},
|
|
4622
|
+
"additionalProperties": false,
|
|
4623
|
+
"required": [
|
|
4624
|
+
"rewindEffectResolution"
|
|
4625
|
+
]
|
|
4626
|
+
},
|
|
4252
4627
|
{
|
|
4253
4628
|
"type": "object",
|
|
4254
4629
|
"properties": {
|
|
@@ -4458,6 +4833,28 @@ export const sdkSchemaCommon = {
|
|
|
4458
4833
|
"chooseTriggeredAbilityPlayerOrder"
|
|
4459
4834
|
]
|
|
4460
4835
|
},
|
|
4836
|
+
{
|
|
4837
|
+
"type": "object",
|
|
4838
|
+
"properties": {
|
|
4839
|
+
"chooseDelayedEffectOrder": {
|
|
4840
|
+
"type": "object",
|
|
4841
|
+
"properties": {
|
|
4842
|
+
"occurrenceSequence": {
|
|
4843
|
+
"type": "integer",
|
|
4844
|
+
"format": "uint32",
|
|
4845
|
+
"minimum": 0
|
|
4846
|
+
}
|
|
4847
|
+
},
|
|
4848
|
+
"required": [
|
|
4849
|
+
"occurrenceSequence"
|
|
4850
|
+
]
|
|
4851
|
+
}
|
|
4852
|
+
},
|
|
4853
|
+
"additionalProperties": false,
|
|
4854
|
+
"required": [
|
|
4855
|
+
"chooseDelayedEffectOrder"
|
|
4856
|
+
]
|
|
4857
|
+
},
|
|
4461
4858
|
{
|
|
4462
4859
|
"type": "object",
|
|
4463
4860
|
"properties": {
|
|
@@ -4949,6 +5346,10 @@ export const sdkSchemaCommon = {
|
|
|
4949
5346
|
"maximum": 32767,
|
|
4950
5347
|
"minimum": -32768
|
|
4951
5348
|
},
|
|
5349
|
+
"isCombat": {
|
|
5350
|
+
"description": "Whether this damage packet came from combat rather than an ability,\ncounter, cost, or indirect-damage effect.",
|
|
5351
|
+
"type": "boolean"
|
|
5352
|
+
},
|
|
4952
5353
|
"unitId": {
|
|
4953
5354
|
"type": "integer",
|
|
4954
5355
|
"format": "uint64",
|
|
@@ -5065,6 +5466,10 @@ export const sdkSchemaCommon = {
|
|
|
5065
5466
|
"maximum": 32767,
|
|
5066
5467
|
"minimum": -32768
|
|
5067
5468
|
},
|
|
5469
|
+
"isCombat": {
|
|
5470
|
+
"description": "Whether this damage packet came from combat rather than an ability,\ncounter, cost, or indirect-damage effect.",
|
|
5471
|
+
"type": "boolean"
|
|
5472
|
+
},
|
|
5068
5473
|
"seat": {
|
|
5069
5474
|
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/Seat"
|
|
5070
5475
|
}
|
|
@@ -6595,6 +7000,17 @@ export const sdkSchemaCommon = {
|
|
|
6595
7000
|
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/DelayedEffectView"
|
|
6596
7001
|
}
|
|
6597
7002
|
},
|
|
7003
|
+
"effectResolutionDraft": {
|
|
7004
|
+
"description": "Viewer-owned effect inputs awaiting atomic commit.",
|
|
7005
|
+
"anyOf": [
|
|
7006
|
+
{
|
|
7007
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/EffectResolutionDraftView"
|
|
7008
|
+
},
|
|
7009
|
+
{
|
|
7010
|
+
"type": "null"
|
|
7011
|
+
}
|
|
7012
|
+
]
|
|
7013
|
+
},
|
|
6598
7014
|
"eventsApplied": {
|
|
6599
7015
|
"type": "integer",
|
|
6600
7016
|
"format": "uint64",
|
|
@@ -8933,7 +9349,7 @@ export const sdkSchemaCommon = {
|
|
|
8933
9349
|
"const": "eternal"
|
|
8934
9350
|
},
|
|
8935
9351
|
{
|
|
8936
|
-
"description": "Peasant
|
|
9352
|
+
"description": "Peasant uses Eternal releases, setup rarity exemption, and no suspensions.",
|
|
8937
9353
|
"type": "string",
|
|
8938
9354
|
"const": "peasant"
|
|
8939
9355
|
},
|
|
@@ -9980,6 +10396,15 @@ export const sdkSchemaCommon = {
|
|
|
9980
10396
|
"minimum": 0
|
|
9981
10397
|
}
|
|
9982
10398
|
},
|
|
10399
|
+
"hiddenCandidateCardInstanceIds": {
|
|
10400
|
+
"description": "Physical candidates whose card identities remain hidden from chooser.",
|
|
10401
|
+
"type": "array",
|
|
10402
|
+
"items": {
|
|
10403
|
+
"type": "integer",
|
|
10404
|
+
"format": "uint32",
|
|
10405
|
+
"minimum": 0
|
|
10406
|
+
}
|
|
10407
|
+
},
|
|
9983
10408
|
"hiddenZone": {
|
|
9984
10409
|
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/HiddenZoneKind"
|
|
9985
10410
|
},
|
|
@@ -10090,6 +10515,16 @@ export const sdkSchemaCommon = {
|
|
|
10090
10515
|
}
|
|
10091
10516
|
]
|
|
10092
10517
|
},
|
|
10518
|
+
"PendingAbilityModeChoiceInputKind": {
|
|
10519
|
+
"description": "Specialized input rendered for a mode-choice payload.",
|
|
10520
|
+
"oneOf": [
|
|
10521
|
+
{
|
|
10522
|
+
"description": "Select one exact numeric effect magnitude.",
|
|
10523
|
+
"type": "string",
|
|
10524
|
+
"const": "amount"
|
|
10525
|
+
}
|
|
10526
|
+
]
|
|
10527
|
+
},
|
|
10093
10528
|
"PendingAbilityModeChoiceView": {
|
|
10094
10529
|
"type": "object",
|
|
10095
10530
|
"properties": {
|
|
@@ -10105,6 +10540,17 @@ export const sdkSchemaCommon = {
|
|
|
10105
10540
|
"null"
|
|
10106
10541
|
]
|
|
10107
10542
|
},
|
|
10543
|
+
"inputKind": {
|
|
10544
|
+
"description": "Specialized renderer requested by the engine, absent for ordinary modes.",
|
|
10545
|
+
"anyOf": [
|
|
10546
|
+
{
|
|
10547
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/PendingAbilityModeChoiceInputKind"
|
|
10548
|
+
},
|
|
10549
|
+
{
|
|
10550
|
+
"type": "null"
|
|
10551
|
+
}
|
|
10552
|
+
]
|
|
10553
|
+
},
|
|
10108
10554
|
"label": {
|
|
10109
10555
|
"type": "string"
|
|
10110
10556
|
},
|
|
@@ -10269,6 +10715,13 @@ export const sdkSchemaCommon = {
|
|
|
10269
10715
|
"description": "Whether an optional ability can be explicitly accepted without input.",
|
|
10270
10716
|
"type": "boolean"
|
|
10271
10717
|
},
|
|
10718
|
+
"canDecline": {
|
|
10719
|
+
"description": "Product-level cancellation policy, independent from rules optionality.",
|
|
10720
|
+
"type": [
|
|
10721
|
+
"boolean",
|
|
10722
|
+
"null"
|
|
10723
|
+
]
|
|
10724
|
+
},
|
|
10272
10725
|
"captureOptions": {
|
|
10273
10726
|
"anyOf": [
|
|
10274
10727
|
{
|
|
@@ -10476,6 +10929,20 @@ export const sdkSchemaCommon = {
|
|
|
10476
10929
|
"required": [
|
|
10477
10930
|
"type"
|
|
10478
10931
|
]
|
|
10932
|
+
},
|
|
10933
|
+
{
|
|
10934
|
+
"description": "One player chooses which of their simultaneous delayed effects resolves next.",
|
|
10935
|
+
"type": "object",
|
|
10936
|
+
"properties": {
|
|
10937
|
+
"type": {
|
|
10938
|
+
"type": "string",
|
|
10939
|
+
"const": "delayedEffectOrder"
|
|
10940
|
+
}
|
|
10941
|
+
},
|
|
10942
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/DelayedEffectOrderChoiceView",
|
|
10943
|
+
"required": [
|
|
10944
|
+
"type"
|
|
10945
|
+
]
|
|
10479
10946
|
}
|
|
10480
10947
|
]
|
|
10481
10948
|
},
|
|
@@ -11266,6 +11733,27 @@ export const sdkSchemaCommon = {
|
|
|
11266
11733
|
"chooseTriggeredAbilityPlayerOrder"
|
|
11267
11734
|
]
|
|
11268
11735
|
},
|
|
11736
|
+
{
|
|
11737
|
+
"description": "Delayed-effect ordering prompt for one controller at one timing point.",
|
|
11738
|
+
"type": "object",
|
|
11739
|
+
"properties": {
|
|
11740
|
+
"chooseDelayedEffectOrder": {
|
|
11741
|
+
"type": "object",
|
|
11742
|
+
"properties": {
|
|
11743
|
+
"seat": {
|
|
11744
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/Seat"
|
|
11745
|
+
}
|
|
11746
|
+
},
|
|
11747
|
+
"required": [
|
|
11748
|
+
"seat"
|
|
11749
|
+
]
|
|
11750
|
+
}
|
|
11751
|
+
},
|
|
11752
|
+
"additionalProperties": false,
|
|
11753
|
+
"required": [
|
|
11754
|
+
"chooseDelayedEffectOrder"
|
|
11755
|
+
]
|
|
11756
|
+
},
|
|
11269
11757
|
{
|
|
11270
11758
|
"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`.",
|
|
11271
11759
|
"type": "object",
|
|
@@ -14376,12 +14864,17 @@ export const sdkSchemas = {
|
|
|
14376
14864
|
"title": "HealthResponse",
|
|
14377
14865
|
"type": "object",
|
|
14378
14866
|
"properties": {
|
|
14867
|
+
"buildSha": {
|
|
14868
|
+
"description": "Exact source revision compiled into the running server.",
|
|
14869
|
+
"type": "string"
|
|
14870
|
+
},
|
|
14379
14871
|
"status": {
|
|
14380
14872
|
"type": "string"
|
|
14381
14873
|
}
|
|
14382
14874
|
},
|
|
14383
14875
|
"required": [
|
|
14384
|
-
"status"
|
|
14876
|
+
"status",
|
|
14877
|
+
"buildSha"
|
|
14385
14878
|
]
|
|
14386
14879
|
},
|
|
14387
14880
|
'simulator-availability-response': {
|
|
@@ -18485,6 +18978,32 @@ export const sdkSchemas = {
|
|
|
18485
18978
|
"declineAbility"
|
|
18486
18979
|
]
|
|
18487
18980
|
},
|
|
18981
|
+
{
|
|
18982
|
+
"type": "object",
|
|
18983
|
+
"properties": {
|
|
18984
|
+
"rewindEffectResolution": {
|
|
18985
|
+
"type": "object",
|
|
18986
|
+
"properties": {
|
|
18987
|
+
"draftId": {
|
|
18988
|
+
"type": "integer",
|
|
18989
|
+
"format": "uint64",
|
|
18990
|
+
"minimum": 0
|
|
18991
|
+
},
|
|
18992
|
+
"stepId": {
|
|
18993
|
+
"type": "string"
|
|
18994
|
+
}
|
|
18995
|
+
},
|
|
18996
|
+
"required": [
|
|
18997
|
+
"draftId",
|
|
18998
|
+
"stepId"
|
|
18999
|
+
]
|
|
19000
|
+
}
|
|
19001
|
+
},
|
|
19002
|
+
"additionalProperties": false,
|
|
19003
|
+
"required": [
|
|
19004
|
+
"rewindEffectResolution"
|
|
19005
|
+
]
|
|
19006
|
+
},
|
|
18488
19007
|
{
|
|
18489
19008
|
"type": "object",
|
|
18490
19009
|
"properties": {
|
|
@@ -18694,6 +19213,28 @@ export const sdkSchemas = {
|
|
|
18694
19213
|
"chooseTriggeredAbilityPlayerOrder"
|
|
18695
19214
|
]
|
|
18696
19215
|
},
|
|
19216
|
+
{
|
|
19217
|
+
"type": "object",
|
|
19218
|
+
"properties": {
|
|
19219
|
+
"chooseDelayedEffectOrder": {
|
|
19220
|
+
"type": "object",
|
|
19221
|
+
"properties": {
|
|
19222
|
+
"occurrenceSequence": {
|
|
19223
|
+
"type": "integer",
|
|
19224
|
+
"format": "uint32",
|
|
19225
|
+
"minimum": 0
|
|
19226
|
+
}
|
|
19227
|
+
},
|
|
19228
|
+
"required": [
|
|
19229
|
+
"occurrenceSequence"
|
|
19230
|
+
]
|
|
19231
|
+
}
|
|
19232
|
+
},
|
|
19233
|
+
"additionalProperties": false,
|
|
19234
|
+
"required": [
|
|
19235
|
+
"chooseDelayedEffectOrder"
|
|
19236
|
+
]
|
|
19237
|
+
},
|
|
18697
19238
|
{
|
|
18698
19239
|
"type": "object",
|
|
18699
19240
|
"properties": {
|
|
@@ -19187,6 +19728,10 @@ export const sdkSchemas = {
|
|
|
19187
19728
|
"maximum": 32767,
|
|
19188
19729
|
"minimum": -32768
|
|
19189
19730
|
},
|
|
19731
|
+
"isCombat": {
|
|
19732
|
+
"description": "Whether this damage packet came from combat rather than an ability,\ncounter, cost, or indirect-damage effect.",
|
|
19733
|
+
"type": "boolean"
|
|
19734
|
+
},
|
|
19190
19735
|
"unitId": {
|
|
19191
19736
|
"type": "integer",
|
|
19192
19737
|
"format": "uint64",
|
|
@@ -19303,6 +19848,10 @@ export const sdkSchemas = {
|
|
|
19303
19848
|
"maximum": 32767,
|
|
19304
19849
|
"minimum": -32768
|
|
19305
19850
|
},
|
|
19851
|
+
"isCombat": {
|
|
19852
|
+
"description": "Whether this damage packet came from combat rather than an ability,\ncounter, cost, or indirect-damage effect.",
|
|
19853
|
+
"type": "boolean"
|
|
19854
|
+
},
|
|
19306
19855
|
"seat": {
|
|
19307
19856
|
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/Seat"
|
|
19308
19857
|
}
|
|
@@ -20835,6 +21384,17 @@ export const sdkSchemas = {
|
|
|
20835
21384
|
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/DelayedEffectView"
|
|
20836
21385
|
}
|
|
20837
21386
|
},
|
|
21387
|
+
"effectResolutionDraft": {
|
|
21388
|
+
"description": "Viewer-owned effect inputs awaiting atomic commit.",
|
|
21389
|
+
"anyOf": [
|
|
21390
|
+
{
|
|
21391
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/EffectResolutionDraftView"
|
|
21392
|
+
},
|
|
21393
|
+
{
|
|
21394
|
+
"type": "null"
|
|
21395
|
+
}
|
|
21396
|
+
]
|
|
21397
|
+
},
|
|
20838
21398
|
"eventsApplied": {
|
|
20839
21399
|
"type": "integer",
|
|
20840
21400
|
"format": "uint64",
|