Set web client to 2e3e284 baseline for confirmation
This commit is contained in:
@@ -46,10 +46,6 @@ signal player_eliminated(session_id: String, eliminated_account_id: String, seat
|
||||
## event_type: "started" | "ended"
|
||||
signal game_activity(event_type: String, session_id: String)
|
||||
|
||||
## Emitted when a Triggered ability needs the local player to pick a target.
|
||||
## Payload keys: requestId, sourceInstanceId, abilityName, actionJson, rangeJson
|
||||
signal triggered_target_request(request_data: Dictionary)
|
||||
|
||||
# ── State ─────────────────────────────────────────────────────────────────────
|
||||
|
||||
var session_id : String = ""
|
||||
@@ -337,13 +333,6 @@ func send_activate_ability(source_id: String, ability_index: int,
|
||||
payload["targets"] = targets
|
||||
_game_request("game.activate_ability", payload)
|
||||
|
||||
|
||||
func send_triggered_target_response(request_id: String, targets: Array) -> void:
|
||||
var payload : Dictionary = { "requestId": request_id }
|
||||
if not targets.is_empty():
|
||||
payload["targets"] = targets
|
||||
_game_request("game.triggered_target", payload)
|
||||
|
||||
# ── Private ───────────────────────────────────────────────────────────────────
|
||||
|
||||
func _game_request(msg_type: String, extra: Dictionary) -> void:
|
||||
@@ -659,6 +648,3 @@ func _on_server_push(type: String, payload: Variant) -> void:
|
||||
var ev_type : String = str(d.get("eventType", ""))
|
||||
var ev_sid : String = str(d.get("sessionId", ""))
|
||||
game_activity.emit(ev_type, ev_sid)
|
||||
|
||||
"game.ability.triggered_target_request":
|
||||
triggered_target_request.emit(payload as Dictionary)
|
||||
|
||||
Reference in New Issue
Block a user