fix(server): allow restoring the saved arena lobby

This commit is contained in:
2026-10-04 12:09:39 +08:00
parent 39e0a99201
commit c29204dcb0
4 changed files with 81 additions and 30 deletions
+8 -5
View File
@@ -58,11 +58,14 @@ func TestEmptyPacketCodesReturnsCopy(t *testing.T) {
func TestStandaloneNativeDefaults(t *testing.T) {
for path, want := range map[string]int{
"/EventScheduleInfo": 163,
"/EquipInfo": 34,
"/TodayQuestInfo": 64,
"/UpdateAgeGate": 0,
"/ActiveMap": 0,
"/EventScheduleInfo": 163,
"/EquipInfo": 34,
"/TodayQuestInfo": 64,
"/UpdateAgeGate": 0,
"/ActiveMap": 0,
"/PvpBattleDeckInfo": 87,
"/PvpBattleHistory": 97,
"/PvpBattleOnceRewardInfo": 277,
} {
code, proto, ok, err := Handle(path, wire.AppendVarint(nil, 1, 55))
if err != nil || !ok || code != want || len(proto) != 0 {