113c-Client函数表.txt
转载////////////////////////////////////////////////////////////////////////////////////////////////
// D2Client Functions //函数表
////////////////////////////////////////////////////////////////////////////////////////////////
FUNCPTR(D2CLIENT, GetQuestInfo, void*, __stdcall, (void), 0x45A00)//
FUNCPTR(D2CLIENT, SubmitItem, void, __fastcall, (DWORD dwItemId), 0x45FB0)//
FUNCPTR(D2CLIENT, Transmute, void, __fastcall, (void), 0x8CB90)//
FUNCPTR(D2CLIENT, FindClientSideUnit, UnitAny*, __fastcall, (DWORD dwId, DWORD dwType), 0xA5B20)//
FUNCPTR(D2CLIENT, FindServerSideUnit, UnitAny*, __fastcall, (DWORD dwId, DWORD dwType), 0xA5B40)//
FUNCPTR(D2CLIENT, GetCurrentInteractingNPC, UnitAny*, __fastcall, (void), 0x46150)//
FUNCPTR(D2CLIENT, GetSelectedUnit, UnitAny *, __stdcall, (void), 0x51A80)//
FUNCPTR(D2CLIENT, GetCursorItem, UnitAny*, __fastcall, (void), 0x16020)//
FUNCPTR(D2CLIENT, GetMercUnit, UnitAny*, __fastcall, (void), 0x97CD0)//
FUNCPTR(D2CLIENT, SetSelectedUnit_I, void, __fastcall, (UnitAny *pUnit), 0x51860)//
FUNCPTR(D2CLIENT, GetItemName, BOOL, __stdcall, (UnitAny* pItem, wchar_t* wBuffer, DWORD dwSize), 0x914F0)//
FUNCPTR(D2CLIENT, LoadItemDesc, BOOL, __stdcall, (UnitAny* pItem, int type), 0x93450)//
FUNCPTR(D2CLIENT, GetMonsterOwner, DWORD, __fastcall, (DWORD nMonsterId), 0x216A0)//
FUNCPTR(D2CLIENT, GetUnitHPPercent, DWORD, __fastcall, (DWORD dwUnitId), 0x21580)//
FUNCPTR(D2CLIENT, InitInventory, void, __fastcall, (void), 0x908C0)//
FUNCPTR(D2CLIENT, SetUIVar, DWORD, __fastcall, (DWORD varno, DWORD howset, DWORD unknown1), 0xC2790)//
FUNCPTR(D2CLIENT, GetUnitX, int, __fastcall, (UnitAny* pUnit), 0x1630)//
FUNCPTR(D2CLIENT, GetUnitY, int, __fastcall, (UnitAny* pUnit), 0x1660)//
FUNCPTR(D2CLIENT, ShopAction, void, __fastcall, (UnitAny* pItem, UnitAny* pNpc, UnitAny* pNpc2, DWORD dwSell, DWORD dwItemCost, DWORD dwMode, DWORD _2, DWORD _3), 0x47D60)//
FUNCPTR(D2CLIENT, CloseNPCInteract, void, __fastcall, (void), 0x492F0)//
FUNCPTR(D2CLIENT, CloseInteract, void, __fastcall, (void), 0x43870)//
FUNCPTR(D2CLIENT, GetAutomapSize, DWORD, __stdcall, (void), 0x5F080)//
FUNCPTR(D2CLIENT, NewAutomapCell, AutomapCell *, __fastcall, (void), 0x5F6B0)//
FUNCPTR(D2CLIENT, AddAutomapCell, void, __fastcall, (AutomapCell *aCell, AutomapCell **node), 0x61320)//
FUNCPTR(D2CLIENT, RevealAutomapRoom, void, __stdcall, (DRLGRoom *pRoom, DWORD dwClipFlag, AutomapLayer *aLayer), 0x62580)//
FUNCPTR(D2CLIENT, InitAutomapLayer_I, AutomapLayer*, __fastcall, (DWORD nLayerNo), 0x62710)//
FUNCPTR(D2CLIENT, ClickMap, void, __stdcall, (DWORD MouseFlag, DWORD x, DWORD y, DWORD Type), 0x1BF20)//
FUNCPTR(D2CLIENT, LeftClickItem, void, __stdcall, (UnitAny* pPlayer, Inventory* pInventory, int x, int y, DWORD dwClickType, InventoryLayout* pLayout, DWORD Location), 0x96AA0)//
FUNCPTR(D2CLIENT, GetMouseXOffset, DWORD, __fastcall, (void), 0x3F6C0)//
FUNCPTR(D2CLIENT, GetMouseYOffset, DWORD, __fastcall, (void), 0x3F6D0)//
FUNCPTR(D2CLIENT, PrintPartyString, void, __stdcall, (wchar_t *wMessage, int nColor), 0x7D610)//
FUNCPTR(D2CLIENT, PrintGameString, void, __stdcall, (wchar_t *wMessage, int nColor), 0x7D850)//
FUNCPTR(D2CLIENT, LeaveParty, void, __fastcall, (void), 0x9E5D0)//
FUNCPTR(D2CLIENT, AcceptTrade, void, __fastcall, (void), 0x59600)//
FUNCPTR(D2CLIENT, CancelTrade, void, __fastcall, (void), 0x595C0)//
FUNCPTR(D2CLIENT, TradeOK, void, __stdcall, (void), 0x59980)//
FUNCPTR(D2CLIENT, GetDifficulty, BYTE, __stdcall, (void), 0x58DA0)//
FUNCPTR(D2CLIENT, ExitGame, void, __fastcall, (void), 0x42850)//
FUNCPTR(D2CLIENT, GetUiVar_I, DWORD, __fastcall, (DWORD dwVarNo), 0xBE400)//
FUNCPTR(D2CLIENT, DrawRectFrame, void, __fastcall, (DWORD Rect), 0xBE4C0)//
FUNCPTR(D2CLIENT, PerformGoldDialogAction, void, __fastcall, (void), 0xBFDF0)//
FUNCPTR(D2CLIENT, GetPlayerUnit, UnitAny*, __stdcall, (void), 0xA4D60)//
FUNCPTR(D2CLIENT, GetLevelName_I, wchar_t*, __fastcall, (DWORD levelId), 0xBE240)//
FUNCPTR(D2CLIENT, ClearScreen, void, __fastcall, (void), 0x48350)//
FUNCPTR(D2CLIENT, CloseNPCTalk, DWORD, __stdcall, (void* unk), 0x7ED30)//
FUNCPTR(D2CLIENT, ClickOnStashButton, void, __fastcall, (DWORD x, DWORD y), 0x8CD00);//
FUNCPTR(D2CLIENT, GetUnit, void*, __fastcall, (DWORD dwId, DWORD dwType), 0x78D30);
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// D2Client Globals //数据段内容在游戏内易查找,本人无1.13D版本,故以下数据段内容未查找,需要者自行查找
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
VARPTR(D2CLIENT, ScreenSizeX, DWORD, 0xDBC48)//
VARPTR(D2CLIENT, ScreenSizeY, DWORD, 0xDBC4C)//
VARPTR(D2CLIENT, CursorHoverX, DWORD, 0xE0EB8)//
VARPTR(D2CLIENT, CursorHoverY, DWORD, 0xE0EBC)//
//VARPTR(D2CLIENT, MouseX, DWORD, 0x11C950)//未找到
//VARPTR(D2CLIENT, MouseY, DWORD, 0x11C94C)//未找到
//VARPTR(D2CLIENT, MouseOffsetY, int, 0x106840)//未找到
//VARPTR(D2CLIENT, MouseOffsetX, int, 0x106844)//未找到
//VARPTR(D2CLIENT, AutomapOn, DWORD, 0x11C8B8)//未找到
//VARPTR(D2CLIENT, AutomapMode, int, 0xF34F8)//未找到
//VARPTR(D2CLIENT, Offset, POINT, 0x11CF5C)//未找到
//VARPTR(D2CLIENT, AutomapLayer, AutomapLayer*, 0x11CF28)//未找到
//VARPTR(D2CLIENT, MercStrIndex, WORD, 0xF02D8)//未找到
//VARPTR(D2CLIENT, MercReviveCost, DWORD, 0x11CEE8)//未找到
//VARPTR(D2CLIENT, ServerSideUnitHashTables, UnitHashTable, 0x1047B8)//未找到
//VARPTR(D2CLIENT, ClientSideUnitHashTables, UnitHashTable, 0x103BB8)//未找到
//VARPTR(D2CLIENT, ViewportY, int, 0x106840)//未找到
//VARPTR(D2CLIENT, ViewportX, int, 0x106844)//未找到
//VARPTR(D2CLIENT, GoldDialogAction, DWORD, 0x11C86C)//未找到
//VARPTR(D2CLIENT, GoldDialogAmount, DWORD, 0x11D568)//未找到
//VARPTR(D2CLIENT, NPCMenu, NPCMenu*, 0xF1A90)//未找到
//VARPTR(D2CLIENT, NPCMenuAmount, DWORD, 0xF21E0)//未找到
//VARPTR(D2CLIENT, TradeLayout, InventoryLayout*, 0x101598)//未找到
//VARPTR(D2CLIENT, StashLayout, InventoryLayout*, 0x1015E0)//未找到
//VARPTR(D2CLIENT, StoreLayout, InventoryLayout*, 0x1016C0)//未找到
//VARPTR(D2CLIENT, CubeLayout, InventoryLayout*, 0x1016D8)//未找到
//VARPTR(D2CLIENT, InventoryLayout, InventoryLayout*, 0x1016F0)//未找到
//VARPTR(D2CLIENT, MercLayout, InventoryLayout*, 0x11CC84)//未找到
//VARPTR(D2CLIENT, RegularCursorType, DWORD, 0x11C98C)//未找到
//VARPTR(D2CLIENT, ShopCursorType, DWORD, 0x11CB24)//未找到
//VARPTR(D2CLIENT, Ping, DWORD, 0x108764)//未找到
//VARPTR(D2CLIENT, FPS, DWORD, 0x11CE10)//未找到
//VARPTR(D2CLIENT, Skip, DWORD, 0x108770)//未找到
//VARPTR(D2CLIENT, Divisor, int, 0xF34F8)//未找到
//VARPTR(D2CLIENT, OverheadTrigger, DWORD, 0x101ABE)//未找到
//VARPTR(D2CLIENT, RecentInteractId, DWORD, 0x101895)//未找到
//VARPTR(D2CLIENT, ItemPriceList, DWORD, 0x1018B3)//未找到
//VARPTR(D2CLIENT, TransactionDialog, void*, 0x1018D3)//未找到
//VARPTR(D2CLIENT, TransactionDialogs, DWORD, 0x11D58C)//未找到
//VARPTR(D2CLIENT, TransactionDialogs_2, DWORD, 0x11D588)//未找到
//VARPTR(D2CLIENT, pTransactionDialogsInfo, TransactionDialogsInfo_t*, 0x11D584)//未找到
VARPTR(D2CLIENT, GameInfo, Game*, 0x11B980)//6FB1FCE0 mov eax,dword ptr ds:
//VARPTR(D2CLIENT, WaypointTable, DWORD, 0x1088FD)//未找到
VARPTR(D2CLIENT, PlayerUnit, UnitAny*, 0x11BBFC)//6FAF4B5E mov ebp,dword ptr ds:
//VARPTR(D2CLIENT, SelectedInvItem, UnitAny*, 0x11CB28)//未找到
//VARPTR(D2CLIENT, PlayerUnitList, RosterUnit*, 0x11CB04)//未找到
//VARPTR(D2CLIENT, bWeapSwitch, DWORD, 0x11CB84)//未找到
//VARPTR(D2CLIENT, bTradeAccepted, DWORD, 0x11CD54)//未找到
//VARPTR(D2CLIENT, bTradeBlock, DWORD, 0x11CD64)//未找到
//VARPTR(D2CLIENT, RecentTradeId, DWORD, 0x11D5AC)//未找到
//VARPTR(D2CLIENT, ExpCharFlag, DWORD, 0x1087B4)//未找到
//VARPTR(D2CLIENT, MapId, DWORD, 0x11D204)//未找到
//VARPTR(D2CLIENT, AlwaysRun, DWORD, 0x11D234)//未找到
//VARPTR(D2CLIENT, NoPickUp, DWORD, 0x11D574)//未找到
//VARPTR(D2CLIENT, ChatMsg, wchar_t*, 0x11D650)//未找到
//VARPTR(D2CLIENT, OrificeId, DWORD, 0x11C9B8)//未找到
//VARPTR(D2CLIENT, CursorItemMode, DWORD, 0x11C9B0)//未找到
//VARPTR(D2CLIENT, pUnitTable, POINT, 0x1047B8)//未找到
//VARPTR(D2CLIENT, pDescFuncTable, void*, 0x2DAD4)//未找到
神话战网出品,必出精品!
页:
[1]