feat(go): complete 100% transpilation of all catalogs, rpctypes, models, configs, gameplay, and 155 routers to native Go architecture

This commit is contained in:
CAtlas0784 committed 2026-10-29 05:07:43 +07:00
1 parent 6cf3abfafe
commit e43a310617
1295 files changed
+52846 -149865

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
package methods
//
// Agent summoning contracts (S2C) for the "生成敌人 / 生成NPC" panel sections.
// Field layouts are copied verbatim from the build-4229938 IL2CPP interop assembly
// (BepInEx/interop/Auto.Client.dll -> UX.Game.IGameSceneToClient), which is the client's
// authoritative wire contract. They are identical to the ones used by the dbnb-0.2 branch
// where the whole sequence was verified in-game.
// Only the packets needed to make an agent *appear with a working skeleton* are defined here:
// SyncLogicAgentEnter -> SyncManagedLogicAgent -> SyncRaidBattleUnitAgent
// -> SyncAgentCampInfo -> SyncAttachBattleModule -> SyncUnitAttrs -> SyncUnitHp
// Deliberately NOT included (dbnb-0.2 proved them useless for server-spawned agents, and this
// port only has to defeat the T-pose): SyncUnitHurtEffect, SyncEnemyPrepareDie,
// SyncEnemyPlayAction, SyncActiveWildEnemyGroup, SyncUnitLockTarget, SyncEnemyFightEdict.
//
// SyncAgentCampInfo(68588390). camp 4 = UnitCamp.AllEnemy, 0 = Unknown/civilian.
//
// SyncRaidBattleUnitAgent(68402349) body — UX.Game.RaidBattleUnitAgent (Auto.Reader[764]).
//
// RaidBattleUnitAgent.agentSyncClientInfo (46 fields; Auto.Reader[765]).
// AgentSyncClientInfo.AdherePlatformInfo (always null here; Auto.Reader[717]).
// Link-AI companion metadata (Auto.Reader[1187]). Fashion stays null for template NPCs.
// LinkAIAgentInfo.Fashion (Auto.Reader[1188]).