Save endgame progress, team presets, technique support and camera controls

This commit is contained in:
CAtlas0784 committed 2026-10-17 23:44:36 +07:00
1 parent a681affdb3
commit 639cef7d19
52 files changed
+11940 -766

No files matched your search

+7 -3
View File
@@ -54,9 +54,13 @@ func init() {
// Implement real RotaterData before answering this one.
handle("GetPamSkinData", func(s *Session, req *goproto.GetPamSkinDataCsReq, rsp *goproto.GetPamSkinDataScRsp) error {
rsp.Retcode = 0
rsp.CurSkin = 0
rsp.UnlockSkinList = []uint32{0}
profile, err := loadProfileResources()
if err != nil {
return err
}
rsp.CurSkin = profile.CurrentPamSkin
rsp.UnlockSkinList = append([]uint32(nil), profile.PamSkins...)
SceneDebugLog("GET_PAM_SKIN current=%d owned=%v", rsp.CurSkin, rsp.UnlockSkinList)
return nil
})