CDN Integration Mobs

This commit is contained in:
dingo
2025-12-20 16:42:19 -05:00
parent 9d990b8c18
commit 7c29268fa4
13 changed files with 1414 additions and 51 deletions
+7
View File
@@ -136,9 +136,16 @@ func _on_message_received(opcode: int, data: Dictionary):
_handle_death_loot_lost(data)
OpCodes.DUNGEON_LIST_RESPONSE:
_handle_dungeon_list(data)
OpCodes.ASSET_MANIFEST_RESPONSE:
_handle_asset_manifest(data)
_:
print("[GameState] Unhandled opcode: ", opcode)
func _handle_asset_manifest(data: Dictionary):
print("[GameState] Received asset manifest")
if UpdateManager:
UpdateManager.on_manifest_received(data)
func _handle_auth_result(data: Dictionary):
var ok = data.get("ok", data.get("Ok", false))
if ok: