Files
AVA2/docs/AVA2-PYTHON-INTERFACES.json
T
shenleiandClaude Opus 5.5 9077aa389a AVA2 client Windows parity passes (gr2 BitKnit2/64-bit, GamePhase handlers, python modules)
- gr2: BitKnit2 decompression, 64-bit LE files, compressed curves
- net: remaining GamePhase handlers, generated GC packet table
- python: event/chat/chr/minimap/guild/quest/messenger/shop-search and
  other native modules ported against the AVA2 Windows client
- render: D3D8 fixed-function lighting in Gr2ModelRenderer, terrain
  without baked shade; cape/NPC equipment attachment
- tests + audits updated; docs/PORT-PLAN.md and WINDOWS-PARITY.md

Batch 4 (render pipeline: background.*, app.RenderGame/UpdateGame,
camera bindings, main.cpp fake-content removal) is still in progress.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 10:43:01 +09:00

868 lines
23 KiB
JSON

{
"basis": "AVA2 Windows project-compiled active method tables; module constants/signatures/behavior require further audit",
"modules": [
{
"module": "ServerStateChecker",
"windows_file": "upstream/ava2-client/UserInterface/ServerStateCheckerModule.cpp",
"port_file": "src/python_native_modules.cpp",
"windows_methods": 5,
"missing": [],
"extra": [],
"placeholder": [
"AddChannel",
"Create",
"Initialize",
"Request",
"Update"
]
},
{
"module": "app",
"windows_file": "upstream/ava2-client/UserInterface/PythonApplicationModule.cpp",
"port_file": "src/python_app.cpp",
"windows_methods": 116,
"missing": [],
"extra": [],
"placeholder": [
"EnablePerformanceTime",
"EnableSpecialCameraMode",
"FlashApplication",
"ForceSetLocale",
"GetAvailableTextureMemory",
"GetCamera",
"GetCameraPitch",
"GetCameraRotation",
"GetConnectData",
"GetCursor",
"GetCursorPosition",
"GetDegreeDifference",
"GetFaceCount",
"GetFaceSpeed",
"GetFileList",
"GetImageInfo",
"GetInfo",
"GetLoad",
"GetRenderFPS",
"GetRenderTime",
"GetRotatingDirection",
"GetUpdateFPS",
"GetUpdateTime",
"HideCursor",
"HideWebPage",
"IsCHEONMA",
"IsCanOpenRender",
"IsDevStage",
"IsExistFile",
"IsFileExist",
"IsLiarCursorOn",
"IsLiveStage",
"IsShowCursor",
"IsTestStage",
"IsVisible",
"IsVisibleNotice",
"IsWebPageMode",
"LoadCameraSetting",
"LoadLocaleAddr",
"MoveWebPage",
"MoviePitchCamera",
"MovieResetCamera",
"MovieRotateCamera",
"MovieZoomCamera",
"OnLogoClose",
"OnLogoOpen",
"OnLogoRender",
"OnLogoUpdate",
"PitchCamera",
"Process",
"RenderGame",
"RotateCamera",
"RunPythonFile",
"SaveCameraSetting",
"SetCHEONMA",
"SetCameraMaxDistance",
"SetCameraSetting",
"SetCameraSpeed",
"SetCenterPosition",
"SetConnectData",
"SetControlFP",
"SetCursor",
"SetDefaultCamera",
"SetDefaultFontName",
"SetFPS",
"SetFrameSkip",
"SetGlobalCenterPosition",
"SetGuildSymbolPath",
"SetHardwareCursor",
"SetMessage",
"SetMinFog",
"SetMultiFarmExeIcon",
"SetRideHorseEnable",
"SetSightRange",
"SetSkillEffectUpgradeEnable",
"SetSoftwareCursor",
"SetSpecularSpeed",
"SetTextTailLivingTime",
"SetTitle",
"SetVisibleNotice",
"ShowCursor",
"ShowWebPage",
"Sleep",
"UpdateGame",
"WindowStatus",
"ZoomCamera",
"testGetAccumulationTime",
"testResetAccumulationTime",
"testSetSpecularColor"
]
},
{
"module": "background",
"windows_file": "upstream/ava2-client/UserInterface/PythonBackgroundModule.cpp",
"port_file": "src/python_gameplay_modules.cpp",
"windows_methods": 52,
"missing": [],
"extra": [
"IsAttrOn",
"isAttrOn"
],
"placeholder": [
"BeginEnvironment",
"CreatePrivateShopPos",
"DeletePrivateShopPos",
"DisableGuildArea",
"EnableSnow",
"EnableSoftwareTiling",
"EndEnvironment",
"GetDistanceSetInfo",
"GetFarClip",
"GetRenderShadowTime",
"GetRenderedGraphicThingInstanceNum",
"GetRenderedSplatNum",
"GetShadowMapColor",
"IsSoftwareTiling",
"IsVisiblePart",
"RegisterDungeonMapName",
"RegisterEnvironmentData",
"Render",
"RenderAfterLensFlare",
"RenderBeforeLensFlare",
"RenderCharacterShadowToTexture",
"RenderCloud",
"RenderCollision",
"RenderDungeon",
"RenderEffect",
"RenderPCBlocker",
"RenderSky",
"RenderWater",
"SelectViewDistanceNum",
"SetBGLoading",
"SetBackgroundDirLight",
"SetCharacterDirLight",
"SetEnvironmentData",
"SetRenderSort",
"SetShadowLevel",
"SetSplatLimit",
"SetTransparentTree",
"SetViewDistanceSet",
"SetVisiblePart",
"SetXMasTree",
"TextureChange",
"Update",
"VisibleGuildArea"
]
},
{
"module": "battlepass",
"windows_file": "upstream/ava2-client/UserInterface/PythonBattlePass.cpp",
"port_file": "src/python_battlepass.cpp",
"windows_methods": 8,
"missing": [],
"extra": [],
"placeholder": []
},
{
"module": "chat",
"windows_file": "upstream/ava2-client/UserInterface/PythonChatModule.cpp",
"port_file": "src/python_chat.cpp",
"windows_methods": 33,
"missing": [],
"extra": [],
"placeholder": []
},
{
"module": "chr",
"windows_file": "upstream/ava2-client/UserInterface/PythonCharacterModule.cpp",
"port_file": "src/python_chr.cpp",
"windows_methods": 80,
"missing": [],
"extra": [],
"placeholder": []
},
{
"module": "chrmgr",
"windows_file": "upstream/ava2-client/UserInterface/PythonCharacterManagerModule.cpp",
"port_file": "src/python_chr.cpp",
"windows_methods": 37,
"missing": [],
"extra": [],
"placeholder": []
},
{
"module": "cube_renewal",
"windows_file": "upstream/ava2-client/UserInterface/PythonCubeRenewal.cpp",
"port_file": "src/python_cube_renewal.cpp",
"windows_methods": 5,
"missing": [],
"extra": [],
"placeholder": []
},
{
"module": "dbg",
"windows_file": "upstream/ava2-client/ScriptLib/PythonDebugModule.cpp",
"port_file": "src/python_dbg.cpp",
"windows_methods": 5,
"missing": [],
"extra": [],
"placeholder": []
},
{
"module": "drop_item",
"windows_file": "upstream/ava2-client/UserInterface/PythonDropItem.cpp",
"port_file": "src/python_drop_item.cpp",
"windows_methods": 8,
"missing": [],
"extra": [],
"placeholder": []
},
{
"module": "dungeon_info",
"windows_file": "upstream/ava2-client/UserInterface/PythonDungeonInfo.cpp",
"port_file": "src/python_dungeon_info.cpp",
"windows_methods": 12,
"missing": [],
"extra": [],
"placeholder": []
},
{
"module": "effect",
"windows_file": "upstream/ava2-client/UserInterface/PythonEffectModule.cpp",
"port_file": "src/python_native_modules.cpp",
"windows_methods": 7,
"missing": [],
"extra": [],
"placeholder": []
},
{
"module": "event",
"windows_file": "upstream/ava2-client/UserInterface/PythonEventManagerMoudle.cpp",
"port_file": "src/python_event_manager.cpp",
"windows_methods": 29,
"missing": [],
"extra": [],
"placeholder": []
},
{
"module": "eventMgr",
"windows_file": "upstream/ava2-client/UserInterface/PythonGameEventManagerModule.cpp",
"port_file": "src/python_native_modules.cpp",
"windows_methods": 1,
"missing": [],
"extra": [],
"placeholder": []
},
{
"module": "exchange",
"windows_file": "upstream/ava2-client/UserInterface/PythonExchangeModule.cpp",
"port_file": "src/python_native_modules.cpp",
"windows_methods": 23,
"missing": [],
"extra": [
"GetItemElementAttackFromSelf",
"GetItemElementAttackFromTarget",
"GetItemElementGradeFromSelf",
"GetItemElementGradeFromTarget",
"GetItemElementTypeFromSelf",
"GetItemElementTypeFromTarget",
"GetItemElementValueFromSelf",
"GetItemElementValueFromTarget"
],
"placeholder": []
},
{
"module": "fly",
"windows_file": "upstream/ava2-client/UserInterface/PythonFlyModule.cpp",
"port_file": "src/python_native_modules.cpp",
"windows_methods": 2,
"missing": [],
"extra": [],
"placeholder": []
},
{
"module": "grp",
"windows_file": "upstream/ava2-client/EterPythonLib/PythonGraphicModule.cpp",
"port_file": "src/python_grp.cpp",
"windows_methods": 54,
"missing": [],
"extra": [],
"placeholder": [
"ClearDepthBuffer",
"ClearTextBar",
"CreateBigTextBar",
"CreateTextBar",
"Culling",
"DestroyTextBar",
"GetAvailableMemory",
"GetCameraPosition",
"GetCursorPosition3d",
"GetTargetPosition",
"Identity",
"InitScreenEffect",
"PopMatrix",
"PopState",
"PushMatrix",
"PushState",
"RenderBar3d",
"RenderBox3d",
"RenderCube",
"RenderDownButton",
"RenderTextBar",
"RenderUpButton",
"RestoreViewport",
"Rotate",
"SaveScreenShot",
"SaveScreenShotToPath",
"SetAroundCamera",
"SetColorRenderState",
"SetCursorPosition",
"SetEyeCamera",
"SetGameRenderState",
"SetGamma",
"SetInterfaceRenderState",
"SetOmniLight",
"SetOrtho2d",
"SetOrtho3d",
"SetPerspective",
"SetPositionCamera",
"SetTextBarClipRect",
"SetViewport",
"TextBarGetTextExtent",
"TextBarSetTextColor",
"TextBarTextOut",
"Translate"
]
},
{
"module": "grpImage",
"windows_file": "upstream/ava2-client/EterPythonLib/PythonGraphicImageModule.cpp",
"port_file": "src/python_grp.cpp",
"windows_methods": 15,
"missing": [],
"extra": [],
"placeholder": [
"Delete",
"DeleteExpanded",
"Generate",
"GenerateExpanded",
"GenerateFromHandle",
"GetHeight",
"GetWidth",
"Render",
"SetDiffuseColor",
"SetFileName",
"SetOrigin",
"SetPosition",
"SetRenderingRect",
"SetRotation",
"SetScale"
]
},
{
"module": "grpText",
"windows_file": "upstream/ava2-client/EterPythonLib/PythonGraphicTextModule.cpp",
"port_file": "src/python_grp.cpp",
"windows_methods": 21,
"missing": [],
"extra": [],
"placeholder": [
"Destroy",
"Generate",
"GetSize",
"GetSplitingTextLine",
"GetSplitingTextLineCount",
"GetText",
"HideCursor",
"PixelPositionToCharacterPosition",
"Render",
"SetFontColor",
"SetFontName",
"SetHorizontalAlign",
"SetMax",
"SetOutLineColor",
"SetOutline",
"SetPosition",
"SetSecret",
"SetText",
"SetVerticalAlign",
"ShowCursor",
"Update"
]
},
{
"module": "grpThing",
"windows_file": "upstream/ava2-client/EterPythonLib/PythonGraphicThingModule.cpp",
"port_file": "src/python_grp.cpp",
"windows_methods": 8,
"missing": [],
"extra": [],
"placeholder": [
"Delete",
"Generate",
"Render",
"SetFileName",
"SetPosition",
"SetRotation",
"SetScale",
"Update"
]
},
{
"module": "guild",
"windows_file": "upstream/ava2-client/UserInterface/PythonGuild.cpp",
"port_file": "src/python_guild.cpp",
"windows_methods": 34,
"missing": [],
"extra": [],
"placeholder": []
},
{
"module": "ime",
"windows_file": "upstream/ava2-client/UserInterface/PythonIMEModule.cpp",
"port_file": "src/python_ime.cpp",
"windows_methods": 33,
"missing": [],
"extra": [],
"placeholder": []
},
{
"module": "item",
"windows_file": "upstream/ava2-client/UserInterface/PythonItemModule.cpp",
"port_file": "src/python_gameplay_modules.cpp",
"windows_methods": 48,
"missing": [],
"extra": [
"GetDefaultSealDate",
"GetUnlimitedSealDate",
"IsElement",
"IsSealScroll"
],
"placeholder": [
"CreateItem",
"DeleteIconInstance",
"DeleteItem",
"GetDropClear",
"GetDropInfo",
"GetIconInstance",
"GetItemsByName",
"GetRarityMaxValue",
"GetRarityPoint",
"HasDropInfo",
"IsRarityItem",
"Pick",
"Render",
"Update"
]
},
{
"module": "managerBankLogs",
"windows_file": "upstream/ava2-client/UserInterface/PythonManagerBank.cpp",
"port_file": "src/python_native_modules.cpp",
"windows_methods": 1,
"missing": [],
"extra": [],
"placeholder": [
"Append"
]
},
{
"module": "messenger",
"windows_file": "upstream/ava2-client/UserInterface/PythonMessenger.cpp",
"port_file": "src/python_messenger.cpp",
"windows_methods": 5,
"missing": [],
"extra": [],
"placeholder": []
},
{
"module": "miniMap",
"windows_file": "upstream/ava2-client/UserInterface/PythonMiniMapModule.cpp",
"port_file": "src/python_minimap.cpp",
"windows_methods": 27,
"missing": [],
"extra": [],
"placeholder": []
},
{
"module": "net",
"windows_file": "upstream/ava2-client/UserInterface/PythonNetworkStreamModule.cpp",
"port_file": "src/python_net.cpp",
"windows_methods": 154,
"missing": [],
"extra": [
"ElementsSpellAdd",
"ElementsSpellChange",
"ElementsSpellClose",
"GetConnectionState",
"GetDay",
"GetDayActivate",
"GetRankings",
"IsRunning",
"SendCharacterMovePacket",
"SendCharacterStatePacket",
"SendCombatZoneRequestActionPacket",
"SendScriptAnswerPacket",
"SendScriptButtonPacket",
"Update"
],
"placeholder": [
"CalendarClose",
"CalendarOpen",
"CalendarSend",
"ConnectTCP",
"ConnectUDP",
"DisconnectUploader",
"ExitApplication",
"ExitGame",
"GetBettingGuildWarValue",
"GetServerInfo",
"IsTest",
"LogOutGame",
"OpenCatchKing",
"RecvGuildSymbol",
"RegisterErrorLog",
"Send67AttrClosePacket",
"Send67AttrPacket",
"SendAddOfflineShopItem",
"SendChangeNamePacket",
"SendChinaMatrixCardPacket",
"SendGuildSymbol",
"SendLoginPacket",
"SendMiniGameCatchKingDeckCardClick",
"SendMiniGameCatchKingFieldCardClick",
"SendMiniGameCatchKingReward",
"SendMiniGameCatchKingStart",
"SendMobileMessagePacket",
"SendNEWCIBNPasspodAnswerPacket",
"SendOfflineShopButton",
"SendOfflineShopChangeTitle",
"SendOfflineShopCheck",
"SendRunupMatrixCardPacket",
"SendSelectEmpirePacket",
"SendTakeOfflineMoney",
"SetMarkServer",
"SetOfflinePhase",
"SetServerInfo",
"SetSkillGroupFake",
"SetTCPRecvBufferSize",
"SetTCPSendBufferSize",
"SetUDPRecvBufferSize",
"ToggleGameDebugInfo",
"UploadMark",
"UploadSymbol"
]
},
{
"module": "nonplayer",
"windows_file": "upstream/ava2-client/UserInterface/PythonNonPlayerModule.cpp",
"port_file": "src/python_native_modules.cpp",
"windows_methods": 24,
"missing": [],
"extra": [],
"placeholder": []
},
{
"module": "pack",
"windows_file": "upstream/ava2-client/UserInterface/PythonPackModule.cpp",
"port_file": "src/python_runtime.cpp",
"windows_methods": 2,
"missing": [],
"extra": [],
"placeholder": []
},
{
"module": "petskill",
"windows_file": "upstream/ava2-client/UserInterface/PythonSkillPet.cpp",
"port_file": "src/python_pet_skill.cpp",
"windows_methods": 4,
"missing": [],
"extra": [],
"placeholder": []
},
{
"module": "player",
"windows_file": "upstream/ava2-client/UserInterface/PythonPlayerModule.cpp",
"port_file": "src/python_gameplay_modules.cpp",
"windows_methods": 149,
"missing": [],
"extra": [
"CanSealItem",
"GetCombatZonePoints",
"GetElements",
"GetItemBind",
"GetItemElementAttack",
"GetItemElementGrade",
"GetItemElementType",
"GetItemElementValue",
"GetItemSealDate",
"GetItemUnSealLeftTime",
"GetItemUnbindTime",
"IsCombatZoneMap",
"IsTournamentMap"
],
"placeholder": [
"ActEmotion",
"CanAttackInstance",
"ChangeCurrentSkillNumberOnly",
"Clear",
"ClearSkillDict",
"ClearTarget",
"ComboAttack",
"EndKeyWalkingImmediately",
"EndMouseWalking",
"GetAlignmentData",
"GetAutoPotionInfo",
"GetCharacterDistance",
"GetEmotionIconImage",
"GetEventGame",
"GetGem",
"GetItemLink",
"GetItemRandomAttribute",
"GetMainCharacterPart",
"GetMainCharacterShiningPart",
"GetMouseFunc",
"GetTargetVID",
"HidePlayer",
"IsActingEmotion",
"IsAvailableBeltInventoryCell",
"IsEquippingBelt",
"IsInSafeArea",
"IsMountingHorse",
"IsOpenPrivateShop",
"IsPVPInstance",
"IsSameEmpire",
"IsShiningSlot",
"IsSkillActive",
"LoadNewRegen",
"MoveItem",
"OpenCharacterMenu",
"PickCloseItem",
"PickCloseItemVector",
"RegisterCacheEffect",
"RegisterEffect",
"RegisterEmotionIcon",
"Render",
"RequestFlag",
"ResetCameraRotation",
"SendClickItemPacket",
"SendDragonSoulRefine",
"SetAttackKeyState",
"SetAutoCameraRotationSpeed",
"SetAutoPotionInfo",
"SetEventGame",
"SetItemAttribute",
"SetItemCount",
"SetItemData",
"SetItemMetinSocket",
"SetMainCharacterIndex",
"SetMouseFunc",
"SetMouseMiddleButtonState",
"SetMouseState",
"SetQuickCameraMode",
"SetSingleDIKKeyState",
"SetTarget",
"SetWeaponAttackBonusFlag",
"ShowPlayer",
"StartMouseWalking",
"ToggleLevelLimit",
"Update",
"UseGuildSkill",
"isItem"
]
},
{
"module": "playerLoad",
"windows_file": "upstream/ava2-client/UserInterface/PythonPlayerSettingsModule.cpp",
"port_file": "src/python_native_modules.cpp",
"windows_methods": 1,
"missing": [],
"extra": [],
"placeholder": [
"RegisterSkill"
]
},
{
"module": "privateShopSearch",
"windows_file": "upstream/ava2-client/UserInterface/PythonPrivateShopSearch.cpp",
"port_file": "src/python_shop_search.cpp",
"windows_methods": 12,
"missing": [],
"extra": [],
"placeholder": []
},
{
"module": "profiler",
"windows_file": "upstream/ava2-client/UserInterface/PythonProfilerModule.cpp",
"port_file": "src/python_native_modules.cpp",
"windows_methods": 2,
"missing": [],
"extra": [],
"placeholder": [
"Pop",
"Push"
]
},
{
"module": "quest",
"windows_file": "upstream/ava2-client/UserInterface/PythonQuest.cpp",
"port_file": "src/python_quest.cpp",
"windows_methods": 6,
"missing": [],
"extra": [],
"placeholder": []
},
{
"module": "renderTarget",
"windows_file": "upstream/ava2-client/UserInterface/CPythonRenderTargetModule.cpp",
"port_file": "src/python_native_modules.cpp",
"windows_methods": 24,
"missing": [],
"extra": [],
"placeholder": [
"AddAffect",
"ClearAffect",
"RemoveAffect",
"ResetModel",
"SetModelRender",
"SetMotionIndex",
"SetMount",
"SetShining"
]
},
{
"module": "safebox",
"windows_file": "upstream/ava2-client/UserInterface/PythonSafeBox.cpp",
"port_file": "src/python_native_modules.cpp",
"windows_methods": 15,
"missing": [],
"extra": [
"GetElements",
"GetItemBind",
"GetMallItemBind"
],
"placeholder": []
},
{
"module": "sash",
"windows_file": "upstream/ava2-client/UserInterface/PythonSash.cpp",
"port_file": "src/python_native_modules.cpp",
"windows_methods": 7,
"missing": [],
"extra": [],
"placeholder": [
"Add",
"GetAttachedItem",
"GetPrice",
"GetResultItem",
"Remove",
"SendCloseRequest",
"SendRefineRequest"
]
},
{
"module": "shop",
"windows_file": "upstream/ava2-client/UserInterface/PythonShop.cpp",
"port_file": "src/python_native_modules.cpp",
"windows_methods": 42,
"missing": [],
"extra": [
"GetItemElements",
"GetOfflineShopItemTransmutation"
],
"placeholder": []
},
{
"module": "skill",
"windows_file": "upstream/ava2-client/UserInterface/PythonSkill.cpp",
"port_file": "src/python_native_modules.cpp",
"windows_methods": 41,
"missing": [],
"extra": [],
"placeholder": [
"LoadSkillData"
]
},
{
"module": "snd",
"windows_file": "upstream/ava2-client/UserInterface/PythonSoundManagerModule.cpp",
"port_file": "src/python_gameplay_modules.cpp",
"windows_methods": 14,
"missing": [],
"extra": [],
"placeholder": []
},
{
"module": "switchbot",
"windows_file": "upstream/ava2-client/UserInterface/PythonSwitchbot.cpp",
"port_file": "src/python_switchbot.cpp",
"windows_methods": 9,
"missing": [],
"extra": [],
"placeholder": []
},
{
"module": "systemSetting",
"windows_file": "upstream/ava2-client/UserInterface/PythonSystemModule.cpp",
"port_file": "src/python_system.cpp",
"windows_methods": 73,
"missing": [],
"extra": [],
"placeholder": []
},
{
"module": "textTail",
"windows_file": "upstream/ava2-client/UserInterface/PythonTextTailModule.cpp",
"port_file": "src/python_native_modules.cpp",
"windows_methods": 18,
"missing": [],
"extra": [
"AttachLevel",
"DetachLevel",
"DetachTitle",
"RegisterItemTextTail"
],
"placeholder": []
},
{
"module": "wiki",
"windows_file": "upstream/ava2-client/UserInterface/PythonWiki.cpp",
"port_file": "src/python_wiki.cpp",
"windows_methods": 22,
"missing": [],
"extra": [],
"placeholder": []
},
{
"module": "wndMgr",
"windows_file": "upstream/ava2-client/EterPythonLib/PythonWindowManagerModule.cpp",
"port_file": "src/python_wndmgr.cpp",
"windows_methods": 188,
"missing": [],
"extra": [
"SetClipRect"
],
"placeholder": []
}
],
"missing_method_count": 0,
"placeholder_method_count": 370
}