Add salvage, appraisal, account, teleport hooks and expand engine API
New hooks: - AppraisalHooks: hook CM_Examine::SendNotice_SetAppraiseInfo (0x006B05B0) to cache bool properties from server appraisal data; fixes wobjectgetboolprop returning 0 for inventory items whose m_pQualities is null in client memory - SalvageHooks: hook gmSalvageUI::OpenSalvagePanel to capture singleton instance for use by SalvagePanelAddItem and SalvagePanelExecute - AccountHooks: capture account name and world/server name from login flow - TeleportStateHooks: track teleport/portal state via SmartBox ClientObjectHooks: check AppraisalHooks cache before CBaseQualities::InqBool in TryGetObjectBoolProperty so identified inventory items return correct values API v40 additions (PluginContract / PluginManager / PluginSdk): - GetCurrentCombatMode: direct read from ClientCombatSystem without hook - SalvagePanelOpen / SalvagePanelAddItem / SalvagePanelExecute - GetVitae: reads vitae multiplier via CACQualities::GetVitaeValue - GetAccountName / GetWorldName - GetObjectWcid: reads PublicWeenieDesc._wcid fast path Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
bb4399b69e
commit
c2ca425f87
12 changed files with 1161 additions and 12 deletions
|
|
@ -270,6 +270,10 @@ public static class EntryPoint
|
|||
RunInitStep("logo bypass", LogoBypassHooks.Start);
|
||||
RunInitStep("busy-count hooks", BusyCountHooks.Initialize);
|
||||
RunInitStep("combat-mode hooks", CombatModeHooks.Initialize);
|
||||
RunInitStep("teleport-state hooks", TeleportStateHooks.Initialize);
|
||||
RunInitStep("salvage hooks", SalvageHooks.Initialize);
|
||||
RunInitStep("appraisal hooks", AppraisalHooks.Initialize);
|
||||
RunInitStep("account hooks", AccountHooks.Initialize);
|
||||
RunInitStep("client combat hooks", () => ClientCombatHooks.Probe());
|
||||
RunInitStep("selected-target hooks", SelectedTargetHooks.Initialize);
|
||||
RunInitStep("smartbox hooks", SmartBoxHooks.Initialize);
|
||||
|
|
|
|||
Loading…
Reference in a new issue