CDN Integration Mobs
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user