Skip to content

GameStateType_Diff

poslog edited this page Jun 20, 2025 · 1 revision
                "gameStateMessage": {
                    "type": "GameStateType_Diff",
                    "gameStateId": 2,
                    "players": [
                        {
                            "lifeTotal": 20,
                            "systemSeatNumber": 1,
                            "status": "PlayerStatus_InGame",
                            "maxHandSize": 7,
                            "teamId": 1,
                            "timerIds": [
                                1
                            ],
                            "controllerSeatId": 1,
                            "controllerType": "ControllerType_Player",
                            "pendingMessageType": "ClientMessageType_MulliganResp",
                            "startingLifeTotal": 20
                        },
                        {
                            "lifeTotal": 20,
                            "systemSeatNumber": 2,
                            "status": "PlayerStatus_InGame",
                            "maxHandSize": 7,
                            "teamId": 2,
                            "timerIds": [
                                2
                            ],
                            "controllerSeatId": 2,
                            "controllerType": "ControllerType_Player",
                            "pendingMessageType": "ClientMessageType_MulliganResp",
                            "startingLifeTotal": 20
                        }
                    ],
                    "turnInfo": {
                        "activePlayer": 2,
                        "decisionPlayer": 2
                    },
                    "zones": [
                        {
                            "zoneId": 31,
                            "type": "ZoneType_Hand",
                            "visibility": "Visibility_Private",
                            "ownerSeatId": 1,
                            "objectInstanceIds": [
                                169,
                                168,
                                167,
                                166,
                                165,
                                164,
                                163
                            ],
                            "viewers": [
                                1
                            ]
                        },
                        {
                            "zoneId": 32,
                            "type": "ZoneType_Library",
                            "visibility": "Visibility_Hidden",
                            "ownerSeatId": 1,
                            "objectInstanceIds": [
                                170,
                                171,
                                172,
                                173,
                                174,
                                175,
                                176,
                                177,
                                178,
                                179,
                                180,
                                181,
                                182,
                                183,
                                184,
                                185,
                                186,
                                187,
                                188,
                                189,
                                190,
                                191,
                                192,
                                193,
                                194,
                                195,
                                196,
                                197,
                                198,
                                199,
                                200,
                                201,
                                202,
                                203,
                                204,
                                205,
                                206,
                                207,
                                208,
                                209,
                                210,
                                211,
                                212,
                                213,
                                214,
                                215,
                                216,
                                217,
                                218,
                                219,
                                220,
                                221,
                                222
                            ]
                        },
                        {
                            "zoneId": 35,
                            "type": "ZoneType_Hand",
                            "visibility": "Visibility_Private",
                            "ownerSeatId": 2,
                            "objectInstanceIds": [
                                229,
                                228,
                                227,
                                226,
                                225,
                                224,
                                223
                            ],
                            "viewers": [
                                2
                            ]
                        },
                        {
                            "zoneId": 36,
                            "type": "ZoneType_Library",
                            "visibility": "Visibility_Hidden",
                            "ownerSeatId": 2,
                            "objectInstanceIds": [
                                230,
                                231,
                                232,
                                233,
                                234,
                                235,
                                236,
                                237,
                                238,
                                239,
                                240,
                                241,
                                242,
                                243,
                                244,
                                245,
                                246,
                                247,
                                248,
                                249,
                                250,
                                251,
                                252,
                                253,
                                254,
                                255,
                                256,
                                257,
                                258,
                                259,
                                260,
                                261,
                                262,
                                263,
                                264,
                                265,
                                266,
                                267,
                                268,
                                269,
                                270,
                                271,
                                272,
                                273,
                                274,
                                275,
                                276,
                                277,
                                278,
                                279,
                                280,
                                281,
                                282
                            ]
                        }
                    ],
                    "gameObjects": [
                        {
                            "instanceId": 163,
                            "grpId": 73136,
                            "type": "GameObjectType_Card",
                            "zoneId": 31,
                            "visibility": "Visibility_Private",
                            "ownerSeatId": 1,
                            "controllerSeatId": 1,
                            "superTypes": [
                                "SuperType_Basic"
                            ],
                            "cardTypes": [
                                "CardType_Land"
                            ],
                            "subtypes": [
                                "SubType_Plains"
                            ],
                            "viewers": [
                                1
                            ],
                            "name": 648,
                            "abilities": [
                                1001
                            ],
                            "overlayGrpId": 73136
                        },
                        {
                            "instanceId": 164,
                            "grpId": 95769,
                            "type": "GameObjectType_Card",
                            "zoneId": 31,
                            "visibility": "Visibility_Private",
                            "ownerSeatId": 1,
                            "controllerSeatId": 1,
                            "cardTypes": [
                                "CardType_Artifact"
                            ],
                            "viewers": [
                                1
                            ],
                            "name": 927399,
                            "abilities": [
                                188983,
                                1055
                            ],
                            "overlayGrpId": 95769
                        },
                        {
                            "instanceId": 165,
                            "grpId": 96148,
                            "type": "GameObjectType_Card",
                            "zoneId": 31,
                            "visibility": "Visibility_Private",
                            "ownerSeatId": 1,
                            "controllerSeatId": 1,
                            "cardTypes": [
                                "CardType_Artifact"
                            ],
                            "viewers": [
                                1
                            ],
                            "name": 928722,
                            "abilities": [
                                166072,
                                189484
                            ],
                            "overlayGrpId": 96148
                        },
                        {
                            "instanceId": 166,
                            "grpId": 73140,
                            "type": "GameObjectType_Card",
                            "zoneId": 31,
                            "visibility": "Visibility_Private",
                            "ownerSeatId": 1,
                            "controllerSeatId": 1,
                            "superTypes": [
                                "SuperType_Basic"
                            ],
                            "cardTypes": [
                                "CardType_Land"
                            ],
                            "subtypes": [
                                "SubType_Forest"
                            ],
                            "viewers": [
                                1
                            ],
                            "name": 647,
                            "abilities": [
                                1005
                            ],
                            "overlayGrpId": 73140
                        },
                        {
                            "instanceId": 167,
                            "grpId": 90592,
                            "type": "GameObjectType_Card",
                            "zoneId": 31,
                            "visibility": "Visibility_Private",
                            "ownerSeatId": 1,
                            "controllerSeatId": 1,
                            "cardTypes": [
                                "CardType_Artifact",
                                "CardType_Creature"
                            ],
                            "subtypes": [
                                "SubType_Scarecrow"
                            ],
                            "power": {
                                "value": 2
                            },
                            "toughness": {
                                "value": 2
                            },
                            "viewers": [
                                1
                            ],
                            "name": 756920,
                            "abilities": [
                                88132,
                                1055
                            ],
                            "overlayGrpId": 90592
                        },
                        {
                            "instanceId": 168,
                            "grpId": 73138,
                            "type": "GameObjectType_Card",
                            "zoneId": 31,
                            "visibility": "Visibility_Private",
                            "ownerSeatId": 1,
                            "controllerSeatId": 1,
                            "superTypes": [
                                "SuperType_Basic"
                            ],
                            "cardTypes": [
                                "CardType_Land"
                            ],
                            "subtypes": [
                                "SubType_Swamp"
                            ],
                            "viewers": [
                                1
                            ],
                            "name": 653,
                            "abilities": [
                                1003
                            ],
                            "overlayGrpId": 73138
                        },
                        {
                            "instanceId": 169,
                            "grpId": 82289,
                            "type": "GameObjectType_Card",
                            "zoneId": 31,
                            "visibility": "Visibility_Private",
                            "ownerSeatId": 1,
                            "controllerSeatId": 1,
                            "cardTypes": [
                                "CardType_Artifact",
                                "CardType_Creature"
                            ],
                            "subtypes": [
                                "SubType_Construct"
                            ],
                            "power": {
                                "value": 1
                            },
                            "toughness": {
                                "value": 3
                            },
                            "viewers": [
                                1
                            ],
                            "name": 615325,
                            "abilities": [
                                152953
                            ],
                            "overlayGrpId": 82289
                        }
                    ],
                    "annotations": [
                        {
                            "id": 49,
                            "affectorId": 2,
                            "affectedIds": [
                                2
                            ],
                            "type": [
                                "AnnotationType_NewTurnStarted"
                            ]
                        }
                    ],
                    "prevGameStateId": 1,
                    "timers": [
                        {
                            "timerId": 2,
                            "type": "TimerType_Inactivity",
                            "durationSec": 1020,
                            "running": true,
                            "behavior": "TimerBehavior_Timeout",
                            "warningThresholdSec": 990,
                            "elapsedMs": 1
                        }
                    ],
                    "update": "GameStateUpdate_SendAndRecord",
                    "actions": [
                        {
                            "seatId": 1,
                            "action": {
                                "actionType": "ActionType_Cast",
                                "instanceId": 165,
                                "manaCost": [
                                    {
                                        "color": [
                                            "ManaColor_Generic"
                                        ],
                                        "count": 1
                                    }
                                ]
                            }
                        },
                        {
                            "seatId": 1,
                            "action": {
                                "actionType": "ActionType_Cast",
                                "instanceId": 164,
                                "manaCost": [
                                    {
                                        "color": [
                                            "ManaColor_Generic"
                                        ],
                                        "count": 3
                                    }
                                ]
                            }
                        },
                        {
                            "seatId": 1,
                            "action": {
                                "actionType": "ActionType_Cast",
                                "instanceId": 167,
                                "manaCost": [
                                    {
                                        "color": [
                                            "ManaColor_Generic"
                                        ],
                                        "count": 3
                                    }
                                ]
                            }
                        },
                        {
                            "seatId": 1,
                            "action": {
                                "actionType": "ActionType_Cast",
                                "instanceId": 169,
                                "manaCost": [
                                    {
                                        "color": [
                                            "ManaColor_Generic"
                                        ],
                                        "count": 2
                                    }
                                ]
                            }
                        },
                        {
                            "seatId": 1,
                            "action": {
                                "actionType": "ActionType_Play",
                                "instanceId": 163
                            }
                        },
                        {
                            "seatId": 1,
                            "action": {
                                "actionType": "ActionType_Play",
                                "instanceId": 168
                            }
                        },
                        {
                            "seatId": 1,
                            "action": {
                                "actionType": "ActionType_Play",
                                "instanceId": 166
                            }
                        }
                    ]
                }

Clone this wiki locally