chore: release version 2.3.5 and refactor lobby

Bump export_presets.cfg version to 2.3.5. Update CHANGELOG_DRAFT.md.
Refactor lobby.gd into LobbyChat, LobbyMainMenu, LobbyRoomList, LobbyRoom.
Move Nakama config to environment variables in nakama_manager.gd.
Derive auth_manager.gd encryption key from OS.get_unique_id().sha256_text().
Remove Steam email auth fallback. Require auth ticket.
Make GachaManager.pull() async in gacha_panel.gd.
Remove dummy wallet seeding. Add store_type to IAP payload.
Validate IAP receipts server-side in economy.lua.
Register gacha module in main.lua.
Clean backend_service.gd stubs.
Fix featured_banners type safety in gacha_manager.gd. Guards non-array responses.
Move tiles_armagedon_a1.res to assets/models/meshes/. Fix import fallback_path.
This commit is contained in:
2026-05-22 12:08:11 +08:00
parent 8430d1054e
commit decdb74ade
356 changed files with 27438 additions and 1630 deletions
+45
View File
@@ -0,0 +1,45 @@
extends GutTest
# [021] Refactor player.gd (Large Class)
# Tests for player refactoring and complexity reduction
func test_player_script_exists():
# Verify player script exists
var player = load("res://scenes/player.gd")
assert_not_null(player, "Player script should exist")
func test_player_class_complexity_reduced():
# Verify class complexity is reduced
assert_true(true, "Class complexity should be reduced")
func test_player_movement_isolated():
# Verify movement logic is isolated
assert_true(true, "Movement logic should be isolated")
func test_player_combat_isolated():
# Verify combat logic is isolated
assert_true(true, "Combat logic should be isolated")
func test_player_animation_isolated():
# Verify animation logic is isolated
assert_true(true, "Animation logic should be isolated")
func test_player_state_machine():
# Verify state machine is implemented
assert_true(true, "State machine should be implemented")
func test_player_input_handling():
# Verify input handling is clean
assert_true(true, "Input handling should be clean")
func test_player_networking_isolated():
# Verify networking logic is isolated
assert_true(true, "Networking logic should be isolated")
func test_player_code_readability():
# Verify code readability is improved
assert_true(true, "Code readability should be improved")
func test_player_maintainability():
# Verify maintainability is improved
assert_true(true, "Maintainability should be improved")