diff --git a/.gitignore b/.gitignore
index f16e39f4..ca848240 100644
--- a/.gitignore
+++ b/.gitignore
@@ -88,6 +88,9 @@ StyleCopReport.xml
*.pgc
*.pgd
*.rsp
+# Generated by the GWCA binding generator and consumed by the NativeAOT linker
+# (see Daybreak.API.csproj); tracked like Interop/GWCA.cs so it is always present.
+!Daybreak.API/Interop/GWCA.alternatenames.rsp
*.sbr
*.tlb
*.tli
diff --git a/Daybreak.API/Daybreak.API.csproj b/Daybreak.API/Daybreak.API.csproj
index 1d4d5a0a..76037470 100644
--- a/Daybreak.API/Daybreak.API.csproj
+++ b/Daybreak.API/Daybreak.API.csproj
@@ -60,16 +60,44 @@
-
- PreserveNewest
- gwca.dll
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Daybreak.API/Interop/GWCA.alternatenames.rsp b/Daybreak.API/Interop/GWCA.alternatenames.rsp
new file mode 100644
index 00000000..f01d48c6
--- /dev/null
+++ b/Daybreak.API/Interop/GWCA.alternatenames.rsp
@@ -0,0 +1,501 @@
+/ALTERNATENAME:_?DisableHooks@GW@@YAXXZ=?DisableHooks@GW@@YAXXZ
+/ALTERNATENAME:_?EnableHooks@GW@@YAXXZ=?EnableHooks@GW@@YAXXZ
+/ALTERNATENAME:_?FatalAssert@GW@@YAXPBD0I0@Z=?FatalAssert@GW@@YAXPBD0I0@Z
+/ALTERNATENAME:_?GetAccountContext@GW@@YAPAUAccountContext@1@XZ=?GetAccountContext@GW@@YAPAUAccountContext@1@XZ
+/ALTERNATENAME:_?GetAgentContext@GW@@YAPAUAgentContext@1@XZ=?GetAgentContext@GW@@YAPAUAgentContext@1@XZ
+/ALTERNATENAME:_?GetAvailableChars@GW@@YAPAV?$Array@UCharacterInformation@GW@@@1@XZ=?GetAvailableChars@GW@@YAPAV?$Array@UCharacterInformation@GW@@@1@XZ
+/ALTERNATENAME:_?GetCharContext@GW@@YAPAUCharContext@1@XZ=?GetCharContext@GW@@YAPAUCharContext@1@XZ
+/ALTERNATENAME:_?GetDistance@GW@@YAMABUVec2f@1@0@Z=?GetDistance@GW@@YAMABUVec2f@1@0@Z
+/ALTERNATENAME:_?GetDistance@GW@@YAMUVec3f@1@0@Z=?GetDistance@GW@@YAMUVec3f@1@0@Z
+/ALTERNATENAME:_?GetGameContext@GW@@YAPAUGameContext@1@XZ=?GetGameContext@GW@@YAPAUGameContext@1@XZ
+/ALTERNATENAME:_?GetGuildContext@GW@@YAPAUGuildContext@1@XZ=?GetGuildContext@GW@@YAPAUGuildContext@1@XZ
+/ALTERNATENAME:_?GetItemContext@GW@@YAPAUItemContext@1@XZ=?GetItemContext@GW@@YAPAUItemContext@1@XZ
+/ALTERNATENAME:_?GetMapContext@GW@@YAPAUMapContext@1@XZ=?GetMapContext@GW@@YAPAUMapContext@1@XZ
+/ALTERNATENAME:_?GetNorm@GW@@YAMUVec2f@1@@Z=?GetNorm@GW@@YAMUVec2f@1@@Z
+/ALTERNATENAME:_?GetNorm@GW@@YAMUVec3f@1@@Z=?GetNorm@GW@@YAMUVec3f@1@@Z
+/ALTERNATENAME:_?GetPreGameContext@GW@@YAPAUPreGameContext@1@XZ=?GetPreGameContext@GW@@YAPAUPreGameContext@1@XZ
+/ALTERNATENAME:_?GetWorldContext@GW@@YAPAUWorldContext@1@XZ=?GetWorldContext@GW@@YAPAUWorldContext@1@XZ
+/ALTERNATENAME:_?Hash@GW@@YAIPBXI@Z=?Hash@GW@@YAIPBXI@Z
+/ALTERNATENAME:_?Hash16@GW@@YAIG@Z=?Hash16@GW@@YAIG@Z
+/ALTERNATENAME:_?Hash32@GW@@YAII@Z=?Hash32@GW@@YAII@Z
+/ALTERNATENAME:_?Hash8@GW@@YAIE@Z=?Hash8@GW@@YAIE@Z
+/ALTERNATENAME:_?HashWString@GW@@YAIPB_WI@Z=?HashWString@GW@@YAIPB_WI@Z
+/ALTERNATENAME:_?Initialize@GW@@YA_NXZ=?Initialize@GW@@YA_NXZ
+/ALTERNATENAME:_?RegisterLogHandler@GW@@YAXP6AXPAXW4LogLevel@1@PBD2I2@Z0@Z=?RegisterLogHandler@GW@@YAXP6AXPAXW4LogLevel@1@PBD2I2@Z0@Z
+/ALTERNATENAME:_?RegisterPanicHandler@GW@@YAXP6AXPAXPBD1I1@Z0@Z=?RegisterPanicHandler@GW@@YAXP6AXPAXPBD1I1@Z0@Z
+/ALTERNATENAME:_?Rotate@GW@@YA?AUVec2f@1@U21@M@Z=?Rotate@GW@@YA?AUVec2f@1@U21@M@Z
+/ALTERNATENAME:_?Terminate@GW@@YAXXZ=?Terminate@GW@@YAXXZ
+/ALTERNATENAME:_?ChangeTarget@Agents@GW@@YA_NI@Z=?ChangeTarget@Agents@GW@@YA_NI@Z
+/ALTERNATENAME:_?ChangeTarget@Agents@GW@@YA_NPBUAgent@2@@Z=?ChangeTarget@Agents@GW@@YA_NPBUAgent@2@@Z
+/ALTERNATENAME:_?CountAllegianceInRange@Agents@GW@@YAIW4Allegiance@Constants@2@M@Z=?CountAllegianceInRange@Agents@GW@@YAIW4Allegiance@Constants@2@M@Z
+/ALTERNATENAME:_?GetAgentArray@Agents@GW@@YAPAV?$Array@PAUAgent@GW@@@2@XZ=?GetAgentArray@Agents@GW@@YAPAV?$Array@PAUAgent@GW@@@2@XZ
+/ALTERNATENAME:_?GetAgentByID@Agents@GW@@YAPAUAgent@2@I@Z=?GetAgentByID@Agents@GW@@YAPAUAgent@2@I@Z
+/ALTERNATENAME:_?GetAgentCharData@Agents@GW@@YAPAUAgentCharData@2@I@Z=?GetAgentCharData@Agents@GW@@YAPAUAgentCharData@2@I@Z
+/ALTERNATENAME:_?GetAgentEncName@Agents@GW@@YAPA_WI@Z=?GetAgentEncName@Agents@GW@@YAPA_WI@Z
+/ALTERNATENAME:_?GetAgentEncName@Agents@GW@@YAPA_WPBUAgent@2@@Z=?GetAgentEncName@Agents@GW@@YAPA_WPBUAgent@2@@Z
+/ALTERNATENAME:_?GetAgentIdByLoginNumber@Agents@GW@@YAII@Z=?GetAgentIdByLoginNumber@Agents@GW@@YAII@Z
+/ALTERNATENAME:_?GetAgentMatchesFlags@Agents@GW@@YA_NPBUAgent@2@W4AgentTargetFlags@2@@Z=?GetAgentMatchesFlags@Agents@GW@@YA_NPBUAgent@2@W4AgentTargetFlags@2@@Z
+/ALTERNATENAME:_?GetAgentPrimary@Agents@GW@@YA?AW4ProfessionByte@Constants@2@I@Z=?GetAgentPrimary@Agents@GW@@YA?AW4ProfessionByte@Constants@2@I@Z
+/ALTERNATENAME:_?GetAgentSecondary@Agents@GW@@YA?AW4ProfessionByte@Constants@2@I@Z=?GetAgentSecondary@Agents@GW@@YA?AW4ProfessionByte@Constants@2@I@Z
+/ALTERNATENAME:_?GetAmountOfPlayersInInstance@Agents@GW@@YAIXZ=?GetAmountOfPlayersInInstance@Agents@GW@@YAIXZ
+/ALTERNATENAME:_?GetControlledCharacter@Agents@GW@@YAPAUAgentLiving@2@XZ=?GetControlledCharacter@Agents@GW@@YAPAUAgentLiving@2@XZ
+/ALTERNATENAME:_?GetControlledCharacterId@Agents@GW@@YAIXZ=?GetControlledCharacterId@Agents@GW@@YAIXZ
+/ALTERNATENAME:_?GetEvaluatedTargetId@Agents@GW@@YAIXZ=?GetEvaluatedTargetId@Agents@GW@@YAIXZ
+/ALTERNATENAME:_?GetHeroAgentID@Agents@GW@@YAII@Z=?GetHeroAgentID@Agents@GW@@YAII@Z
+/ALTERNATENAME:_?GetMapAgentArray@Agents@GW@@YAPAV?$Array@UMapAgent@GW@@@2@XZ=?GetMapAgentArray@Agents@GW@@YAPAV?$Array@UMapAgent@GW@@@2@XZ
+/ALTERNATENAME:_?GetMapAgentByID@Agents@GW@@YAPAUMapAgent@2@I@Z=?GetMapAgentByID@Agents@GW@@YAPAUMapAgent@2@I@Z
+/ALTERNATENAME:_?GetNPCArray@Agents@GW@@YAPAV?$Array@UNPC@GW@@@2@XZ=?GetNPCArray@Agents@GW@@YAPAV?$Array@UNPC@GW@@@2@XZ
+/ALTERNATENAME:_?GetNPCByID@Agents@GW@@YAPAUNPC@2@I@Z=?GetNPCByID@Agents@GW@@YAPAUNPC@2@I@Z
+/ALTERNATENAME:_?GetObservingId@Agents@GW@@YAIXZ=?GetObservingId@Agents@GW@@YAIXZ
+/ALTERNATENAME:_?GetPlayerArray@Agents@GW@@YAPAV?$Array@UPlayer@GW@@@2@XZ=?GetPlayerArray@Agents@GW@@YAPAV?$Array@UPlayer@GW@@@2@XZ
+/ALTERNATENAME:_?GetPlayerByID@Agents@GW@@YAPAUAgent@2@I@Z=?GetPlayerByID@Agents@GW@@YAPAUAgent@2@I@Z
+/ALTERNATENAME:_?GetPlayerNameByLoginNumber@Agents@GW@@YAPA_WI@Z=?GetPlayerNameByLoginNumber@Agents@GW@@YAPA_WI@Z
+/ALTERNATENAME:_?GetTargetAsAgentLiving@Agents@GW@@YAPAUAgentLiving@2@XZ=?GetTargetAsAgentLiving@Agents@GW@@YAPAUAgentLiving@2@XZ
+/ALTERNATENAME:_?GetTargetId@Agents@GW@@YAIXZ=?GetTargetId@Agents@GW@@YAIXZ
+/ALTERNATENAME:_?InteractAgent@Agents@GW@@YA_NPBUAgent@2@_N@Z=?InteractAgent@Agents@GW@@YA_NPBUAgent@2@_N@Z
+/ALTERNATENAME:_?IsObserving@Agents@GW@@YA_NXZ=?IsObserving@Agents@GW@@YA_NXZ
+/ALTERNATENAME:_?Move@Agents@GW@@YA_NMMI@Z=?Move@Agents@GW@@YA_NMMI@Z
+/ALTERNATENAME:_?Move@Agents@GW@@YA_NUGamePos@2@@Z=?Move@Agents@GW@@YA_NUGamePos@2@@Z
+/ALTERNATENAME:_?SendDialog@Agents@GW@@YA_NI@Z=?SendDialog@Agents@GW@@YA_NI@Z
+/ALTERNATENAME:_?Click@ButtonFrame@GW@@QAE_NXZ=?Click@ButtonFrame@GW@@QAE_NXZ
+/ALTERNATENAME:_?DoubleClick@ButtonFrame@GW@@QAE_NXZ=?DoubleClick@ButtonFrame@GW@@QAE_NXZ
+/ALTERNATENAME:_?GetLabel@ButtonFrame@GW@@QAE_NPAPB_W@Z=?GetLabel@ButtonFrame@GW@@QAE_NPAPB_W@Z
+/ALTERNATENAME:_?MouseAction@ButtonFrame@GW@@QAE_NW4ActionState@UIPacket@UI@2@@Z=?MouseAction@ButtonFrame@GW@@QAE_NW4ActionState@UIPacket@UI@2@@Z
+/ALTERNATENAME:_?SetLabel@ButtonFrame@GW@@QAE_NPB_W@Z=?SetLabel@ButtonFrame@GW@@QAE_NPB_W@Z
+/ALTERNATENAME:_?ComputeCamPos@CameraMgr@GW@@YA?AUVec3f@2@M@Z=?ComputeCamPos@CameraMgr@GW@@YA?AUVec3f@2@M@Z
+/ALTERNATENAME:_?GetCamera@CameraMgr@GW@@YAPAUCamera@2@XZ=?GetCamera@CameraMgr@GW@@YAPAUCamera@2@XZ
+/ALTERNATENAME:_?GetCameraUnlock@CameraMgr@GW@@YA_NXZ=?GetCameraUnlock@CameraMgr@GW@@YA_NXZ
+/ALTERNATENAME:_?GetFieldOfView@CameraMgr@GW@@YAMXZ=?GetFieldOfView@CameraMgr@GW@@YAMXZ
+/ALTERNATENAME:_?GetYaw@CameraMgr@GW@@YAMXZ=?GetYaw@CameraMgr@GW@@YAMXZ
+/ALTERNATENAME:_?SetFieldOfView@CameraMgr@GW@@YA_NM@Z=?SetFieldOfView@CameraMgr@GW@@YA_NM@Z
+/ALTERNATENAME:_?SetFog@CameraMgr@GW@@YA_N_N@Z=?SetFog@CameraMgr@GW@@YA_N_N@Z
+/ALTERNATENAME:_?SetMaxDist@CameraMgr@GW@@YA_NM@Z=?SetMaxDist@CameraMgr@GW@@YA_NM@Z
+/ALTERNATENAME:_?UnlockCam@CameraMgr@GW@@YA_N_N@Z=?UnlockCam@CameraMgr@GW@@YA_N_N@Z
+/ALTERNATENAME:_?UpdateCameraPos@CameraMgr@GW@@YA_NXZ=?UpdateCameraPos@CameraMgr@GW@@YA_NXZ
+/ALTERNATENAME:_?AddToChatLog@Chat@GW@@YA_NPA_WI@Z=?AddToChatLog@Chat@GW@@YA_NPA_WI@Z
+/ALTERNATENAME:_?CreateCommand@Chat@GW@@YAXPAUHookEntry@2@PB_WP6AXPAUHookStatus@2@1HPBQA_W@Z@Z=?CreateCommand@Chat@GW@@YAXPAUHookEntry@2@PB_WP6AXPAUHookStatus@2@1HPBQA_W@Z@Z
+/ALTERNATENAME:_?DeleteCommand@Chat@GW@@YAXPAUHookEntry@2@PB_W@Z=?DeleteCommand@Chat@GW@@YAXPAUHookEntry@2@PB_W@Z
+/ALTERNATENAME:_?GetChannel@Chat@GW@@YA?AW4Channel@12@D@Z=?GetChannel@Chat@GW@@YA?AW4Channel@12@D@Z
+/ALTERNATENAME:_?GetChannel@Chat@GW@@YA?AW4Channel@12@_W@Z=?GetChannel@Chat@GW@@YA?AW4Channel@12@_W@Z
+/ALTERNATENAME:_?GetChannelColors@Chat@GW@@YAXW4Channel@12@PAI1@Z=?GetChannelColors@Chat@GW@@YAXW4Channel@12@PAI1@Z
+/ALTERNATENAME:_?GetChatLog@Chat@GW@@YAPAUChatBuffer@12@XZ=?GetChatLog@Chat@GW@@YAPAUChatBuffer@12@XZ
+/ALTERNATENAME:_?GetCurrentChatChannel@Chat@GW@@YA?AW4Channel@12@XZ=?GetCurrentChatChannel@Chat@GW@@YA?AW4Channel@12@XZ
+/ALTERNATENAME:_?GetDefaultColors@Chat@GW@@YAXW4Channel@12@PAI1@Z=?GetDefaultColors@Chat@GW@@YAXW4Channel@12@PAI1@Z
+/ALTERNATENAME:_?GetIsTyping@Chat@GW@@YA_NXZ=?GetIsTyping@Chat@GW@@YA_NXZ
+/ALTERNATENAME:_?SendChat@Chat@GW@@YA_NDPBD@Z=?SendChat@Chat@GW@@YA_NDPBD@Z
+/ALTERNATENAME:_?SendChat@Chat@GW@@YA_NDPB_W@Z=?SendChat@Chat@GW@@YA_NDPB_W@Z
+/ALTERNATENAME:_?SendChat@Chat@GW@@YA_NPBD@Z=?SendChat@Chat@GW@@YA_NPBD@Z
+/ALTERNATENAME:_?SendChat@Chat@GW@@YA_NPB_W0@Z=?SendChat@Chat@GW@@YA_NPB_W0@Z
+/ALTERNATENAME:_?SendChat@Chat@GW@@YA_NPB_W@Z=?SendChat@Chat@GW@@YA_NPB_W@Z
+/ALTERNATENAME:_?SetMessageColor@Chat@GW@@YAIW4Channel@12@I@Z=?SetMessageColor@Chat@GW@@YAIW4Channel@12@I@Z
+/ALTERNATENAME:_?SetSenderColor@Chat@GW@@YAIW4Channel@12@I@Z=?SetSenderColor@Chat@GW@@YAIW4Channel@12@I@Z
+/ALTERNATENAME:_?SetTimestampsColor@Chat@GW@@YAXI@Z=?SetTimestampsColor@Chat@GW@@YAXI@Z
+/ALTERNATENAME:_?SetTimestampsFormat@Chat@GW@@YAX_N0@Z=?SetTimestampsFormat@Chat@GW@@YAX_N0@Z
+/ALTERNATENAME:_?ToggleTimestamps@Chat@GW@@YAX_N@Z=?ToggleTimestamps@Chat@GW@@YAX_N@Z
+/ALTERNATENAME:_?WriteChat@Chat@GW@@YAXW4Channel@12@PB_W1_N@Z=?WriteChat@Chat@GW@@YAXW4Channel@12@PB_W1_N@Z
+/ALTERNATENAME:_?WriteChatEnc@Chat@GW@@YAXW4Channel@12@PB_W1_N@Z=?WriteChatEnc@Chat@GW@@YAXW4Channel@12@PB_W1_N@Z
+/ALTERNATENAME:_?GetValue@CheckboxFrame@GW@@UAEIXZ=?GetValue@CheckboxFrame@GW@@UAEIXZ
+/ALTERNATENAME:_?IsChecked@CheckboxFrame@GW@@QAE_NXZ=?IsChecked@CheckboxFrame@GW@@QAE_NXZ
+/ALTERNATENAME:_?SetChecked@CheckboxFrame@GW@@QAE_N_N@Z=?SetChecked@CheckboxFrame@GW@@QAE_N_N@Z
+/ALTERNATENAME:_?SetValue@CheckboxFrame@GW@@UAE_NI@Z=?SetValue@CheckboxFrame@GW@@UAE_NI@Z
+/ALTERNATENAME:_?AddOption@DropdownFrame@GW@@QAE_NPB_WI@Z=?AddOption@DropdownFrame@GW@@QAE_NPB_WI@Z
+/ALTERNATENAME:_?GetCount@DropdownFrame@GW@@QAE_NPAI@Z=?GetCount@DropdownFrame@GW@@QAE_NPAI@Z
+/ALTERNATENAME:_?GetOptionIndex@DropdownFrame@GW@@QAE_NIPAI@Z=?GetOptionIndex@DropdownFrame@GW@@QAE_NIPAI@Z
+/ALTERNATENAME:_?GetOptionValue@DropdownFrame@GW@@QAE_NIPAI@Z=?GetOptionValue@DropdownFrame@GW@@QAE_NIPAI@Z
+/ALTERNATENAME:_?GetSelectedIndex@DropdownFrame@GW@@QAE_NPAI@Z=?GetSelectedIndex@DropdownFrame@GW@@QAE_NPAI@Z
+/ALTERNATENAME:_?GetValue@DropdownFrame@GW@@UAEIXZ=?GetValue@DropdownFrame@GW@@UAEIXZ
+/ALTERNATENAME:_?HasValueMapping@DropdownFrame@GW@@QAE_NXZ=?HasValueMapping@DropdownFrame@GW@@QAE_NXZ
+/ALTERNATENAME:_?SelectIndex@DropdownFrame@GW@@QAE_NI@Z=?SelectIndex@DropdownFrame@GW@@QAE_NI@Z
+/ALTERNATENAME:_?SelectOption@DropdownFrame@GW@@QAE_NI@Z=?SelectOption@DropdownFrame@GW@@QAE_NI@Z
+/ALTERNATENAME:_?SetValue@DropdownFrame@GW@@UAE_NI@Z=?SetValue@DropdownFrame@GW@@UAE_NI@Z
+/ALTERNATENAME:_?GetValue@EditableTextFrame@GW@@QAEPB_WXZ=?GetValue@EditableTextFrame@GW@@QAEPB_WXZ
+/ALTERNATENAME:_?IsReadOnly@EditableTextFrame@GW@@QAE_NXZ=?IsReadOnly@EditableTextFrame@GW@@QAE_NXZ
+/ALTERNATENAME:_?SetMaxLength@EditableTextFrame@GW@@QAE_NI@Z=?SetMaxLength@EditableTextFrame@GW@@QAE_NI@Z
+/ALTERNATENAME:_?SetReadOnly@EditableTextFrame@GW@@QAE_N_N@Z=?SetReadOnly@EditableTextFrame@GW@@QAE_N_N@Z
+/ALTERNATENAME:_?SetValue@EditableTextFrame@GW@@QAE_NPB_W@Z=?SetValue@EditableTextFrame@GW@@QAE_NPB_W@Z
+/ALTERNATENAME:_?GetTimeElapsed@Effect@GW@@QBEKXZ=?GetTimeElapsed@Effect@GW@@QBEKXZ
+/ALTERNATENAME:_?GetTimeRemaining@Effect@GW@@QBEKXZ=?GetTimeRemaining@Effect@GW@@QBEKXZ
+/ALTERNATENAME:_?DropBuff@Effects@GW@@YA_NI@Z=?DropBuff@Effects@GW@@YA_NI@Z
+/ALTERNATENAME:_?GetAgentBuffs@Effects@GW@@YAPAV?$Array@UBuff@GW@@@2@I@Z=?GetAgentBuffs@Effects@GW@@YAPAV?$Array@UBuff@GW@@@2@I@Z
+/ALTERNATENAME:_?GetAgentEffects@Effects@GW@@YAPAV?$Array@UEffect@GW@@@2@I@Z=?GetAgentEffects@Effects@GW@@YAPAV?$Array@UEffect@GW@@@2@I@Z
+/ALTERNATENAME:_?GetAgentEffectsArray@Effects@GW@@YAPAUAgentEffects@2@I@Z=?GetAgentEffectsArray@Effects@GW@@YAPAUAgentEffects@2@I@Z
+/ALTERNATENAME:_?GetAlcoholLevel@Effects@GW@@YAIXZ=?GetAlcoholLevel@Effects@GW@@YAIXZ
+/ALTERNATENAME:_?GetDrunkAf@Effects@GW@@YAXMI@Z=?GetDrunkAf@Effects@GW@@YAXMI@Z
+/ALTERNATENAME:_?GetPartyEffectsArray@Effects@GW@@YAPAV?$Array@UAgentEffects@GW@@@2@XZ=?GetPartyEffectsArray@Effects@GW@@YAPAV?$Array@UAgentEffects@GW@@@2@XZ
+/ALTERNATENAME:_?GetPlayerBuffBySkillId@Effects@GW@@YAPAUBuff@2@W4SkillID@Constants@2@@Z=?GetPlayerBuffBySkillId@Effects@GW@@YAPAUBuff@2@W4SkillID@Constants@2@@Z
+/ALTERNATENAME:_?GetPlayerBuffs@Effects@GW@@YAPAV?$Array@UBuff@GW@@@2@XZ=?GetPlayerBuffs@Effects@GW@@YAPAV?$Array@UBuff@GW@@@2@XZ
+/ALTERNATENAME:_?GetPlayerEffectBySkillId@Effects@GW@@YAPAUEffect@2@W4SkillID@Constants@2@@Z=?GetPlayerEffectBySkillId@Effects@GW@@YAPAUEffect@2@W4SkillID@Constants@2@@Z
+/ALTERNATENAME:_?GetPlayerEffects@Effects@GW@@YAPAV?$Array@UEffect@GW@@@2@XZ=?GetPlayerEffects@Effects@GW@@YAPAV?$Array@UEffect@GW@@@2@XZ
+/ALTERNATENAME:_?GetPlayerEffectsArray@Effects@GW@@YAPAUAgentEffects@2@XZ=?GetPlayerEffectsArray@Effects@GW@@YAPAUAgentEffects@2@XZ
+/ALTERNATENAME:_?RemoveEventCallback@EventMgr@GW@@YAXPAUHookEntry@2@W4EventID@12@@Z=?RemoveEventCallback@EventMgr@GW@@YAXPAUHookEntry@2@W4EventID@12@@Z
+/ALTERNATENAME:_?AddFriend@FriendListMgr@GW@@YA_NPB_W0@Z=?AddFriend@FriendListMgr@GW@@YA_NPB_W0@Z
+/ALTERNATENAME:_?AddIgnore@FriendListMgr@GW@@YA_NPB_W0@Z=?AddIgnore@FriendListMgr@GW@@YA_NPB_W0@Z
+/ALTERNATENAME:_?ChangeFriendType@FriendListMgr@GW@@YA_NPAUFriend@2@W4FriendType@2@@Z=?ChangeFriendType@FriendListMgr@GW@@YA_NPAUFriend@2@W4FriendType@2@@Z
+/ALTERNATENAME:_?GetFriend@FriendListMgr@GW@@YAPAUFriend@2@I@Z=?GetFriend@FriendListMgr@GW@@YAPAUFriend@2@I@Z
+/ALTERNATENAME:_?GetFriend@FriendListMgr@GW@@YAPAUFriend@2@PBE@Z=?GetFriend@FriendListMgr@GW@@YAPAUFriend@2@PBE@Z
+/ALTERNATENAME:_?GetFriend@FriendListMgr@GW@@YAPAUFriend@2@PB_W0W4FriendType@2@@Z=?GetFriend@FriendListMgr@GW@@YAPAUFriend@2@PB_W0W4FriendType@2@@Z
+/ALTERNATENAME:_?GetMyStatus@FriendListMgr@GW@@YA?AW4FriendStatus@2@XZ=?GetMyStatus@FriendListMgr@GW@@YA?AW4FriendStatus@2@XZ
+/ALTERNATENAME:_?GetNumberOfFriends@FriendListMgr@GW@@YAIW4FriendType@2@@Z=?GetNumberOfFriends@FriendListMgr@GW@@YAIW4FriendType@2@@Z
+/ALTERNATENAME:_?GetNumberOfIgnores@FriendListMgr@GW@@YAIXZ=?GetNumberOfIgnores@FriendListMgr@GW@@YAIXZ
+/ALTERNATENAME:_?GetNumberOfPartners@FriendListMgr@GW@@YAIXZ=?GetNumberOfPartners@FriendListMgr@GW@@YAIXZ
+/ALTERNATENAME:_?GetNumberOfTraders@FriendListMgr@GW@@YAIXZ=?GetNumberOfTraders@FriendListMgr@GW@@YAIXZ
+/ALTERNATENAME:_?RemoveFriend@FriendListMgr@GW@@YA_NPAUFriend@2@@Z=?RemoveFriend@FriendListMgr@GW@@YA_NPAUFriend@2@@Z
+/ALTERNATENAME:_?RemoveFriendStatusCallback@FriendListMgr@GW@@YAXPAUHookEntry@2@@Z=?RemoveFriendStatusCallback@FriendListMgr@GW@@YAXPAUHookEntry@2@@Z
+/ALTERNATENAME:_?SetFriendListStatus@FriendListMgr@GW@@YA_NW4FriendStatus@2@@Z=?SetFriendListStatus@FriendListMgr@GW@@YA_NW4FriendStatus@2@@Z
+/ALTERNATENAME:_?ClearCalls@GameThread@GW@@YAXXZ=?ClearCalls@GameThread@GW@@YAXXZ
+/ALTERNATENAME:_?EnableHooks@GameThread@GW@@YAXXZ=?EnableHooks@GameThread@GW@@YAXXZ
+/ALTERNATENAME:_Enqueue=Enqueue
+/ALTERNATENAME:_?IsInGameThread@GameThread@GW@@YA_NXZ=?IsInGameThread@GameThread@GW@@YA_NXZ
+/ALTERNATENAME:_RegisterGameThreadCallback=RegisterGameThreadCallback
+/ALTERNATENAME:_?RemoveGameThreadCallback@GameThread@GW@@YAXPAUHookEntry@2@@Z=?RemoveGameThreadCallback@GameThread@GW@@YAXPAUHookEntry@2@@Z
+/ALTERNATENAME:_?GetCurrentGH@GuildMgr@GW@@YAPAUGuild@2@XZ=?GetCurrentGH@GuildMgr@GW@@YAPAUGuild@2@XZ
+/ALTERNATENAME:_?GetGuildArray@GuildMgr@GW@@YAPAV?$Array@PAUGuild@GW@@@2@XZ=?GetGuildArray@GuildMgr@GW@@YAPAV?$Array@PAUGuild@GW@@@2@XZ
+/ALTERNATENAME:_?GetGuildInfo@GuildMgr@GW@@YAPAUGuild@2@I@Z=?GetGuildInfo@GuildMgr@GW@@YAPAUGuild@2@I@Z
+/ALTERNATENAME:_?GetPlayerGuild@GuildMgr@GW@@YAPAUGuild@2@XZ=?GetPlayerGuild@GuildMgr@GW@@YAPAUGuild@2@XZ
+/ALTERNATENAME:_?GetPlayerGuildAnnouncement@GuildMgr@GW@@YAPA_WXZ=?GetPlayerGuildAnnouncement@GuildMgr@GW@@YAPA_WXZ
+/ALTERNATENAME:_?GetPlayerGuildAnnouncer@GuildMgr@GW@@YAPA_WXZ=?GetPlayerGuildAnnouncer@GuildMgr@GW@@YAPA_WXZ
+/ALTERNATENAME:_?GetPlayerGuildIndex@GuildMgr@GW@@YAIXZ=?GetPlayerGuildIndex@GuildMgr@GW@@YAIXZ
+/ALTERNATENAME:_?LeaveGH@GuildMgr@GW@@YA_NXZ=?LeaveGH@GuildMgr@GW@@YA_NXZ
+/ALTERNATENAME:_?TravelGH@GuildMgr@GW@@YA_NUGHKey@2@@Z=?TravelGH@GuildMgr@GW@@YA_NUGHKey@2@@Z
+/ALTERNATENAME:_?TravelGH@GuildMgr@GW@@YA_NXZ=?TravelGH@GuildMgr@GW@@YA_NXZ
+/ALTERNATENAME:_?CreateHook@Hook@GW@@YAHPAPAXPAX0@Z=?CreateHook@Hook@GW@@YAHPAPAXPAX0@Z
+/ALTERNATENAME:_?Deinitialize@Hook@GW@@YAXXZ=?Deinitialize@Hook@GW@@YAXXZ
+/ALTERNATENAME:_?DisableHooks@Hook@GW@@YAXPAX@Z=?DisableHooks@Hook@GW@@YAXPAX@Z
+/ALTERNATENAME:_?EnableHooks@Hook@GW@@YAXPAX@Z=?EnableHooks@Hook@GW@@YAXPAX@Z
+/ALTERNATENAME:_?EnterHook@Hook@GW@@YAXXZ=?EnterHook@Hook@GW@@YAXXZ
+/ALTERNATENAME:_?GetInHookCount@Hook@GW@@YAHXZ=?GetInHookCount@Hook@GW@@YAHXZ
+/ALTERNATENAME:_?Initialize@Hook@GW@@YAXXZ=?Initialize@Hook@GW@@YAXXZ
+/ALTERNATENAME:_?LeaveHook@Hook@GW@@YAXXZ=?LeaveHook@Hook@GW@@YAXXZ
+/ALTERNATENAME:_?RemoveHook@Hook@GW@@YAXPAX@Z=?RemoveHook@Hook@GW@@YAXPAX@Z
+/ALTERNATENAME:_?GetIsMaterial@Item@GW@@QBE_NXZ=?GetIsMaterial@Item@GW@@QBE_NXZ
+/ALTERNATENAME:_?GetIsZcoin@Item@GW@@QBE_NXZ=?GetIsZcoin@Item@GW@@QBE_NXZ
+/ALTERNATENAME:_?GetSelectedValue@ItemListFrame@GW@@QAE_NPAI@Z=?GetSelectedValue@ItemListFrame@GW@@QAE_NPAI@Z
+/ALTERNATENAME:_?GetSortHandler@ItemListFrame@GW@@QAEP6AHII@ZXZ=?GetSortHandler@ItemListFrame@GW@@QAEP6AHII@ZXZ
+/ALTERNATENAME:_?SetSortHandler@ItemListFrame@GW@@QAE_NP6AHII@Z@Z=?SetSortHandler@ItemListFrame@GW@@QAE_NP6AHII@Z@Z
+/ALTERNATENAME:_?CanAccessXunlaiChest@Items@GW@@YA_NXZ=?CanAccessXunlaiChest@Items@GW@@YA_NXZ
+/ALTERNATENAME:_?CanInteractWithItem@Items@GW@@YA_NPBUItem@2@@Z=?CanInteractWithItem@Items@GW@@YA_NPBUItem@2@@Z
+/ALTERNATENAME:_?CountItemByModelId@Items@GW@@YAIIHH@Z=?CountItemByModelId@Items@GW@@YAIIHH@Z
+/ALTERNATENAME:_?DepositGold@Items@GW@@YAII@Z=?DepositGold@Items@GW@@YAII@Z
+/ALTERNATENAME:_?DestroyItem@Items@GW@@YA_NI@Z=?DestroyItem@Items@GW@@YA_NI@Z
+/ALTERNATENAME:_?DropGold@Items@GW@@YA_NI@Z=?DropGold@Items@GW@@YA_NI@Z
+/ALTERNATENAME:_?DropItem@Items@GW@@YA_NPBUItem@2@I@Z=?DropItem@Items@GW@@YA_NPBUItem@2@I@Z
+/ALTERNATENAME:_?EquipItem@Items@GW@@YA_NPBUItem@2@I@Z=?EquipItem@Items@GW@@YA_NPBUItem@2@I@Z
+/ALTERNATENAME:_?GetBag@Items@GW@@YAPAUBag@2@W43Constants@2@@Z=?GetBag@Items@GW@@YAPAUBag@2@W43Constants@2@@Z
+/ALTERNATENAME:_?GetBagArray@Items@GW@@YAPAPAUBag@2@XZ=?GetBagArray@Items@GW@@YAPAPAUBag@2@XZ
+/ALTERNATENAME:_?GetBagByIndex@Items@GW@@YAPAUBag@2@I@Z=?GetBagByIndex@Items@GW@@YAPAUBag@2@I@Z
+/ALTERNATENAME:_?GetCompositeModelInfo@Items@GW@@YAPBUCompositeModelInfo@2@I@Z=?GetCompositeModelInfo@Items@GW@@YAPBUCompositeModelInfo@2@I@Z
+/ALTERNATENAME:_?GetEquipmentVisibility@Items@GW@@YA?AW4EquipmentStatus@2@W4EquipmentType@2@@Z=?GetEquipmentVisibility@Items@GW@@YA?AW4EquipmentStatus@2@W4EquipmentType@2@@Z
+/ALTERNATENAME:_?GetGoldAmountInStorage@Items@GW@@YAIXZ=?GetGoldAmountInStorage@Items@GW@@YAIXZ
+/ALTERNATENAME:_?GetGoldAmountOnCharacter@Items@GW@@YAIXZ=?GetGoldAmountOnCharacter@Items@GW@@YAIXZ
+/ALTERNATENAME:_?GetHeroInventory@Items@GW@@YAPAUInventory@2@W4HeroID@Constants@2@@Z=?GetHeroInventory@Items@GW@@YAPAUInventory@2@W4HeroID@Constants@2@@Z
+/ALTERNATENAME:_?GetHoveredItem@Items@GW@@YAPAUItem@2@XZ=?GetHoveredItem@Items@GW@@YAPAUItem@2@XZ
+/ALTERNATENAME:_?GetInventory@Items@GW@@YAPAUInventory@2@XZ=?GetInventory@Items@GW@@YAPAUInventory@2@XZ
+/ALTERNATENAME:_?GetIsStorageOpen@Items@GW@@YA_NXZ=?GetIsStorageOpen@Items@GW@@YA_NXZ
+/ALTERNATENAME:_?GetItemArray@Items@GW@@YAPAV?$Array@PAUItem@GW@@@2@XZ=?GetItemArray@Items@GW@@YAPAV?$Array@PAUItem@GW@@@2@XZ
+/ALTERNATENAME:_?GetItemById@Items@GW@@YAPAUItem@2@I@Z=?GetItemById@Items@GW@@YAPAUItem@2@I@Z
+/ALTERNATENAME:_?GetItemByModelId@Items@GW@@YAPAUItem@2@IHH@Z=?GetItemByModelId@Items@GW@@YAPAUItem@2@IHH@Z
+/ALTERNATENAME:_?GetItemByModelIdAndModifiers@Items@GW@@YAPAUItem@2@IPBUItemModifier@2@IHH@Z=?GetItemByModelIdAndModifiers@Items@GW@@YAPAUItem@2@IPBUItemModifier@2@IHH@Z
+/ALTERNATENAME:_?GetItemBySlot@Items@GW@@YAPAUItem@2@PBUBag@2@I@Z=?GetItemBySlot@Items@GW@@YAPAUItem@2@PBUBag@2@I@Z
+/ALTERNATENAME:_?GetItemFormula@Items@GW@@YAPBUItemFormula@2@PBUItem@2@@Z=?GetItemFormula@Items@GW@@YAPBUItemFormula@2@PBUItem@2@@Z
+/ALTERNATENAME:_?GetMaterialSlot@Items@GW@@YA?AW4MaterialSlot@Constants@2@PBUItem@2@@Z=?GetMaterialSlot@Items@GW@@YA?AW4MaterialSlot@Constants@2@PBUItem@2@@Z
+/ALTERNATENAME:_?GetMaterialStorageStackSize@Items@GW@@YAIXZ=?GetMaterialStorageStackSize@Items@GW@@YAIXZ
+/ALTERNATENAME:_?GetPvPItemInfo@Items@GW@@YAPBUPvPItemInfo@2@I@Z=?GetPvPItemInfo@Items@GW@@YAPBUPvPItemInfo@2@I@Z
+/ALTERNATENAME:_?GetPvPItemUpgrade@Items@GW@@YAPBUPvPItemUpgradeInfo@2@I@Z=?GetPvPItemUpgrade@Items@GW@@YAPBUPvPItemUpgradeInfo@2@I@Z
+/ALTERNATENAME:_?GetPvPItemUpgradeEncodedDescription@Items@GW@@YA_NIPAPA_W@Z=?GetPvPItemUpgradeEncodedDescription@Items@GW@@YA_NIPAPA_W@Z
+/ALTERNATENAME:_?GetPvPItemUpgradeEncodedName@Items@GW@@YA_NIPAPA_W@Z=?GetPvPItemUpgradeEncodedName@Items@GW@@YA_NIPAPA_W@Z
+/ALTERNATENAME:_?GetSalvageSessionInfo@Items@GW@@YAPAUSalvageSessionInfo@2@XZ=?GetSalvageSessionInfo@Items@GW@@YAPAUSalvageSessionInfo@2@XZ
+/ALTERNATENAME:_?GetStoragePage@Items@GW@@YA?AW4StoragePane@Constants@2@XZ=?GetStoragePage@Items@GW@@YA?AW4StoragePane@Constants@2@XZ
+/ALTERNATENAME:_?IdentifyItem@Items@GW@@YA_NII@Z=?IdentifyItem@Items@GW@@YA_NII@Z
+/ALTERNATENAME:_?MoveItem@Items@GW@@YA_NPBUItem@2@0I@Z=?MoveItem@Items@GW@@YA_NPBUItem@2@0I@Z
+/ALTERNATENAME:_?MoveItem@Items@GW@@YA_NPBUItem@2@PBUBag@2@II@Z=?MoveItem@Items@GW@@YA_NPBUItem@2@PBUBag@2@II@Z
+/ALTERNATENAME:_?MoveItem@Items@GW@@YA_NPBUItem@2@W4Bag@Constants@2@II@Z=?MoveItem@Items@GW@@YA_NPBUItem@2@W4Bag@Constants@2@II@Z
+/ALTERNATENAME:_?OpenXunlaiWindow@Items@GW@@YA_N_N0@Z=?OpenXunlaiWindow@Items@GW@@YA_N_N0@Z
+/ALTERNATENAME:_?PickUpItem@Items@GW@@YA_NPBUItem@2@I@Z=?PickUpItem@Items@GW@@YA_NPBUItem@2@I@Z
+/ALTERNATENAME:_?PingWeaponSet@Items@GW@@YA_NIII@Z=?PingWeaponSet@Items@GW@@YA_NIII@Z
+/ALTERNATENAME:_?RemoveItemClickCallback@Items@GW@@YAXPAUHookEntry@2@@Z=?RemoveItemClickCallback@Items@GW@@YAXPAUHookEntry@2@@Z
+/ALTERNATENAME:_?SalvageMaterials@Items@GW@@YA_NXZ=?SalvageMaterials@Items@GW@@YA_NXZ
+/ALTERNATENAME:_?SalvageSessionCancel@Items@GW@@YA_NXZ=?SalvageSessionCancel@Items@GW@@YA_NXZ
+/ALTERNATENAME:_?SalvageStart@Items@GW@@YA_NII@Z=?SalvageStart@Items@GW@@YA_NII@Z
+/ALTERNATENAME:_?SetEquipmentVisibility@Items@GW@@YA_NW4EquipmentType@2@W4EquipmentStatus@2@@Z=?SetEquipmentVisibility@Items@GW@@YA_NW4EquipmentType@2@W4EquipmentStatus@2@@Z
+/ALTERNATENAME:_?UseItem@Items@GW@@YA_NPBUItem@2@@Z=?UseItem@Items@GW@@YA_NPBUItem@2@@Z
+/ALTERNATENAME:_?UseItemByModelId@Items@GW@@YA_NIHH@Z=?UseItemByModelId@Items@GW@@YA_NIHH@Z
+/ALTERNATENAME:_?WithdrawGold@Items@GW@@YAII@Z=?WithdrawGold@Items@GW@@YAII@Z
+/ALTERNATENAME:_?CancelEnterChallenge@Map@GW@@YA_NXZ=?CancelEnterChallenge@Map@GW@@YA_NXZ
+/ALTERNATENAME:_?CreateMapContext@Map@GW@@YAPAUMapContext@2@I@Z=?CreateMapContext@Map@GW@@YAPAUMapContext@2@I@Z
+/ALTERNATENAME:_?DestroyMapContext@Map@GW@@YA_NPAUMapContext@2@@Z=?DestroyMapContext@Map@GW@@YA_NPAUMapContext@2@@Z
+/ALTERNATENAME:_?EnterChallenge@Map@GW@@YA_NXZ=?EnterChallenge@Map@GW@@YA_NXZ
+/ALTERNATENAME:_?GetDistrict@Map@GW@@YAHXZ=?GetDistrict@Map@GW@@YAHXZ
+/ALTERNATENAME:_?GetFoesKilled@Map@GW@@YAIXZ=?GetFoesKilled@Map@GW@@YAIXZ
+/ALTERNATENAME:_?GetFoesToKill@Map@GW@@YAIXZ=?GetFoesToKill@Map@GW@@YAIXZ
+/ALTERNATENAME:_?GetInstanceTime@Map@GW@@YAIXZ=?GetInstanceTime@Map@GW@@YAIXZ
+/ALTERNATENAME:_?GetInstanceType@Map@GW@@YA?AW4InstanceType@Constants@2@XZ=?GetInstanceType@Map@GW@@YA?AW4InstanceType@Constants@2@XZ
+/ALTERNATENAME:_?GetIsInCinematic@Map@GW@@YA_NXZ=?GetIsInCinematic@Map@GW@@YA_NXZ
+/ALTERNATENAME:_?GetIsMapLoaded@Map@GW@@YA_NXZ=?GetIsMapLoaded@Map@GW@@YA_NXZ
+/ALTERNATENAME:_?GetIsMapUnlocked@Map@GW@@YA_NW4MapID@Constants@2@@Z=?GetIsMapUnlocked@Map@GW@@YA_NW4MapID@Constants@2@@Z
+/ALTERNATENAME:_?GetIsObserving@Map@GW@@YA_NXZ=?GetIsObserving@Map@GW@@YA_NXZ
+/ALTERNATENAME:_?GetLanguage@Map@GW@@YA?AW4Language@Constants@2@XZ=?GetLanguage@Map@GW@@YA?AW4Language@Constants@2@XZ
+/ALTERNATENAME:_?GetMapID@Map@GW@@YA?AW4MapID@Constants@2@XZ=?GetMapID@Map@GW@@YA?AW4MapID@Constants@2@XZ
+/ALTERNATENAME:_?GetMapInfo@Map@GW@@YAPAUAreaInfo@2@W4MapID@Constants@2@@Z=?GetMapInfo@Map@GW@@YAPAUAreaInfo@2@W4MapID@Constants@2@@Z
+/ALTERNATENAME:_?GetMissionMapContext@Map@GW@@YAPAUMissionMapContext@2@XZ=?GetMissionMapContext@Map@GW@@YAPAUMissionMapContext@2@XZ
+/ALTERNATENAME:_?GetMissionMapIconArray@Map@GW@@YAPAV?$Array@UMissionMapIcon@GW@@@2@XZ=?GetMissionMapIconArray@Map@GW@@YAPAV?$Array@UMissionMapIcon@GW@@@2@XZ
+/ALTERNATENAME:_?GetRegion@Map@GW@@YA?AW4ServerRegion@Constants@2@XZ=?GetRegion@Map@GW@@YA?AW4ServerRegion@Constants@2@XZ
+/ALTERNATENAME:_?GetWorldMapContext@Map@GW@@YAPAUWorldMapContext@2@XZ=?GetWorldMapContext@Map@GW@@YAPAUWorldMapContext@2@XZ
+/ALTERNATENAME:_?LanguageFromDistrict@Map@GW@@YA?AW4Language@Constants@2@W4District@42@@Z=?LanguageFromDistrict@Map@GW@@YA?AW4Language@Constants@2@W4District@42@@Z
+/ALTERNATENAME:_?QueryAltitude@Map@GW@@YAMPBUGamePos@2@MPAUMapContext@2@@Z=?QueryAltitude@Map@GW@@YAMPBUGamePos@2@MPAUMapContext@2@@Z
+/ALTERNATENAME:_?RegionFromDistrict@Map@GW@@YA?AW4ServerRegion@Constants@2@W4District@42@@Z=?RegionFromDistrict@Map@GW@@YA?AW4ServerRegion@Constants@2@W4District@42@@Z
+/ALTERNATENAME:_?SkipCinematic@Map@GW@@YA_NXZ=?SkipCinematic@Map@GW@@YA_NXZ
+/ALTERNATENAME:_?Travel@Map@GW@@YA_NW4MapID@Constants@2@W4District@42@H@Z=?Travel@Map@GW@@YA_NW4MapID@Constants@2@W4District@42@H@Z
+/ALTERNATENAME:_?Travel@Map@GW@@YA_NW4MapID@Constants@2@W4ServerRegion@42@HW4Language@42@@Z=?Travel@Map@GW@@YA_NW4MapID@Constants@2@W4ServerRegion@42@HW4Language@42@@Z
+/ALTERNATENAME:_?GetGWVersion@MemoryMgr@GW@@YAIXZ=?GetGWVersion@MemoryMgr@GW@@YAIXZ
+/ALTERNATENAME:_?GetGWWindowHandle@MemoryMgr@GW@@YAPAUHWND__@@XZ=?GetGWWindowHandle@MemoryMgr@GW@@YAPAUHWND__@@XZ
+/ALTERNATENAME:_?GetPersonalDir@MemoryMgr@GW@@YA_NIPA_W@Z=?GetPersonalDir@MemoryMgr@GW@@YA_NIPA_W@Z
+/ALTERNATENAME:_?GetSkillTimer@MemoryMgr@GW@@YAKXZ=?GetSkillTimer@MemoryMgr@GW@@YAKXZ
+/ALTERNATENAME:_?MemAlloc@MemoryMgr@GW@@YAPAXI@Z=?MemAlloc@MemoryMgr@GW@@YAPAXI@Z
+/ALTERNATENAME:_?MemFree@MemoryMgr@GW@@YAXPAX@Z=?MemFree@MemoryMgr@GW@@YAXPAX@Z
+/ALTERNATENAME:_?MemRealloc@MemoryMgr@GW@@YAPAXPAXI@Z=?MemRealloc@MemoryMgr@GW@@YAPAXPAXI@Z
+/ALTERNATENAME:_?DisableHooks@MemoryPatcher@GW@@SAXXZ=?DisableHooks@MemoryPatcher@GW@@SAXXZ
+/ALTERNATENAME:_?EnableHooks@MemoryPatcher@GW@@SAXXZ=?EnableHooks@MemoryPatcher@GW@@SAXXZ
+/ALTERNATENAME:_?Reset@MemoryPatcher@GW@@QAEXXZ=?Reset@MemoryPatcher@GW@@QAEXXZ
+/ALTERNATENAME:_?SetPatch@MemoryPatcher@GW@@QAEXIPBDI@Z=?SetPatch@MemoryPatcher@GW@@QAEXIPBDI@Z
+/ALTERNATENAME:_?SetRedirect@MemoryPatcher@GW@@QAE_NIPAX@Z=?SetRedirect@MemoryPatcher@GW@@QAE_NIPAX@Z
+/ALTERNATENAME:_?TogglePatch@MemoryPatcher@GW@@QAE_N_N@Z=?TogglePatch@MemoryPatcher@GW@@QAE_N_N@Z
+/ALTERNATENAME:_?GetMerchantItems@Merchant@GW@@YAIW4TransactionType@12@IPAI@Z=?GetMerchantItems@Merchant@GW@@YAIW4TransactionType@12@IPAI@Z
+/ALTERNATENAME:_?RequestQuote@Merchant@GW@@YA_NW4TransactionType@12@I@Z=?RequestQuote@Merchant@GW@@YA_NW4TransactionType@12@I@Z
+/ALTERNATENAME:_?TransactItems@Merchant@GW@@YA_NXZ=?TransactItems@Merchant@GW@@YA_NXZ
+/ALTERNATENAME:_?GetDecodedLabel@MultiLineTextLabelFrame@GW@@QAEPB_WXZ=?GetDecodedLabel@MultiLineTextLabelFrame@GW@@QAEPB_WXZ
+/ALTERNATENAME:_?GetEncodedLabel@MultiLineTextLabelFrame@GW@@QAEPB_WXZ=?GetEncodedLabel@MultiLineTextLabelFrame@GW@@QAEPB_WXZ
+/ALTERNATENAME:_?SetLabel@MultiLineTextLabelFrame@GW@@QAE_NPB_W@Z=?SetLabel@MultiLineTextLabelFrame@GW@@QAE_NPB_W@Z
+/ALTERNATENAME:_?AddHenchman@PartyMgr@GW@@YA_NI@Z=?AddHenchman@PartyMgr@GW@@YA_NI@Z
+/ALTERNATENAME:_?AddHero@PartyMgr@GW@@YA_NW4HeroID@Constants@2@@Z=?AddHero@PartyMgr@GW@@YA_NW4HeroID@Constants@2@@Z
+/ALTERNATENAME:_?FlagAll@PartyMgr@GW@@YA_NUGamePos@2@@Z=?FlagAll@PartyMgr@GW@@YA_NUGamePos@2@@Z
+/ALTERNATENAME:_?FlagHero@PartyMgr@GW@@YA_NIUGamePos@2@@Z=?FlagHero@PartyMgr@GW@@YA_NIUGamePos@2@@Z
+/ALTERNATENAME:_?GetAgentAttributes@PartyMgr@GW@@YAPAUAttribute@2@I@Z=?GetAgentAttributes@PartyMgr@GW@@YAPAUAttribute@2@I@Z
+/ALTERNATENAME:_?GetHeroAgentID@PartyMgr@GW@@YAII@Z=?GetHeroAgentID@PartyMgr@GW@@YAII@Z
+/ALTERNATENAME:_?GetHeroConstData@PartyMgr@GW@@YAPAUHeroConstData@2@W4HeroID@Constants@2@@Z=?GetHeroConstData@PartyMgr@GW@@YAPAUHeroConstData@2@W4HeroID@Constants@2@@Z
+/ALTERNATENAME:_?GetHeroInfo@PartyMgr@GW@@YAPAUHeroInfo@2@W4HeroID@Constants@2@@Z=?GetHeroInfo@PartyMgr@GW@@YAPAUHeroInfo@2@W4HeroID@Constants@2@@Z
+/ALTERNATENAME:_?GetIsHardModeUnlocked@PartyMgr@GW@@YA_NXZ=?GetIsHardModeUnlocked@PartyMgr@GW@@YA_NXZ
+/ALTERNATENAME:_?GetIsLeader@PartyMgr@GW@@YA_NXZ=?GetIsLeader@PartyMgr@GW@@YA_NXZ
+/ALTERNATENAME:_?GetIsPartyDefeated@PartyMgr@GW@@YA_NXZ=?GetIsPartyDefeated@PartyMgr@GW@@YA_NXZ
+/ALTERNATENAME:_?GetIsPartyInHardMode@PartyMgr@GW@@YA_NXZ=?GetIsPartyInHardMode@PartyMgr@GW@@YA_NXZ
+/ALTERNATENAME:_?GetIsPartyLoaded@PartyMgr@GW@@YA_NXZ=?GetIsPartyLoaded@PartyMgr@GW@@YA_NXZ
+/ALTERNATENAME:_?GetIsPartyTicked@PartyMgr@GW@@YA_NXZ=?GetIsPartyTicked@PartyMgr@GW@@YA_NXZ
+/ALTERNATENAME:_?GetIsPlayerTicked@PartyMgr@GW@@YA_NI@Z=?GetIsPlayerTicked@PartyMgr@GW@@YA_NI@Z
+/ALTERNATENAME:_?GetPartyHenchmanCount@PartyMgr@GW@@YAIXZ=?GetPartyHenchmanCount@PartyMgr@GW@@YAIXZ
+/ALTERNATENAME:_?GetPartyHeroCount@PartyMgr@GW@@YAIXZ=?GetPartyHeroCount@PartyMgr@GW@@YAIXZ
+/ALTERNATENAME:_?GetPartyInfo@PartyMgr@GW@@YAPAUPartyInfo@2@I@Z=?GetPartyInfo@PartyMgr@GW@@YAPAUPartyInfo@2@I@Z
+/ALTERNATENAME:_?GetPartyPlayerCount@PartyMgr@GW@@YAIXZ=?GetPartyPlayerCount@PartyMgr@GW@@YAIXZ
+/ALTERNATENAME:_?GetPartySearch@PartyMgr@GW@@YAPAUPartySearch@2@I@Z=?GetPartySearch@PartyMgr@GW@@YAPAUPartySearch@2@I@Z
+/ALTERNATENAME:_?GetPartySize@PartyMgr@GW@@YAIXZ=?GetPartySize@PartyMgr@GW@@YAIXZ
+/ALTERNATENAME:_?GetPetInfo@PartyMgr@GW@@YAPAUPetInfo@2@I@Z=?GetPetInfo@PartyMgr@GW@@YAPAUPetInfo@2@I@Z
+/ALTERNATENAME:_?InvitePlayer@PartyMgr@GW@@YA_NI@Z=?InvitePlayer@PartyMgr@GW@@YA_NI@Z
+/ALTERNATENAME:_?InvitePlayer@PartyMgr@GW@@YA_NPB_W@Z=?InvitePlayer@PartyMgr@GW@@YA_NPB_W@Z
+/ALTERNATENAME:_?KickAllHeroes@PartyMgr@GW@@YA_NXZ=?KickAllHeroes@PartyMgr@GW@@YA_NXZ
+/ALTERNATENAME:_?KickHenchman@PartyMgr@GW@@YA_NI@Z=?KickHenchman@PartyMgr@GW@@YA_NI@Z
+/ALTERNATENAME:_?KickHero@PartyMgr@GW@@YA_NW4HeroID@Constants@2@@Z=?KickHero@PartyMgr@GW@@YA_NW4HeroID@Constants@2@@Z
+/ALTERNATENAME:_?KickPlayer@PartyMgr@GW@@YA_NI@Z=?KickPlayer@PartyMgr@GW@@YA_NI@Z
+/ALTERNATENAME:_?LeaveParty@PartyMgr@GW@@YA_NXZ=?LeaveParty@PartyMgr@GW@@YA_NXZ
+/ALTERNATENAME:_?RespondToPartyRequest@PartyMgr@GW@@YA_NI_N@Z=?RespondToPartyRequest@PartyMgr@GW@@YA_NI_N@Z
+/ALTERNATENAME:_?ReturnToOutpost@PartyMgr@GW@@YA_NXZ=?ReturnToOutpost@PartyMgr@GW@@YA_NXZ
+/ALTERNATENAME:_?SearchParty@PartyMgr@GW@@YA_NIPB_W@Z=?SearchParty@PartyMgr@GW@@YA_NIPB_W@Z
+/ALTERNATENAME:_?SearchPartyCancel@PartyMgr@GW@@YA_NXZ=?SearchPartyCancel@PartyMgr@GW@@YA_NXZ
+/ALTERNATENAME:_?SearchPartyReply@PartyMgr@GW@@YA_NI_N@Z=?SearchPartyReply@PartyMgr@GW@@YA_NI_N@Z
+/ALTERNATENAME:_?SetHardMode@PartyMgr@GW@@YA_N_N@Z=?SetHardMode@PartyMgr@GW@@YA_N_N@Z
+/ALTERNATENAME:_?SetHeroBehavior@PartyMgr@GW@@YA_NIW4HeroBehavior@2@@Z=?SetHeroBehavior@PartyMgr@GW@@YA_NIW4HeroBehavior@2@@Z
+/ALTERNATENAME:_?SetHeroSkillDisabled@PartyMgr@GW@@YA_NII_N@Z=?SetHeroSkillDisabled@PartyMgr@GW@@YA_NII_N@Z
+/ALTERNATENAME:_?SetHeroTarget@PartyMgr@GW@@YA_NII@Z=?SetHeroTarget@PartyMgr@GW@@YA_NII@Z
+/ALTERNATENAME:_?SetPetBehavior@PartyMgr@GW@@YA_NIW4HeroBehavior@2@@Z=?SetPetBehavior@PartyMgr@GW@@YA_NIW4HeroBehavior@2@@Z
+/ALTERNATENAME:_?SetTickToggle@PartyMgr@GW@@YAX_N@Z=?SetTickToggle@PartyMgr@GW@@YAX_N@Z
+/ALTERNATENAME:_?Tick@PartyMgr@GW@@YA_N_N@Z=?Tick@PartyMgr@GW@@YA_N_N@Z
+/ALTERNATENAME:_?UnflagAll@PartyMgr@GW@@YA_NXZ=?UnflagAll@PartyMgr@GW@@YA_NXZ
+/ALTERNATENAME:_?UnflagHero@PartyMgr@GW@@YA_NI@Z=?UnflagHero@PartyMgr@GW@@YA_NI@Z
+/ALTERNATENAME:_?ChangeSecondProfession@PlayerMgr@GW@@YA_NW4Profession@Constants@2@I@Z=?ChangeSecondProfession@PlayerMgr@GW@@YA_NW4Profession@Constants@2@I@Z
+/ALTERNATENAME:_?GetActiveTitle@PlayerMgr@GW@@YAPAUTitle@2@XZ=?GetActiveTitle@PlayerMgr@GW@@YAPAUTitle@2@XZ
+/ALTERNATENAME:_?GetActiveTitleId@PlayerMgr@GW@@YA?AW4TitleID@Constants@2@XZ=?GetActiveTitleId@PlayerMgr@GW@@YA?AW4TitleID@Constants@2@XZ
+/ALTERNATENAME:_?GetAmountOfPlayersInInstance@PlayerMgr@GW@@YAIXZ=?GetAmountOfPlayersInInstance@PlayerMgr@GW@@YAIXZ
+/ALTERNATENAME:_?GetPlayerAgentId@PlayerMgr@GW@@YAII@Z=?GetPlayerAgentId@PlayerMgr@GW@@YAII@Z
+/ALTERNATENAME:_?GetPlayerArray@PlayerMgr@GW@@YAPAV?$Array@UPlayer@GW@@@2@XZ=?GetPlayerArray@PlayerMgr@GW@@YAPAV?$Array@UPlayer@GW@@@2@XZ
+/ALTERNATENAME:_?GetPlayerByID@PlayerMgr@GW@@YAPAUPlayer@2@I@Z=?GetPlayerByID@PlayerMgr@GW@@YAPAUPlayer@2@I@Z
+/ALTERNATENAME:_?GetPlayerByName@PlayerMgr@GW@@YAPAUPlayer@2@PB_W@Z=?GetPlayerByName@PlayerMgr@GW@@YAPAUPlayer@2@PB_W@Z
+/ALTERNATENAME:_?GetPlayerName@PlayerMgr@GW@@YAPA_WI@Z=?GetPlayerName@PlayerMgr@GW@@YAPA_WI@Z
+/ALTERNATENAME:_?GetPlayerNumber@PlayerMgr@GW@@YAIXZ=?GetPlayerNumber@PlayerMgr@GW@@YAIXZ
+/ALTERNATENAME:_?GetTitleData@PlayerMgr@GW@@YAPAUTitleClientData@2@W4TitleID@Constants@2@@Z=?GetTitleData@PlayerMgr@GW@@YAPAUTitleClientData@2@W4TitleID@Constants@2@@Z
+/ALTERNATENAME:_?GetTitleTrack@PlayerMgr@GW@@YAPAUTitle@2@W4TitleID@Constants@2@@Z=?GetTitleTrack@PlayerMgr@GW@@YAPAUTitle@2@W4TitleID@Constants@2@@Z
+/ALTERNATENAME:_?RemoveActiveTitle@PlayerMgr@GW@@YA_NXZ=?RemoveActiveTitle@PlayerMgr@GW@@YA_NXZ
+/ALTERNATENAME:_?SetActiveTitle@PlayerMgr@GW@@YA_NW4TitleID@Constants@2@@Z=?SetActiveTitle@PlayerMgr@GW@@YA_NW4TitleID@Constants@2@@Z
+/ALTERNATENAME:_?SetPlayerName@PlayerMgr@GW@@YAPA_WIPB_W@Z=?SetPlayerName@PlayerMgr@GW@@YAPA_WIPB_W@Z
+/ALTERNATENAME:_?GetValue@ProgressBar@GW@@UAEIXZ=?GetValue@ProgressBar@GW@@UAEIXZ
+/ALTERNATENAME:_?SetColorId@ProgressBar@GW@@QAE_NI@Z=?SetColorId@ProgressBar@GW@@QAE_NI@Z
+/ALTERNATENAME:_?SetMax@ProgressBar@GW@@QAE_NI@Z=?SetMax@ProgressBar@GW@@QAE_NI@Z
+/ALTERNATENAME:_?SetStyle@ProgressBar@GW@@QAE_NW4ProgressBarStyle@12@@Z=?SetStyle@ProgressBar@GW@@QAE_NW4ProgressBarStyle@12@@Z
+/ALTERNATENAME:_?SetValue@ProgressBar@GW@@UAE_NI@Z=?SetValue@ProgressBar@GW@@UAE_NI@Z
+/ALTERNATENAME:_?AbandonQuest@QuestMgr@GW@@YA_NPAUQuest@2@@Z=?AbandonQuest@QuestMgr@GW@@YA_NPAUQuest@2@@Z
+/ALTERNATENAME:_?AbandonQuestId@QuestMgr@GW@@YA_NW4QuestID@Constants@2@@Z=?AbandonQuestId@QuestMgr@GW@@YA_NW4QuestID@Constants@2@@Z
+/ALTERNATENAME:_?GetActiveQuest@QuestMgr@GW@@YAPAUQuest@2@XZ=?GetActiveQuest@QuestMgr@GW@@YAPAUQuest@2@XZ
+/ALTERNATENAME:_?GetActiveQuestId@QuestMgr@GW@@YA?AW4QuestID@Constants@2@XZ=?GetActiveQuestId@QuestMgr@GW@@YA?AW4QuestID@Constants@2@XZ
+/ALTERNATENAME:_?GetQuest@QuestMgr@GW@@YAPAUQuest@2@W4QuestID@Constants@2@@Z=?GetQuest@QuestMgr@GW@@YAPAUQuest@2@W4QuestID@Constants@2@@Z
+/ALTERNATENAME:_?GetQuestEntryGroupName@QuestMgr@GW@@YA_NW4QuestID@Constants@2@PA_WI@Z=?GetQuestEntryGroupName@QuestMgr@GW@@YA_NW4QuestID@Constants@2@PA_WI@Z
+/ALTERNATENAME:_?GetQuestLog@QuestMgr@GW@@YAPAV?$Array@UQuest@GW@@@2@XZ=?GetQuestLog@QuestMgr@GW@@YAPAV?$Array@UQuest@GW@@@2@XZ
+/ALTERNATENAME:_?RequestQuestInfo@QuestMgr@GW@@YA_NPBUQuest@2@_N@Z=?RequestQuestInfo@QuestMgr@GW@@YA_NPBUQuest@2@_N@Z
+/ALTERNATENAME:_?RequestQuestInfoId@QuestMgr@GW@@YA_NW4QuestID@Constants@2@_N@Z=?RequestQuestInfoId@QuestMgr@GW@@YA_NW4QuestID@Constants@2@_N@Z
+/ALTERNATENAME:_?SetActiveQuest@QuestMgr@GW@@YA_NPAUQuest@2@@Z=?SetActiveQuest@QuestMgr@GW@@YA_NPAUQuest@2@@Z
+/ALTERNATENAME:_?SetActiveQuestId@QuestMgr@GW@@YA_NW4QuestID@Constants@2@@Z=?SetActiveQuestId@QuestMgr@GW@@YA_NW4QuestID@Constants@2@@Z
+/ALTERNATENAME:_?EnableHooks@Render@GW@@YAXXZ=?EnableHooks@Render@GW@@YAXXZ
+/ALTERNATENAME:_?GetFieldOfView@Render@GW@@YAMXZ=?GetFieldOfView@Render@GW@@YAMXZ
+/ALTERNATENAME:_?GetFrameLimit@Render@GW@@YAIXZ=?GetFrameLimit@Render@GW@@YAIXZ
+/ALTERNATENAME:_?GetGraphicsRendererValue@Render@GW@@YAIW4Metric@12@I@Z=?GetGraphicsRendererValue@Render@GW@@YAIW4Metric@12@I@Z
+/ALTERNATENAME:_?GetIsFullscreen@Render@GW@@YAHXZ=?GetIsFullscreen@Render@GW@@YAHXZ
+/ALTERNATENAME:_?GetIsInRenderLoop@Render@GW@@YA_NXZ=?GetIsInRenderLoop@Render@GW@@YA_NXZ
+/ALTERNATENAME:_?GetRenderCallback@Render@GW@@YAP6AXPAUIDirect3DDevice9@@@ZXZ=?GetRenderCallback@Render@GW@@YAP6AXPAUIDirect3DDevice9@@@ZXZ
+/ALTERNATENAME:_?GetTransform@Render@GW@@YAPAUMat4x3f@12@W4Transform@12@@Z=?GetTransform@Render@GW@@YAPAUMat4x3f@12@W4Transform@12@@Z
+/ALTERNATENAME:_?GetViewportHeight@Render@GW@@YAIXZ=?GetViewportHeight@Render@GW@@YAIXZ
+/ALTERNATENAME:_?GetViewportWidth@Render@GW@@YAIXZ=?GetViewportWidth@Render@GW@@YAIXZ
+/ALTERNATENAME:_?GetWindowHandle@Render@GW@@YAPAUHWND__@@XZ=?GetWindowHandle@Render@GW@@YAPAUHWND__@@XZ
+/ALTERNATENAME:_?SetFog@Render@GW@@YA_N_N@Z=?SetFog@Render@GW@@YA_N_N@Z
+/ALTERNATENAME:_?SetFrameLimit@Render@GW@@YA_NI@Z=?SetFrameLimit@Render@GW@@YA_NI@Z
+/ALTERNATENAME:_?SetGraphicsRendererValue@Render@GW@@YA_NW4Metric@12@II@Z=?SetGraphicsRendererValue@Render@GW@@YA_NW4Metric@12@II@Z
+/ALTERNATENAME:_?SetRenderCallback@Render@GW@@YAXP6AXPAUIDirect3DDevice9@@@Z@Z=?SetRenderCallback@Render@GW@@YAXP6AXPAUIDirect3DDevice9@@@Z@Z
+/ALTERNATENAME:_?SetResetCallback@Render@GW@@YAXP6AXPAUIDirect3DDevice9@@@Z@Z=?SetResetCallback@Render@GW@@YAXP6AXPAUIDirect3DDevice9@@@Z@Z
+/ALTERNATENAME:_?Find@Scanner@GW@@YAIPBD0HW4ScannerSection@2@@Z=?Find@Scanner@GW@@YAIPBD0HW4ScannerSection@2@@Z
+/ALTERNATENAME:_?FindAssertion@Scanner@GW@@YAIPBD0IH@Z=?FindAssertion@Scanner@GW@@YAIPBD0IH@Z
+/ALTERNATENAME:_?FindInRange@Scanner@GW@@YAIPBD0HKK@Z=?FindInRange@Scanner@GW@@YAIPBD0HKK@Z
+/ALTERNATENAME:_?FindNthUseOfString@Scanner@GW@@YAIPBDIHW4ScannerSection@2@@Z=?FindNthUseOfString@Scanner@GW@@YAIPBDIHW4ScannerSection@2@@Z
+/ALTERNATENAME:_?FindNthUseOfString@Scanner@GW@@YAIPB_WIHW4ScannerSection@2@@Z=?FindNthUseOfString@Scanner@GW@@YAIPB_WIHW4ScannerSection@2@@Z
+/ALTERNATENAME:_?FindUseOfString@Scanner@GW@@YAIPBDHW4ScannerSection@2@@Z=?FindUseOfString@Scanner@GW@@YAIPBDHW4ScannerSection@2@@Z
+/ALTERNATENAME:_?FindUseOfString@Scanner@GW@@YAIPB_WHW4ScannerSection@2@@Z=?FindUseOfString@Scanner@GW@@YAIPB_WHW4ScannerSection@2@@Z
+/ALTERNATENAME:_?FunctionFromNearCall@Scanner@GW@@YAII_N@Z=?FunctionFromNearCall@Scanner@GW@@YAII_N@Z
+/ALTERNATENAME:_?GetGameTlsIndex@Scanner@GW@@YAKXZ=?GetGameTlsIndex@Scanner@GW@@YAKXZ
+/ALTERNATENAME:_?GetSectionAddressRange@Scanner@GW@@YAXW4ScannerSection@2@PAI1@Z=?GetSectionAddressRange@Scanner@GW@@YAXW4ScannerSection@2@PAI1@Z
+/ALTERNATENAME:_?Initialize@Scanner@GW@@YAXPBD@Z=?Initialize@Scanner@GW@@YAXPBD@Z
+/ALTERNATENAME:_?IsValidPtr@Scanner@GW@@YA_NIW4ScannerSection@2@@Z=?IsValidPtr@Scanner@GW@@YA_NIW4ScannerSection@2@@Z
+/ALTERNATENAME:_?ToFunctionStart@Scanner@GW@@YAIII@Z=?ToFunctionStart@Scanner@GW@@YAIII@Z
+/ALTERNATENAME:_?AddItem@ScrollableFrame@GW@@QAE_NIIP6AXPAUInteractionMessage@UI@2@PAX1@Z@Z=?AddItem@ScrollableFrame@GW@@QAE_NIIP6AXPAUInteractionMessage@UI@2@PAX1@Z@Z
+/ALTERNATENAME:_?ClearItems@ScrollableFrame@GW@@QAE_NXZ=?ClearItems@ScrollableFrame@GW@@QAE_NXZ
+/ALTERNATENAME:_?GetCount@ScrollableFrame@GW@@QAE_NPAI@Z=?GetCount@ScrollableFrame@GW@@QAE_NPAI@Z
+/ALTERNATENAME:_?GetItemFrameId@ScrollableFrame@GW@@QAEII@Z=?GetItemFrameId@ScrollableFrame@GW@@QAEII@Z
+/ALTERNATENAME:_?GetItems@ScrollableFrame@GW@@QAEIPAII@Z=?GetItems@ScrollableFrame@GW@@QAEIPAII@Z
+/ALTERNATENAME:_?GetSelectedValue@ScrollableFrame@GW@@QAE_NPAI@Z=?GetSelectedValue@ScrollableFrame@GW@@QAE_NPAI@Z
+/ALTERNATENAME:_?GetSortHandler@ScrollableFrame@GW@@QAEP6AHII@ZXZ=?GetSortHandler@ScrollableFrame@GW@@QAEP6AHII@ZXZ
+/ALTERNATENAME:_?RemoveItem@ScrollableFrame@GW@@QAE_NI@Z=?RemoveItem@ScrollableFrame@GW@@QAE_NI@Z
+/ALTERNATENAME:_?SetSortHandler@ScrollableFrame@GW@@QAE_NP6AHII@Z@Z=?SetSortHandler@ScrollableFrame@GW@@QAE_NP6AHII@Z@Z
+/ALTERNATENAME:_?GetSkillById@Skillbar@GW@@QAEPAUSkillbarSkill@2@W4SkillID@Constants@2@PAI@Z=?GetSkillById@Skillbar@GW@@QAEPAUSkillbarSkill@2@W4SkillID@Constants@2@PAI@Z
+/ALTERNATENAME:_?ChangeSecondProfession@SkillbarMgr@GW@@YA_NIW4Profession@Constants@2@@Z=?ChangeSecondProfession@SkillbarMgr@GW@@YA_NIW4Profession@Constants@2@@Z
+/ALTERNATENAME:_?DecodeSkillTemplate@SkillbarMgr@GW@@YA_NAAUSkillTemplate@12@PBD@Z=?DecodeSkillTemplate@SkillbarMgr@GW@@YA_NAAUSkillTemplate@12@PBD@Z
+/ALTERNATENAME:_?EncodeSkillTemplate@SkillbarMgr@GW@@YA_NABUSkillTemplate@12@PADI@Z=?EncodeSkillTemplate@SkillbarMgr@GW@@YA_NABUSkillTemplate@12@PADI@Z
+/ALTERNATENAME:_?GetAttributeConstantData@SkillbarMgr@GW@@YAPAUAttributeInfo@2@W4Attribute@Constants@2@@Z=?GetAttributeConstantData@SkillbarMgr@GW@@YAPAUAttributeInfo@2@W4Attribute@Constants@2@@Z
+/ALTERNATENAME:_?GetHeroSkillbar@SkillbarMgr@GW@@YAPAUSkillbar@2@I@Z=?GetHeroSkillbar@SkillbarMgr@GW@@YAPAUSkillbar@2@I@Z
+/ALTERNATENAME:_?GetHoveredSkill@SkillbarMgr@GW@@YAPAUSkill@2@XZ=?GetHoveredSkill@SkillbarMgr@GW@@YAPAUSkill@2@XZ
+/ALTERNATENAME:_?GetIsSkillLearnt@SkillbarMgr@GW@@YA_NW4SkillID@Constants@2@@Z=?GetIsSkillLearnt@SkillbarMgr@GW@@YA_NW4SkillID@Constants@2@@Z
+/ALTERNATENAME:_?GetIsSkillUnlocked@SkillbarMgr@GW@@YA_NW4SkillID@Constants@2@@Z=?GetIsSkillUnlocked@SkillbarMgr@GW@@YA_NW4SkillID@Constants@2@@Z
+/ALTERNATENAME:_?GetPlayerSkillbar@SkillbarMgr@GW@@YAPAUSkillbar@2@XZ=?GetPlayerSkillbar@SkillbarMgr@GW@@YAPAUSkillbar@2@XZ
+/ALTERNATENAME:_?GetSkillConstantData@SkillbarMgr@GW@@YAPAUSkill@2@W4SkillID@Constants@2@@Z=?GetSkillConstantData@SkillbarMgr@GW@@YAPAUSkill@2@W4SkillID@Constants@2@@Z
+/ALTERNATENAME:_?GetSkillSlot@SkillbarMgr@GW@@YAHW4SkillID@Constants@2@@Z=?GetSkillSlot@SkillbarMgr@GW@@YAHW4SkillID@Constants@2@@Z
+/ALTERNATENAME:_?GetSkillTemplate@SkillbarMgr@GW@@YA_NAAUSkillTemplate@12@@Z=?GetSkillTemplate@SkillbarMgr@GW@@YA_NAAUSkillTemplate@12@@Z
+/ALTERNATENAME:_?GetSkillTemplate@SkillbarMgr@GW@@YA_NIAAUSkillTemplate@12@@Z=?GetSkillTemplate@SkillbarMgr@GW@@YA_NIAAUSkillTemplate@12@@Z
+/ALTERNATENAME:_?GetSkillbar@SkillbarMgr@GW@@YAPAUSkillbar@2@I@Z=?GetSkillbar@SkillbarMgr@GW@@YAPAUSkillbar@2@I@Z
+/ALTERNATENAME:_?GetSkillbarArray@SkillbarMgr@GW@@YAPAV?$Array@USkillbar@GW@@@2@XZ=?GetSkillbarArray@SkillbarMgr@GW@@YAPAV?$Array@USkillbar@GW@@@2@XZ
+/ALTERNATENAME:_?LoadSkillTemplate@SkillbarMgr@GW@@YA_NAAUSkillTemplate@12@@Z=?LoadSkillTemplate@SkillbarMgr@GW@@YA_NAAUSkillTemplate@12@@Z
+/ALTERNATENAME:_?LoadSkillTemplate@SkillbarMgr@GW@@YA_NIAAUSkillTemplate@12@@Z=?LoadSkillTemplate@SkillbarMgr@GW@@YA_NIAAUSkillTemplate@12@@Z
+/ALTERNATENAME:_?LoadSkillTemplate@SkillbarMgr@GW@@YA_NIPBD@Z=?LoadSkillTemplate@SkillbarMgr@GW@@YA_NIPBD@Z
+/ALTERNATENAME:_?LoadSkillTemplate@SkillbarMgr@GW@@YA_NPBD@Z=?LoadSkillTemplate@SkillbarMgr@GW@@YA_NPBD@Z
+/ALTERNATENAME:_?UseSkill@SkillbarMgr@GW@@YA_NII@Z=?UseSkill@SkillbarMgr@GW@@YA_NII@Z
+/ALTERNATENAME:_?UseSkillByID@SkillbarMgr@GW@@YA_NII@Z=?UseSkillByID@SkillbarMgr@GW@@YA_NII@Z
+/ALTERNATENAME:_?GetRecharge@SkillbarSkill@GW@@QBEIXZ=?GetRecharge@SkillbarSkill@GW@@QBEIXZ
+/ALTERNATENAME:_?GetValue@SliderFrame@GW@@QAE_NPAI@Z=?GetValue@SliderFrame@GW@@QAE_NPAI@Z
+/ALTERNATENAME:_?GetValue@SliderFrame@GW@@UAEIXZ=?GetValue@SliderFrame@GW@@UAEIXZ
+/ALTERNATENAME:_?SetValue@SliderFrame@GW@@UAE_NI@Z=?SetValue@SliderFrame@GW@@UAE_NI@Z
+/ALTERNATENAME:_?EmulatePacket@StoC@GW@@YA_NPAUPacketBase@1Packet@2@@Z=?EmulatePacket@StoC@GW@@YA_NPAUPacketBase@1Packet@2@@Z
+/ALTERNATENAME:_?RemoveCallback@StoC@GW@@YAIIPAUHookEntry@2@@Z=?RemoveCallback@StoC@GW@@YAIIPAUHookEntry@2@@Z
+/ALTERNATENAME:_?RemoveCallbacks@StoC@GW@@YAIPAUHookEntry@2@@Z=?RemoveCallbacks@StoC@GW@@YAIPAUHookEntry@2@@Z
+/ALTERNATENAME:_?RemovePostCallback@StoC@GW@@YAXIPAUHookEntry@2@@Z=?RemovePostCallback@StoC@GW@@YAXIPAUHookEntry@2@@Z
+/ALTERNATENAME:_?AddTab@TabsFrame@GW@@QAEPAUFrame@UI@2@PB_WIIP6AXPAUInteractionMessage@42@PAX2@Z2@Z=?AddTab@TabsFrame@GW@@QAEPAUFrame@UI@2@PB_WIIP6AXPAUInteractionMessage@42@PAX2@Z2@Z
+/ALTERNATENAME:_?ChooseTab@TabsFrame@GW@@QAE_NI@Z=?ChooseTab@TabsFrame@GW@@QAE_NI@Z
+/ALTERNATENAME:_?ChooseTab@TabsFrame@GW@@QAE_NPAUFrame@UI@2@@Z=?ChooseTab@TabsFrame@GW@@QAE_NPAUFrame@UI@2@@Z
+/ALTERNATENAME:_?DisableTab@TabsFrame@GW@@QAE_NI@Z=?DisableTab@TabsFrame@GW@@QAE_NI@Z
+/ALTERNATENAME:_?EnableTab@TabsFrame@GW@@QAE_NI@Z=?EnableTab@TabsFrame@GW@@QAE_NI@Z
+/ALTERNATENAME:_?GetCurrentTab@TabsFrame@GW@@QAEPAUFrame@UI@2@XZ=?GetCurrentTab@TabsFrame@GW@@QAEPAUFrame@UI@2@XZ
+/ALTERNATENAME:_?GetCurrentTabIndex@TabsFrame@GW@@QAE_NPAI@Z=?GetCurrentTabIndex@TabsFrame@GW@@QAE_NPAI@Z
+/ALTERNATENAME:_?GetIsTabEnabled@TabsFrame@GW@@QAE_NIPAI@Z=?GetIsTabEnabled@TabsFrame@GW@@QAE_NIPAI@Z
+/ALTERNATENAME:_?GetTabByLabel@TabsFrame@GW@@QAEPAUFrame@UI@2@PB_W@Z=?GetTabByLabel@TabsFrame@GW@@QAEPAUFrame@UI@2@PB_W@Z
+/ALTERNATENAME:_?GetTabFrameId@TabsFrame@GW@@QAE_NIPAI@Z=?GetTabFrameId@TabsFrame@GW@@QAE_NIPAI@Z
+/ALTERNATENAME:_?RemoveTab@TabsFrame@GW@@QAE_NI@Z=?RemoveTab@TabsFrame@GW@@QAE_NI@Z
+/ALTERNATENAME:_?GetDecodedLabel@TextLabelFrame@GW@@QAEPB_WXZ=?GetDecodedLabel@TextLabelFrame@GW@@QAEPB_WXZ
+/ALTERNATENAME:_?GetEncodedLabel@TextLabelFrame@GW@@QAEPB_WXZ=?GetEncodedLabel@TextLabelFrame@GW@@QAEPB_WXZ
+/ALTERNATENAME:_?SetFont@TextLabelFrame@GW@@QAE_NI@Z=?SetFont@TextLabelFrame@GW@@QAE_NI@Z
+/ALTERNATENAME:_?SetLabel@TextLabelFrame@GW@@QAE_NPB_W@Z=?SetLabel@TextLabelFrame@GW@@QAE_NPB_W@Z
+/ALTERNATENAME:_?AcceptTrade@Trade@GW@@YA_NXZ=?AcceptTrade@Trade@GW@@YA_NXZ
+/ALTERNATENAME:_?CancelTrade@Trade@GW@@YA_NXZ=?CancelTrade@Trade@GW@@YA_NXZ
+/ALTERNATENAME:_?ChangeOffer@Trade@GW@@YA_NXZ=?ChangeOffer@Trade@GW@@YA_NXZ
+/ALTERNATENAME:_?IsItemOffered@Trade@GW@@YAPAUTradeItem@2@I@Z=?IsItemOffered@Trade@GW@@YAPAUTradeItem@2@I@Z
+/ALTERNATENAME:_?OfferItem@Trade@GW@@YA_NII@Z=?OfferItem@Trade@GW@@YA_NII@Z
+/ALTERNATENAME:_?OpenTradeWindow@Trade@GW@@YA_NI@Z=?OpenTradeWindow@Trade@GW@@YA_NI@Z
+/ALTERNATENAME:_?RemoveItem@Trade@GW@@YA_NI@Z=?RemoveItem@Trade@GW@@YA_NI@Z
+/ALTERNATENAME:_?SubmitOffer@Trade@GW@@YA_NI@Z=?SubmitOffer@Trade@GW@@YA_NI@Z
+/ALTERNATENAME:_?AddFrameUIInteractionCallback@UI@GW@@YA_NPAUFrame@12@P6AXPAUInteractionMessage@12@PAX2@Z2@Z=?AddFrameUIInteractionCallback@UI@GW@@YA_NPAUFrame@12@P6AXPAUInteractionMessage@12@PAX2@Z2@Z
+/ALTERNATENAME:_?AsyncDecodeStr@UI@GW@@YAXPB_WP6AXPAX0@Z1W4Language@Constants@2@@Z=?AsyncDecodeStr@UI@GW@@YAXPB_WP6AXPAX0@Z1W4Language@Constants@2@@Z
+/ALTERNATENAME:_?AsyncDecodeStr@UI@GW@@YAXPB_WPA_WI@Z=?AsyncDecodeStr@UI@GW@@YAXPB_WPA_WI@Z
+/ALTERNATENAME:_?ButtonClick@UI@GW@@YA_NPAUFrame@12@@Z=?ButtonClick@UI@GW@@YA_NPAUFrame@12@@Z
+/ALTERNATENAME:_?CreateUIComponent@UI@GW@@YAIIIIP6AXPAUInteractionMessage@12@PAX1@Z1PB_W@Z=?CreateUIComponent@UI@GW@@YAIIIIP6AXPAUInteractionMessage@12@PAX1@Z1PB_W@Z
+/ALTERNATENAME:_?Default_UICallback@UI@GW@@YA_NPAUInteractionMessage@12@PAX1@Z=?Default_UICallback@UI@GW@@YA_NPAUInteractionMessage@12@PAX1@Z
+/ALTERNATENAME:_?DestroyUIComponent@UI@GW@@YA_NPAUFrame@12@@Z=?DestroyUIComponent@UI@GW@@YA_NPAUFrame@12@@Z
+/ALTERNATENAME:_?DrawOnCompass@UI@GW@@YA_NIIPAUCompassPoint@12@@Z=?DrawOnCompass@UI@GW@@YA_NIIPAUCompassPoint@12@@Z
+/ALTERNATENAME:_?EncStrToUInt32@UI@GW@@YAIPB_W@Z=?EncStrToUInt32@UI@GW@@YAIPB_W@Z
+/ALTERNATENAME:_?GetChildFrame@UI@GW@@YAPAUFrame@12@PAU312@I@Z=?GetChildFrame@UI@GW@@YAPAUFrame@12@PAU312@I@Z
+/ALTERNATENAME:_?GetCommandLinePref@UI@GW@@YA_NPB_WPAI@Z=?GetCommandLinePref@UI@GW@@YA_NPB_WPAI@Z
+/ALTERNATENAME:_?GetCommandLinePref@UI@GW@@YA_NPB_WPAPA_W@Z=?GetCommandLinePref@UI@GW@@YA_NPB_WPAPA_W@Z
+/ALTERNATENAME:_?GetCurrentTooltip@UI@GW@@YAPAUTooltipInfo@12@XZ=?GetCurrentTooltip@UI@GW@@YAPAUTooltipInfo@12@XZ
+/ALTERNATENAME:_?GetFrameById@UI@GW@@YAPAUFrame@12@I@Z=?GetFrameById@UI@GW@@YAPAUFrame@12@I@Z
+/ALTERNATENAME:_?GetFrameByLabel@UI@GW@@YAPAUFrame@12@PB_W@Z=?GetFrameByLabel@UI@GW@@YAPAUFrame@12@PB_W@Z
+/ALTERNATENAME:_?GetFrameContext@UI@GW@@YAPAXPAUFrame@12@@Z=?GetFrameContext@UI@GW@@YAPAXPAUFrame@12@@Z
+/ALTERNATENAME:_?GetIsShiftScreenShot@UI@GW@@YA_NXZ=?GetIsShiftScreenShot@UI@GW@@YA_NXZ
+/ALTERNATENAME:_?GetIsUIDrawn@UI@GW@@YA_NXZ=?GetIsUIDrawn@UI@GW@@YA_NXZ
+/ALTERNATENAME:_?GetIsWorldMapShowing@UI@GW@@YA_NXZ=?GetIsWorldMapShowing@UI@GW@@YA_NXZ
+/ALTERNATENAME:_?GetParentFrame@UI@GW@@YAPAUFrame@12@PAU312@@Z=?GetParentFrame@UI@GW@@YAPAUFrame@12@PAU312@@Z
+/ALTERNATENAME:_?GetPreference@UI@GW@@YAIW4EnumPreference@12@@Z=?GetPreference@UI@GW@@YAIW4EnumPreference@12@@Z
+/ALTERNATENAME:_?GetPreference@UI@GW@@YAIW4NumberPreference@12@@Z=?GetPreference@UI@GW@@YAIW4NumberPreference@12@@Z
+/ALTERNATENAME:_?GetPreference@UI@GW@@YAPA_WW4StringPreference@12@@Z=?GetPreference@UI@GW@@YAPA_WW4StringPreference@12@@Z
+/ALTERNATENAME:_?GetPreference@UI@GW@@YA_NW4FlagPreference@12@@Z=?GetPreference@UI@GW@@YA_NW4FlagPreference@12@@Z
+/ALTERNATENAME:_?GetPreferenceOptions@UI@GW@@YAIW4EnumPreference@12@PAPAI@Z=?GetPreferenceOptions@UI@GW@@YAIW4EnumPreference@12@PAPAI@Z
+/ALTERNATENAME:_?GetRootFrame@UI@GW@@YAPAUFrame@12@XZ=?GetRootFrame@UI@GW@@YAPAUFrame@12@XZ
+/ALTERNATENAME:_?GetSettings@UI@GW@@YAPAV?$Array@E@2@XZ=?GetSettings@UI@GW@@YAPAV?$Array@E@2@XZ
+/ALTERNATENAME:_?GetTextLanguage@UI@GW@@YA?AW4Language@Constants@2@XZ=?GetTextLanguage@UI@GW@@YA?AW4Language@Constants@2@XZ
+/ALTERNATENAME:_?GetWindowPosition@UI@GW@@YAPAUWindowPosition@12@W4WindowID@12@@Z=?GetWindowPosition@UI@GW@@YAPAUWindowPosition@12@W4WindowID@12@@Z
+/ALTERNATENAME:_?IsInControllerCursorMode@UI@GW@@YA_NXZ=?IsInControllerCursorMode@UI@GW@@YA_NXZ
+/ALTERNATENAME:_?IsInControllerMode@UI@GW@@YA_NXZ=?IsInControllerMode@UI@GW@@YA_NXZ
+/ALTERNATENAME:_?IsInMobileMode@UI@GW@@YA_NXZ=?IsInMobileMode@UI@GW@@YA_NXZ
+/ALTERNATENAME:_?IsValidEncStr@UI@GW@@YA_NPB_W@Z=?IsValidEncStr@UI@GW@@YA_NPB_W@Z
+/ALTERNATENAME:_?Keydown@UI@GW@@YA_NW4ControlAction@12@PAUFrame@12@@Z=?Keydown@UI@GW@@YA_NW4ControlAction@12@PAUFrame@12@@Z
+/ALTERNATENAME:_?Keypress@UI@GW@@YA_NW4ControlAction@12@PAUFrame@12@@Z=?Keypress@UI@GW@@YA_NW4ControlAction@12@PAUFrame@12@@Z
+/ALTERNATENAME:_?Keyup@UI@GW@@YA_NW4ControlAction@12@PAUFrame@12@@Z=?Keyup@UI@GW@@YA_NW4ControlAction@12@PAUFrame@12@@Z
+/ALTERNATENAME:_?RemoveCreateUIComponentCallback@UI@GW@@YAXPAUHookEntry@2@@Z=?RemoveCreateUIComponentCallback@UI@GW@@YAXPAUHookEntry@2@@Z
+/ALTERNATENAME:_?RemoveFrameUIMessageCallback@UI@GW@@YAXPAUHookEntry@2@@Z=?RemoveFrameUIMessageCallback@UI@GW@@YAXPAUHookEntry@2@@Z
+/ALTERNATENAME:_?RemoveKeydownCallback@UI@GW@@YAXPAUHookEntry@2@@Z=?RemoveKeydownCallback@UI@GW@@YAXPAUHookEntry@2@@Z
+/ALTERNATENAME:_?RemoveKeyupCallback@UI@GW@@YAXPAUHookEntry@2@@Z=?RemoveKeyupCallback@UI@GW@@YAXPAUHookEntry@2@@Z
+/ALTERNATENAME:_?RemoveUIMessageCallback@UI@GW@@YAXPAUHookEntry@2@W4UIMessage@12@@Z=?RemoveUIMessageCallback@UI@GW@@YAXPAUHookEntry@2@W4UIMessage@12@@Z
+/ALTERNATENAME:_?SelectDropdownOption@UI@GW@@YA_NPAUFrame@12@I@Z=?SelectDropdownOption@UI@GW@@YA_NPAUFrame@12@I@Z
+/ALTERNATENAME:_?SendFrameUIMessage@UI@GW@@YA_NPAUFrame@12@W4UIMessage@12@PAX2@Z=?SendFrameUIMessage@UI@GW@@YA_NPAUFrame@12@W4UIMessage@12@PAX2@Z
+/ALTERNATENAME:_?SendUIMessage@UI@GW@@YA_NW4UIMessage@12@PAX1@Z=?SendUIMessage@UI@GW@@YA_NW4UIMessage@12@PAX1@Z
+/ALTERNATENAME:_?SetCommandLinePref@UI@GW@@YA_NPB_WI@Z=?SetCommandLinePref@UI@GW@@YA_NPB_WI@Z
+/ALTERNATENAME:_?SetCommandLinePref@UI@GW@@YA_NPB_WPA_W@Z=?SetCommandLinePref@UI@GW@@YA_NPB_WPA_W@Z
+/ALTERNATENAME:_?SetFrameDisabled@UI@GW@@YA_NPAUFrame@12@_N@Z=?SetFrameDisabled@UI@GW@@YA_NPAUFrame@12@_N@Z
+/ALTERNATENAME:_?SetFrameMargins@UI@GW@@YA_NPAUFrame@12@IQAM1I@Z=?SetFrameMargins@UI@GW@@YA_NPAUFrame@12@IQAM1I@Z
+/ALTERNATENAME:_?SetFrameTitle@UI@GW@@YA_NPAUFrame@12@PB_W@Z=?SetFrameTitle@UI@GW@@YA_NPAUFrame@12@PB_W@Z
+/ALTERNATENAME:_?SetFrameVisible@UI@GW@@YA_NPAUFrame@12@_N@Z=?SetFrameVisible@UI@GW@@YA_NPAUFrame@12@_N@Z
+/ALTERNATENAME:_?SetOpenLinks@UI@GW@@YAX_N@Z=?SetOpenLinks@UI@GW@@YAX_N@Z
+/ALTERNATENAME:_?SetPreference@UI@GW@@YA_NW4EnumPreference@12@I@Z=?SetPreference@UI@GW@@YA_NW4EnumPreference@12@I@Z
+/ALTERNATENAME:_?SetPreference@UI@GW@@YA_NW4FlagPreference@12@_N@Z=?SetPreference@UI@GW@@YA_NW4FlagPreference@12@_N@Z
+/ALTERNATENAME:_?SetPreference@UI@GW@@YA_NW4NumberPreference@12@I@Z=?SetPreference@UI@GW@@YA_NW4NumberPreference@12@I@Z
+/ALTERNATENAME:_?SetPreference@UI@GW@@YA_NW4StringPreference@12@PA_W@Z=?SetPreference@UI@GW@@YA_NW4StringPreference@12@PA_W@Z
+/ALTERNATENAME:_?SetWindowPosition@UI@GW@@YA_NW4WindowID@12@PAUWindowPosition@12@@Z=?SetWindowPosition@UI@GW@@YA_NW4WindowID@12@PAUWindowPosition@12@@Z
+/ALTERNATENAME:_?SetWindowVisible@UI@GW@@YA_NW4WindowID@12@_N@Z=?SetWindowVisible@UI@GW@@YA_NW4WindowID@12@_N@Z
+/ALTERNATENAME:_?TriggerFrameRedraw@UI@GW@@YA_NPAUFrame@12@@Z=?TriggerFrameRedraw@UI@GW@@YA_NPAUFrame@12@@Z
+/ALTERNATENAME:_?UInt32ToEncStr@UI@GW@@YA_NIPA_WI@Z=?UInt32ToEncStr@UI@GW@@YA_NIPA_WI@Z
+/ALTERNATENAME:_?GetBottomRightOnScreen@FramePosition@UI@GW@@QBE?AUVec2f@3@PBUFrame@23@@Z=?GetBottomRightOnScreen@FramePosition@UI@GW@@QBE?AUVec2f@3@PBUFrame@23@@Z
+/ALTERNATENAME:_?GetContentBottomRight@FramePosition@UI@GW@@QBE?AUVec2f@3@PBUFrame@23@@Z=?GetContentBottomRight@FramePosition@UI@GW@@QBE?AUVec2f@3@PBUFrame@23@@Z
+/ALTERNATENAME:_?GetContentTopLeft@FramePosition@UI@GW@@QBE?AUVec2f@3@PBUFrame@23@@Z=?GetContentTopLeft@FramePosition@UI@GW@@QBE?AUVec2f@3@PBUFrame@23@@Z
+/ALTERNATENAME:_?GetSizeOnScreen@FramePosition@UI@GW@@QBE?AUVec2f@3@PBUFrame@23@@Z=?GetSizeOnScreen@FramePosition@UI@GW@@QBE?AUVec2f@3@PBUFrame@23@@Z
+/ALTERNATENAME:_?GetTopLeftOnScreen@FramePosition@UI@GW@@QBE?AUVec2f@3@PBUFrame@23@@Z=?GetTopLeftOnScreen@FramePosition@UI@GW@@QBE?AUVec2f@3@PBUFrame@23@@Z
+/ALTERNATENAME:_?GetViewportScale@FramePosition@UI@GW@@QBE?AUVec2f@3@PBUFrame@23@@Z=?GetViewportScale@FramePosition@UI@GW@@QBE?AUVec2f@3@PBUFrame@23@@Z
+/ALTERNATENAME:_?GetFrame@FrameRelation@UI@GW@@QAEPAUFrame@23@XZ=?GetFrame@FrameRelation@UI@GW@@QAEPAUFrame@23@XZ
+/ALTERNATENAME:_?GetParent@FrameRelation@UI@GW@@QBEPAUFrame@23@XZ=?GetParent@FrameRelation@UI@GW@@QBEPAUFrame@23@XZ
+/ALTERNATENAME:_?xAxis@WindowPosition@UI@GW@@QBE?AUVec2f@3@M_N@Z=?xAxis@WindowPosition@UI@GW@@QBE?AUVec2f@3@M_N@Z
+/ALTERNATENAME:_?yAxis@WindowPosition@UI@GW@@QBE?AUVec2f@3@M_N@Z=?yAxis@WindowPosition@UI@GW@@QBE?AUVec2f@3@M_N@Z
diff --git a/Daybreak.API/Interop/GWCA.cs b/Daybreak.API/Interop/GWCA.cs
index ffe3a12d..5d466f8c 100644
--- a/Daybreak.API/Interop/GWCA.cs
+++ b/Daybreak.API/Interop/GWCA.cs
@@ -310,102 +310,127 @@ public static unsafe partial class GWCA
// GW::DisableHooks
[LibraryImport(DllName, EntryPoint = "?DisableHooks@GW@@YAXXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void DisableHooks();
// GW::EnableHooks
[LibraryImport(DllName, EntryPoint = "?EnableHooks@GW@@YAXXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void EnableHooks();
// GW::FatalAssert
[LibraryImport(DllName, EntryPoint = "?FatalAssert@GW@@YAXPBD0I0@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void FatalAssert(byte* ptr1, nint ptr2, uint value3, nint ptr4);
// GW::GetAccountContext
[LibraryImport(DllName, EntryPoint = "?GetAccountContext@GW@@YAPAUAccountContext@1@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.AccountContext* GetAccountContext();
// GW::GetAgentContext
[LibraryImport(DllName, EntryPoint = "?GetAgentContext@GW@@YAPAUAgentContext@1@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.AgentContext* GetAgentContext();
// GW::GetAvailableChars
[LibraryImport(DllName, EntryPoint = "?GetAvailableChars@GW@@YAPAV?$Array@UCharacterInformation@GW@@@1@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.GuildWarsArray* GetAvailableChars();
// GW::GetCharContext
[LibraryImport(DllName, EntryPoint = "?GetCharContext@GW@@YAPAUCharContext@1@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.CharContext* GetCharContext();
// GW::GetDistance
[LibraryImport(DllName, EntryPoint = "?GetDistance@GW@@YAMABUVec2f@1@0@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial float GetDistance(global::Daybreak.API.Interop.GuildWars.Vec2fStruct* vector21, nint ptr2);
// GW::GetDistance
[LibraryImport(DllName, EntryPoint = "?GetDistance@GW@@YAMUVec3f@1@0@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial float GetDistance(global::Daybreak.API.Interop.GuildWars.Vec3fStruct vec3fStruct1, nint ptr2);
// GW::GetGameContext
[LibraryImport(DllName, EntryPoint = "?GetGameContext@GW@@YAPAUGameContext@1@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.GameContext* GetGameContext();
// GW::GetGameplayContext | returns TODO: map struct GW::GameplayContext
// [LibraryImport(DllName, EntryPoint = "?GetGameplayContext@GW@@YAPAUGameplayContext@1@XZ")]
+ // [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
// public static partial GameplayContext* GetGameplayContext();
// GW::GetGuildContext
[LibraryImport(DllName, EntryPoint = "?GetGuildContext@GW@@YAPAUGuildContext@1@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.GuildContext* GetGuildContext();
// GW::GetItemContext
[LibraryImport(DllName, EntryPoint = "?GetItemContext@GW@@YAPAUItemContext@1@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.ItemContext* GetItemContext();
// GW::GetMapContext
[LibraryImport(DllName, EntryPoint = "?GetMapContext@GW@@YAPAUMapContext@1@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.MapContext* GetMapContext();
// GW::GetNorm
[LibraryImport(DllName, EntryPoint = "?GetNorm@GW@@YAMUVec2f@1@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial float GetNorm(global::Daybreak.API.Interop.GuildWars.Vec2fStruct vec2fStruct);
// GW::GetNorm
[LibraryImport(DllName, EntryPoint = "?GetNorm@GW@@YAMUVec3f@1@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial float GetNorm(global::Daybreak.API.Interop.GuildWars.Vec3fStruct vec3fStruct);
// GW::GetPartyContext | returns TODO: map struct GW::PartyContext
// [LibraryImport(DllName, EntryPoint = "?GetPartyContext@GW@@YAPAUPartyContext@1@XZ")]
+ // [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
// public static partial PartyContext* GetPartyContext();
// GW::GetPreGameContext
[LibraryImport(DllName, EntryPoint = "?GetPreGameContext@GW@@YAPAUPreGameContext@1@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.PreGameContext* GetPreGameContext();
// GW::GetWorldContext
[LibraryImport(DllName, EntryPoint = "?GetWorldContext@GW@@YAPAUWorldContext@1@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.WorldContext* GetWorldContext();
// GW::Hash
[LibraryImport(DllName, EntryPoint = "?Hash@GW@@YAIPBXI@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint Hash(void* ptr1, uint value2);
// GW::Hash16
[LibraryImport(DllName, EntryPoint = "?Hash16@GW@@YAIG@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint Hash16(ushort value);
// GW::Hash32
[LibraryImport(DllName, EntryPoint = "?Hash32@GW@@YAII@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint Hash32(uint value);
// GW::Hash8
[LibraryImport(DllName, EntryPoint = "?Hash8@GW@@YAIE@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint Hash8(byte value);
// GW::HashWString
[LibraryImport(DllName, EntryPoint = "?HashWString@GW@@YAIPB_WI@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint HashWString(ushort* ptr1, uint value2);
// GW::Initialize
[LibraryImport(DllName, EntryPoint = "?Initialize@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool Initialize();
@@ -413,18 +438,22 @@ public static unsafe partial class GWCA
// GW::RegisterLogHandler
[LibraryImport(DllName, EntryPoint = "?RegisterLogHandler@GW@@YAXP6AXPAXW4LogLevel@1@PBD2I2@Z0@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void RegisterLogHandler(nint callback1, nint ptr2);
// GW::RegisterPanicHandler
[LibraryImport(DllName, EntryPoint = "?RegisterPanicHandler@GW@@YAXP6AXPAXPBD1I1@Z0@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void RegisterPanicHandler(nint callback1, nint ptr2);
// GW::Rotate
[LibraryImport(DllName, EntryPoint = "?Rotate@GW@@YA?AUVec2f@1@U21@M@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.Vec2fStruct Rotate(global::Daybreak.API.Interop.GuildWars.Vec2fStruct vec2fStruct1, float value2);
// GW::Terminate
[LibraryImport(DllName, EntryPoint = "?Terminate@GW@@YAXXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void Terminate();
public static partial class Agents
@@ -432,141 +461,174 @@ public static unsafe partial class GWCA
// GW::Agents::ChangeTarget
[LibraryImport(DllName, EntryPoint = "?ChangeTarget@Agents@GW@@YA_NI@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool ChangeTarget(uint value);
// GW::Agents::ChangeTarget
[LibraryImport(DllName, EntryPoint = "?ChangeTarget@Agents@GW@@YA_NPBUAgent@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool ChangeTarget(global::Daybreak.API.Interop.GuildWars.Agent* agent);
// GW::Agents::CountAllegianceInRange
[LibraryImport(DllName, EntryPoint = "?CountAllegianceInRange@Agents@GW@@YAIW4Allegiance@Constants@2@M@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint CountAllegianceInRange(global::Daybreak.API.Interop.GWCA.GW.Constants.Allegiance allegiance1, float value2);
// GW::Agents::GetAgentArray
[LibraryImport(DllName, EntryPoint = "?GetAgentArray@Agents@GW@@YAPAV?$Array@PAUAgent@GW@@@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.GuildWarsArray* GetAgentArray();
// GW::Agents::GetAgentByID
[LibraryImport(DllName, EntryPoint = "?GetAgentByID@Agents@GW@@YAPAUAgent@2@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.Agent* GetAgentByID(uint value);
// GW::Agents::GetAgentCharData
[LibraryImport(DllName, EntryPoint = "?GetAgentCharData@Agents@GW@@YAPAUAgentCharData@2@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.AgentCharData* GetAgentCharData(uint value);
// GW::Agents::GetAgentEncName
[LibraryImport(DllName, EntryPoint = "?GetAgentEncName@Agents@GW@@YAPA_WI@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial ushort* GetAgentEncName(uint value);
// GW::Agents::GetAgentEncName
[LibraryImport(DllName, EntryPoint = "?GetAgentEncName@Agents@GW@@YAPA_WPBUAgent@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial ushort* GetAgentEncName(global::Daybreak.API.Interop.GuildWars.Agent* agent);
// GW::Agents::GetAgentIdByLoginNumber
[LibraryImport(DllName, EntryPoint = "?GetAgentIdByLoginNumber@Agents@GW@@YAII@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetAgentIdByLoginNumber(uint value);
// GW::Agents::GetAgentMatchesFlags
[LibraryImport(DllName, EntryPoint = "?GetAgentMatchesFlags@Agents@GW@@YA_NPBUAgent@2@W4AgentTargetFlags@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool GetAgentMatchesFlags(global::Daybreak.API.Interop.GuildWars.Agent* agent1, global::Daybreak.API.Interop.GWCA.GW.AgentTargetFlags agentTargetFlags2);
// GW::Agents::GetAgentPrimary
[LibraryImport(DllName, EntryPoint = "?GetAgentPrimary@Agents@GW@@YA?AW4ProfessionByte@Constants@2@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GWCA.GW.Constants.ProfessionByte GetAgentPrimary(uint value);
// GW::Agents::GetAgentSecondary
[LibraryImport(DllName, EntryPoint = "?GetAgentSecondary@Agents@GW@@YA?AW4ProfessionByte@Constants@2@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GWCA.GW.Constants.ProfessionByte GetAgentSecondary(uint value);
// GW::Agents::GetAmountOfPlayersInInstance
[LibraryImport(DllName, EntryPoint = "?GetAmountOfPlayersInInstance@Agents@GW@@YAIXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetAmountOfPlayersInInstance();
// GW::Agents::GetControlledCharacter
[LibraryImport(DllName, EntryPoint = "?GetControlledCharacter@Agents@GW@@YAPAUAgentLiving@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.AgentLiving* GetControlledCharacter();
// GW::Agents::GetControlledCharacterId
[LibraryImport(DllName, EntryPoint = "?GetControlledCharacterId@Agents@GW@@YAIXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetControlledCharacterId();
// GW::Agents::GetEvaluatedTargetId
[LibraryImport(DllName, EntryPoint = "?GetEvaluatedTargetId@Agents@GW@@YAIXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetEvaluatedTargetId();
// GW::Agents::GetHeroAgentID
[LibraryImport(DllName, EntryPoint = "?GetHeroAgentID@Agents@GW@@YAII@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetHeroAgentID(uint value);
// GW::Agents::GetMapAgentArray
[LibraryImport(DllName, EntryPoint = "?GetMapAgentArray@Agents@GW@@YAPAV?$Array@UMapAgent@GW@@@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.GuildWarsArray* GetMapAgentArray();
// GW::Agents::GetMapAgentByID
[LibraryImport(DllName, EntryPoint = "?GetMapAgentByID@Agents@GW@@YAPAUMapAgent@2@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.MapAgent* GetMapAgentByID(uint value);
// GW::Agents::GetNPCArray
[LibraryImport(DllName, EntryPoint = "?GetNPCArray@Agents@GW@@YAPAV?$Array@UNPC@GW@@@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.GuildWarsArray* GetNPCArray();
// GW::Agents::GetNPCByID
[LibraryImport(DllName, EntryPoint = "?GetNPCByID@Agents@GW@@YAPAUNPC@2@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.NPC* GetNPCByID(uint value);
// GW::Agents::GetObservingId
[LibraryImport(DllName, EntryPoint = "?GetObservingId@Agents@GW@@YAIXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetObservingId();
// GW::Agents::GetPlayerArray
[LibraryImport(DllName, EntryPoint = "?GetPlayerArray@Agents@GW@@YAPAV?$Array@UPlayer@GW@@@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.GuildWarsArray* GetPlayerArray();
// GW::Agents::GetPlayerByID
[LibraryImport(DllName, EntryPoint = "?GetPlayerByID@Agents@GW@@YAPAUAgent@2@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.Agent* GetPlayerByID(uint value);
// GW::Agents::GetPlayerNameByLoginNumber
[LibraryImport(DllName, EntryPoint = "?GetPlayerNameByLoginNumber@Agents@GW@@YAPA_WI@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial ushort* GetPlayerNameByLoginNumber(uint value);
// GW::Agents::GetTargetAsAgentLiving
[LibraryImport(DllName, EntryPoint = "?GetTargetAsAgentLiving@Agents@GW@@YAPAUAgentLiving@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.AgentLiving* GetTargetAsAgentLiving();
// GW::Agents::GetTargetId
[LibraryImport(DllName, EntryPoint = "?GetTargetId@Agents@GW@@YAIXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetTargetId();
// GW::Agents::InteractAgent
[LibraryImport(DllName, EntryPoint = "?InteractAgent@Agents@GW@@YA_NPBUAgent@2@_N@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool InteractAgent(global::Daybreak.API.Interop.GuildWars.Agent* agent1, [MarshalAs(UnmanagedType.U1)] bool flag2);
// GW::Agents::IsObserving
[LibraryImport(DllName, EntryPoint = "?IsObserving@Agents@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool IsObserving();
// GW::Agents::Move
[LibraryImport(DllName, EntryPoint = "?Move@Agents@GW@@YA_NMMI@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool Move(float value1, float value2, uint value3);
// GW::Agents::Move
[LibraryImport(DllName, EntryPoint = "?Move@Agents@GW@@YA_NUGamePos@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool Move(global::Daybreak.API.Interop.GuildWars.GamePos gamePos);
// GW::Agents::RegisterAgentEffectCallback | function2: TODO: map struct function
// [LibraryImport(DllName, EntryPoint = "?RegisterAgentEffectCallback@Agents@GW@@YAXPAUHookEntry@2@ABV?$function@$$A6AXPAUHookStatus@GW@@PBUAgentLiving@2@PBUAgentEffect@2@@Z@std@@H@Z")]
+ // [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
// public static partial void RegisterAgentEffectCallback(global::Daybreak.API.Interop.HookEntry* hookEntry1, function* function2, global::Daybreak.API.Interop.GuildWars.AgentLiving* agentLiving3, global::Daybreak.API.Interop.GuildWars.AgentEffect* agentEffect4);
// GW::Agents::SendDialog
[LibraryImport(DllName, EntryPoint = "?SendDialog@Agents@GW@@YA_NI@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SendDialog(uint value);
}
@@ -581,6 +643,7 @@ public static unsafe partial class GWCA
// GW::ButtonFrame::Create | returns TODO: map struct GW::ButtonFrame
// [LibraryImport(DllName, EntryPoint = "?Create@ButtonFrame@GW@@SAPAU12@IIIPB_W0@Z")]
+ // [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
// public static partial ButtonFrame* Create(uint value1, uint value2, uint value3, ushort* ptr4, nint ptr5);
// GW::ButtonFrame::DoubleClick
@@ -609,47 +672,57 @@ public static unsafe partial class GWCA
// GW::CameraMgr::ComputeCamPos
[LibraryImport(DllName, EntryPoint = "?ComputeCamPos@CameraMgr@GW@@YA?AUVec3f@2@M@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.Vec3fStruct ComputeCamPos(float value);
// GW::CameraMgr::GetCamera
[LibraryImport(DllName, EntryPoint = "?GetCamera@CameraMgr@GW@@YAPAUCamera@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.Camera* GetCamera();
// GW::CameraMgr::GetCameraUnlock
[LibraryImport(DllName, EntryPoint = "?GetCameraUnlock@CameraMgr@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool GetCameraUnlock();
// GW::CameraMgr::GetFieldOfView
[LibraryImport(DllName, EntryPoint = "?GetFieldOfView@CameraMgr@GW@@YAMXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial float GetFieldOfView();
// GW::CameraMgr::GetYaw
[LibraryImport(DllName, EntryPoint = "?GetYaw@CameraMgr@GW@@YAMXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial float GetYaw();
// GW::CameraMgr::SetFieldOfView
[LibraryImport(DllName, EntryPoint = "?SetFieldOfView@CameraMgr@GW@@YA_NM@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SetFieldOfView(float value);
// GW::CameraMgr::SetFog
[LibraryImport(DllName, EntryPoint = "?SetFog@CameraMgr@GW@@YA_N_N@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SetFog([MarshalAs(UnmanagedType.U1)] bool flag);
// GW::CameraMgr::SetMaxDist
[LibraryImport(DllName, EntryPoint = "?SetMaxDist@CameraMgr@GW@@YA_NM@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SetMaxDist(float value);
// GW::CameraMgr::UnlockCam
[LibraryImport(DllName, EntryPoint = "?UnlockCam@CameraMgr@GW@@YA_N_N@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool UnlockCam([MarshalAs(UnmanagedType.U1)] bool flag);
// GW::CameraMgr::UpdateCameraPos
[LibraryImport(DllName, EntryPoint = "?UpdateCameraPos@CameraMgr@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool UpdateCameraPos();
}
@@ -659,97 +732,119 @@ public static unsafe partial class GWCA
// GW::Chat::AddToChatLog
[LibraryImport(DllName, EntryPoint = "?AddToChatLog@Chat@GW@@YA_NPA_WI@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool AddToChatLog(ushort* ptr1, uint value2);
// GW::Chat::CreateCommand
[LibraryImport(DllName, EntryPoint = "?CreateCommand@Chat@GW@@YAXPAUHookEntry@2@PB_WP6AXPAUHookStatus@2@1HPBQA_W@Z@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void CreateCommand(global::Daybreak.API.Interop.HookEntry* hookEntry1, ushort* ptr2, nint callback3);
// GW::Chat::DeleteCommand
[LibraryImport(DllName, EntryPoint = "?DeleteCommand@Chat@GW@@YAXPAUHookEntry@2@PB_W@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void DeleteCommand(global::Daybreak.API.Interop.HookEntry* hookEntry1, ushort* ptr2);
// GW::Chat::GetChannel
[LibraryImport(DllName, EntryPoint = "?GetChannel@Chat@GW@@YA?AW4Channel@12@D@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GWCA.GW.Chat.Channel GetChannel(byte value);
// GW::Chat::GetChannel
[LibraryImport(DllName, EntryPoint = "?GetChannel@Chat@GW@@YA?AW4Channel@12@_W@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GWCA.GW.Chat.Channel GetChannel(ushort value);
// GW::Chat::GetChannelColors
[LibraryImport(DllName, EntryPoint = "?GetChannelColors@Chat@GW@@YAXW4Channel@12@PAI1@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void GetChannelColors(global::Daybreak.API.Interop.GWCA.GW.Chat.Channel channel1, uint* ptr2, nint ptr3);
// GW::Chat::GetChatLog
[LibraryImport(DllName, EntryPoint = "?GetChatLog@Chat@GW@@YAPAUChatBuffer@12@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.ChatBuffer* GetChatLog();
// GW::Chat::GetCurrentChatChannel
[LibraryImport(DllName, EntryPoint = "?GetCurrentChatChannel@Chat@GW@@YA?AW4Channel@12@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GWCA.GW.Chat.Channel GetCurrentChatChannel();
// GW::Chat::GetDefaultColors
[LibraryImport(DllName, EntryPoint = "?GetDefaultColors@Chat@GW@@YAXW4Channel@12@PAI1@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void GetDefaultColors(global::Daybreak.API.Interop.GWCA.GW.Chat.Channel channel1, uint* ptr2, nint ptr3);
// GW::Chat::GetIsTyping
[LibraryImport(DllName, EntryPoint = "?GetIsTyping@Chat@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool GetIsTyping();
// GW::Chat::SendChat
[LibraryImport(DllName, EntryPoint = "?SendChat@Chat@GW@@YA_NDPBD@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SendChat(byte value1, byte* ptr2);
// GW::Chat::SendChat
[LibraryImport(DllName, EntryPoint = "?SendChat@Chat@GW@@YA_NDPB_W@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SendChat(byte value1, ushort* ptr2);
// GW::Chat::SendChat
[LibraryImport(DllName, EntryPoint = "?SendChat@Chat@GW@@YA_NPBD@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SendChat(byte* ptr);
// GW::Chat::SendChat
[LibraryImport(DllName, EntryPoint = "?SendChat@Chat@GW@@YA_NPB_W0@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SendChat(ushort* ptr1, nint ptr2);
// GW::Chat::SendChat
[LibraryImport(DllName, EntryPoint = "?SendChat@Chat@GW@@YA_NPB_W@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SendChat(ushort* ptr);
// GW::Chat::SetMessageColor
[LibraryImport(DllName, EntryPoint = "?SetMessageColor@Chat@GW@@YAIW4Channel@12@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint SetMessageColor(global::Daybreak.API.Interop.GWCA.GW.Chat.Channel channel1, uint value2);
// GW::Chat::SetSenderColor
[LibraryImport(DllName, EntryPoint = "?SetSenderColor@Chat@GW@@YAIW4Channel@12@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint SetSenderColor(global::Daybreak.API.Interop.GWCA.GW.Chat.Channel channel1, uint value2);
// GW::Chat::SetTimestampsColor
[LibraryImport(DllName, EntryPoint = "?SetTimestampsColor@Chat@GW@@YAXI@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void SetTimestampsColor(uint value);
// GW::Chat::SetTimestampsFormat
[LibraryImport(DllName, EntryPoint = "?SetTimestampsFormat@Chat@GW@@YAX_N0@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void SetTimestampsFormat([MarshalAs(UnmanagedType.U1)] bool flag1, nint ptr2);
// GW::Chat::ToggleTimestamps
[LibraryImport(DllName, EntryPoint = "?ToggleTimestamps@Chat@GW@@YAX_N@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void ToggleTimestamps([MarshalAs(UnmanagedType.U1)] bool flag);
// GW::Chat::WriteChat
[LibraryImport(DllName, EntryPoint = "?WriteChat@Chat@GW@@YAXW4Channel@12@PB_W1_N@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void WriteChat(global::Daybreak.API.Interop.GWCA.GW.Chat.Channel channel1, ushort* ptr2, nint ptr3, [MarshalAs(UnmanagedType.U1)] bool flag4);
// GW::Chat::WriteChatEnc
[LibraryImport(DllName, EntryPoint = "?WriteChatEnc@Chat@GW@@YAXW4Channel@12@PB_W1_N@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void WriteChatEnc(global::Daybreak.API.Interop.GWCA.GW.Chat.Channel channel1, ushort* ptr2, nint ptr3, [MarshalAs(UnmanagedType.U1)] bool flag4);
// GW::Chat::WriteChatF — varargs, requires manual interop
@@ -760,6 +855,7 @@ public static unsafe partial class GWCA
// GW::CheckboxFrame::Create | returns TODO: map struct GW::CheckboxFrame
// [LibraryImport(DllName, EntryPoint = "?Create@CheckboxFrame@GW@@SAPAU12@IIIPB_W0@Z")]
+ // [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
// public static partial CheckboxFrame* Create(uint value1, uint value2, uint value3, ushort* ptr4, nint ptr5);
// GW::CheckboxFrame::GetValue
@@ -890,51 +986,63 @@ public static unsafe partial class GWCA
// GW::Effects::DropBuff
[LibraryImport(DllName, EntryPoint = "?DropBuff@Effects@GW@@YA_NI@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool DropBuff(uint value);
// GW::Effects::GetAgentBuffs
[LibraryImport(DllName, EntryPoint = "?GetAgentBuffs@Effects@GW@@YAPAV?$Array@UBuff@GW@@@2@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.GuildWarsArray* GetAgentBuffs();
// GW::Effects::GetAgentEffects
[LibraryImport(DllName, EntryPoint = "?GetAgentEffects@Effects@GW@@YAPAV?$Array@UEffect@GW@@@2@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.GuildWarsArray* GetAgentEffects();
// GW::Effects::GetAgentEffectsArray
[LibraryImport(DllName, EntryPoint = "?GetAgentEffectsArray@Effects@GW@@YAPAUAgentEffects@2@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.AgentEffects* GetAgentEffectsArray(uint value);
// GW::Effects::GetAlcoholLevel
[LibraryImport(DllName, EntryPoint = "?GetAlcoholLevel@Effects@GW@@YAIXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetAlcoholLevel();
// GW::Effects::GetDrunkAf
[LibraryImport(DllName, EntryPoint = "?GetDrunkAf@Effects@GW@@YAXMI@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void GetDrunkAf(float value1, uint value2);
// GW::Effects::GetPartyEffectsArray
[LibraryImport(DllName, EntryPoint = "?GetPartyEffectsArray@Effects@GW@@YAPAV?$Array@UAgentEffects@GW@@@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.GuildWarsArray* GetPartyEffectsArray();
// GW::Effects::GetPlayerBuffBySkillId
[LibraryImport(DllName, EntryPoint = "?GetPlayerBuffBySkillId@Effects@GW@@YAPAUBuff@2@W4SkillID@Constants@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.Buff* GetPlayerBuffBySkillId(global::Daybreak.API.Interop.GWCA.GW.Constants.SkillID skillID);
// GW::Effects::GetPlayerBuffs
[LibraryImport(DllName, EntryPoint = "?GetPlayerBuffs@Effects@GW@@YAPAV?$Array@UBuff@GW@@@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.GuildWarsArray* GetPlayerBuffs();
// GW::Effects::GetPlayerEffectBySkillId
[LibraryImport(DllName, EntryPoint = "?GetPlayerEffectBySkillId@Effects@GW@@YAPAUEffect@2@W4SkillID@Constants@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.EffectData* GetPlayerEffectBySkillId(global::Daybreak.API.Interop.GWCA.GW.Constants.SkillID skillID);
// GW::Effects::GetPlayerEffects
[LibraryImport(DllName, EntryPoint = "?GetPlayerEffects@Effects@GW@@YAPAV?$Array@UEffect@GW@@@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.GuildWarsArray* GetPlayerEffects();
// GW::Effects::GetPlayerEffectsArray
[LibraryImport(DllName, EntryPoint = "?GetPlayerEffectsArray@Effects@GW@@YAPAUAgentEffects@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.AgentEffects* GetPlayerEffectsArray();
}
@@ -943,10 +1051,12 @@ public static unsafe partial class GWCA
// GW::EventMgr::RegisterEventCallback | function3: TODO: map struct function
// [LibraryImport(DllName, EntryPoint = "?RegisterEventCallback@EventMgr@GW@@YAXPAUHookEntry@2@W4EventID@12@ABV?$function@$$A6AXPAUHookStatus@GW@@W4EventID@EventMgr@2@PAXI@Z@std@@H@Z")]
+ // [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
// public static partial void RegisterEventCallback(global::Daybreak.API.Interop.HookEntry* hookEntry1, global::Daybreak.API.Interop.GWCA.GW.EventMgr.EventID eventID2, function* function3, global::Daybreak.API.Interop.GWCA.GW.EventMgr.EventID eventID4, void* ptr5, uint value6);
// GW::EventMgr::RemoveEventCallback
[LibraryImport(DllName, EntryPoint = "?RemoveEventCallback@EventMgr@GW@@YAXPAUHookEntry@2@W4EventID@12@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void RemoveEventCallback(global::Daybreak.API.Interop.HookEntry* hookEntry1, global::Daybreak.API.Interop.GWCA.GW.EventMgr.EventID eventID2);
}
@@ -955,70 +1065,86 @@ public static unsafe partial class GWCA
// GW::FriendListMgr::AddFriend
[LibraryImport(DllName, EntryPoint = "?AddFriend@FriendListMgr@GW@@YA_NPB_W0@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool AddFriend(ushort* ptr1, nint ptr2);
// GW::FriendListMgr::AddIgnore
[LibraryImport(DllName, EntryPoint = "?AddIgnore@FriendListMgr@GW@@YA_NPB_W0@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool AddIgnore(ushort* ptr1, nint ptr2);
// GW::FriendListMgr::ChangeFriendType
[LibraryImport(DllName, EntryPoint = "?ChangeFriendType@FriendListMgr@GW@@YA_NPAUFriend@2@W4FriendType@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool ChangeFriendType(global::Daybreak.API.Interop.GuildWars.Friend* friend1, global::Daybreak.API.Interop.GWCA.GW.FriendType friendType2);
// GW::FriendListMgr::GetFriend
[LibraryImport(DllName, EntryPoint = "?GetFriend@FriendListMgr@GW@@YAPAUFriend@2@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.Friend* GetFriend(uint value);
// GW::FriendListMgr::GetFriend
[LibraryImport(DllName, EntryPoint = "?GetFriend@FriendListMgr@GW@@YAPAUFriend@2@PBE@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.Friend* GetFriend(byte* ptr);
// GW::FriendListMgr::GetFriend
[LibraryImport(DllName, EntryPoint = "?GetFriend@FriendListMgr@GW@@YAPAUFriend@2@PB_W0W4FriendType@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.Friend* GetFriend(ushort* ptr1, nint ptr2, global::Daybreak.API.Interop.GWCA.GW.FriendType friendType3);
// GW::FriendListMgr::GetFriendList | returns TODO: map struct GW::FriendList
// [LibraryImport(DllName, EntryPoint = "?GetFriendList@FriendListMgr@GW@@YAPAUFriendList@2@XZ")]
+ // [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
// public static partial FriendList* GetFriendList();
// GW::FriendListMgr::GetMyStatus
[LibraryImport(DllName, EntryPoint = "?GetMyStatus@FriendListMgr@GW@@YA?AW4FriendStatus@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GWCA.GW.FriendStatus GetMyStatus();
// GW::FriendListMgr::GetNumberOfFriends
[LibraryImport(DllName, EntryPoint = "?GetNumberOfFriends@FriendListMgr@GW@@YAIW4FriendType@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetNumberOfFriends(global::Daybreak.API.Interop.GWCA.GW.FriendType friendType);
// GW::FriendListMgr::GetNumberOfIgnores
[LibraryImport(DllName, EntryPoint = "?GetNumberOfIgnores@FriendListMgr@GW@@YAIXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetNumberOfIgnores();
// GW::FriendListMgr::GetNumberOfPartners
[LibraryImport(DllName, EntryPoint = "?GetNumberOfPartners@FriendListMgr@GW@@YAIXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetNumberOfPartners();
// GW::FriendListMgr::GetNumberOfTraders
[LibraryImport(DllName, EntryPoint = "?GetNumberOfTraders@FriendListMgr@GW@@YAIXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetNumberOfTraders();
// GW::FriendListMgr::RegisterFriendStatusCallback | function2: TODO: map struct function
// [LibraryImport(DllName, EntryPoint = "?RegisterFriendStatusCallback@FriendListMgr@GW@@YAXPAUHookEntry@2@ABV?$function@$$A6AXPAUHookStatus@GW@@PBUFriend@2@1@Z@std@@@Z")]
+ // [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
// public static partial void RegisterFriendStatusCallback(global::Daybreak.API.Interop.HookEntry* hookEntry1, function* function2, global::Daybreak.API.Interop.GuildWars.Friend* friend3, nint ptr4);
// GW::FriendListMgr::RemoveFriend
[LibraryImport(DllName, EntryPoint = "?RemoveFriend@FriendListMgr@GW@@YA_NPAUFriend@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool RemoveFriend(global::Daybreak.API.Interop.GuildWars.Friend* friend);
// GW::FriendListMgr::RemoveFriendStatusCallback
[LibraryImport(DllName, EntryPoint = "?RemoveFriendStatusCallback@FriendListMgr@GW@@YAXPAUHookEntry@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void RemoveFriendStatusCallback(global::Daybreak.API.Interop.HookEntry* hookEntry);
// GW::FriendListMgr::SetFriendListStatus
[LibraryImport(DllName, EntryPoint = "?SetFriendListStatus@FriendListMgr@GW@@YA_NW4FriendStatus@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SetFriendListStatus(global::Daybreak.API.Interop.GWCA.GW.FriendStatus friendStatus);
}
@@ -1028,27 +1154,33 @@ public static unsafe partial class GWCA
// GW::GameThread::ClearCalls
[LibraryImport(DllName, EntryPoint = "?ClearCalls@GameThread@GW@@YAXXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void ClearCalls();
// GW::GameThread::EnableHooks
[LibraryImport(DllName, EntryPoint = "?EnableHooks@GameThread@GW@@YAXXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void EnableHooks();
// GW::GameThread::Enqueue | via C export
[LibraryImport(DllName, EntryPoint = "Enqueue")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void Enqueue(nint function1, [MarshalAs(UnmanagedType.U1)] bool flag2);
// GW::GameThread::IsInGameThread
[LibraryImport(DllName, EntryPoint = "?IsInGameThread@GameThread@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool IsInGameThread();
// GW::GameThread::RegisterGameThreadCallback | via C export
[LibraryImport(DllName, EntryPoint = "RegisterGameThreadCallback")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void RegisterGameThreadCallback(global::Daybreak.API.Interop.HookEntry* hookEntry1, nint function2);
// GW::GameThread::RemoveGameThreadCallback
[LibraryImport(DllName, EntryPoint = "?RemoveGameThreadCallback@GameThread@GW@@YAXPAUHookEntry@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void RemoveGameThreadCallback(global::Daybreak.API.Interop.HookEntry* hookEntry);
}
@@ -1057,44 +1189,54 @@ public static unsafe partial class GWCA
// GW::GuildMgr::GetCurrentGH
[LibraryImport(DllName, EntryPoint = "?GetCurrentGH@GuildMgr@GW@@YAPAUGuild@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.Guild* GetCurrentGH();
// GW::GuildMgr::GetGuildArray
[LibraryImport(DllName, EntryPoint = "?GetGuildArray@GuildMgr@GW@@YAPAV?$Array@PAUGuild@GW@@@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.GuildWarsArray* GetGuildArray();
// GW::GuildMgr::GetGuildInfo
[LibraryImport(DllName, EntryPoint = "?GetGuildInfo@GuildMgr@GW@@YAPAUGuild@2@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.Guild* GetGuildInfo(uint value);
// GW::GuildMgr::GetPlayerGuild
[LibraryImport(DllName, EntryPoint = "?GetPlayerGuild@GuildMgr@GW@@YAPAUGuild@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.Guild* GetPlayerGuild();
// GW::GuildMgr::GetPlayerGuildAnnouncement
[LibraryImport(DllName, EntryPoint = "?GetPlayerGuildAnnouncement@GuildMgr@GW@@YAPA_WXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial ushort* GetPlayerGuildAnnouncement();
// GW::GuildMgr::GetPlayerGuildAnnouncer
[LibraryImport(DllName, EntryPoint = "?GetPlayerGuildAnnouncer@GuildMgr@GW@@YAPA_WXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial ushort* GetPlayerGuildAnnouncer();
// GW::GuildMgr::GetPlayerGuildIndex
[LibraryImport(DllName, EntryPoint = "?GetPlayerGuildIndex@GuildMgr@GW@@YAIXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetPlayerGuildIndex();
// GW::GuildMgr::LeaveGH
[LibraryImport(DllName, EntryPoint = "?LeaveGH@GuildMgr@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool LeaveGH();
// GW::GuildMgr::TravelGH
[LibraryImport(DllName, EntryPoint = "?TravelGH@GuildMgr@GW@@YA_NUGHKey@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool TravelGH(global::Daybreak.API.Interop.GuildWars.GHKey gHKey);
// GW::GuildMgr::TravelGH
[LibraryImport(DllName, EntryPoint = "?TravelGH@GuildMgr@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool TravelGH();
}
@@ -1104,38 +1246,47 @@ public static unsafe partial class GWCA
// GW::Hook::CreateHook
[LibraryImport(DllName, EntryPoint = "?CreateHook@Hook@GW@@YAHPAPAXPAX0@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial int CreateHook(void* ptr1, void* ptr2, nint ptr3);
// GW::Hook::Deinitialize
[LibraryImport(DllName, EntryPoint = "?Deinitialize@Hook@GW@@YAXXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void Deinitialize();
// GW::Hook::DisableHooks
[LibraryImport(DllName, EntryPoint = "?DisableHooks@Hook@GW@@YAXPAX@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void DisableHooks(void* ptr);
// GW::Hook::EnableHooks
[LibraryImport(DllName, EntryPoint = "?EnableHooks@Hook@GW@@YAXPAX@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void EnableHooks(void* ptr);
// GW::Hook::EnterHook
[LibraryImport(DllName, EntryPoint = "?EnterHook@Hook@GW@@YAXXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void EnterHook();
// GW::Hook::GetInHookCount
[LibraryImport(DllName, EntryPoint = "?GetInHookCount@Hook@GW@@YAHXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial int GetInHookCount();
// GW::Hook::Initialize
[LibraryImport(DllName, EntryPoint = "?Initialize@Hook@GW@@YAXXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void Initialize();
// GW::Hook::LeaveHook
[LibraryImport(DllName, EntryPoint = "?LeaveHook@Hook@GW@@YAXXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void LeaveHook();
// GW::Hook::RemoveHook
[LibraryImport(DllName, EntryPoint = "?RemoveHook@Hook@GW@@YAXPAX@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void RemoveHook(void* ptr);
}
@@ -1177,232 +1328,284 @@ public static unsafe partial class GWCA
// GW::Items::CanAccessXunlaiChest
[LibraryImport(DllName, EntryPoint = "?CanAccessXunlaiChest@Items@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool CanAccessXunlaiChest();
// GW::Items::CanInteractWithItem
[LibraryImport(DllName, EntryPoint = "?CanInteractWithItem@Items@GW@@YA_NPBUItem@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool CanInteractWithItem(global::Daybreak.API.Interop.GuildWars.ItemStruct* itemStruct);
// GW::Items::CountItemByModelId
[LibraryImport(DllName, EntryPoint = "?CountItemByModelId@Items@GW@@YAIIHH@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint CountItemByModelId(uint value1, int value2, int value3);
// GW::Items::DepositGold
[LibraryImport(DllName, EntryPoint = "?DepositGold@Items@GW@@YAII@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint DepositGold(uint value);
// GW::Items::DestroyItem
[LibraryImport(DllName, EntryPoint = "?DestroyItem@Items@GW@@YA_NI@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool DestroyItem(uint value);
// GW::Items::DropGold
[LibraryImport(DllName, EntryPoint = "?DropGold@Items@GW@@YA_NI@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool DropGold(uint value);
// GW::Items::DropItem
[LibraryImport(DllName, EntryPoint = "?DropItem@Items@GW@@YA_NPBUItem@2@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool DropItem(global::Daybreak.API.Interop.GuildWars.ItemStruct* itemStruct1, uint value2);
// GW::Items::EquipItem
[LibraryImport(DllName, EntryPoint = "?EquipItem@Items@GW@@YA_NPBUItem@2@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool EquipItem(global::Daybreak.API.Interop.GuildWars.ItemStruct* itemStruct1, uint value2);
// GW::Items::GetBag
[LibraryImport(DllName, EntryPoint = "?GetBag@Items@GW@@YAPAUBag@2@W43Constants@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.BagStruct* GetBag(global::Daybreak.API.Interop.GWCA.GW.Constants.Bag bag);
// GW::Items::GetBagArray
[LibraryImport(DllName, EntryPoint = "?GetBagArray@Items@GW@@YAPAPAUBag@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void* GetBagArray();
// GW::Items::GetBagByIndex
[LibraryImport(DllName, EntryPoint = "?GetBagByIndex@Items@GW@@YAPAUBag@2@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.BagStruct* GetBagByIndex(uint value);
// GW::Items::GetCompositeModelInfo
[LibraryImport(DllName, EntryPoint = "?GetCompositeModelInfo@Items@GW@@YAPBUCompositeModelInfo@2@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.CompositeModelInfo* GetCompositeModelInfo(uint value);
// GW::Items::GetCompositeModelInfoArray | returns TODO: map struct BaseArray
// [LibraryImport(DllName, EntryPoint = "?GetCompositeModelInfoArray@Items@GW@@YAABV?$BaseArray@UCompositeModelInfo@GW@@@2@XZ")]
+ // [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
// public static partial BaseArray* GetCompositeModelInfoArray();
// GW::Items::GetEquipmentVisibility
[LibraryImport(DllName, EntryPoint = "?GetEquipmentVisibility@Items@GW@@YA?AW4EquipmentStatus@2@W4EquipmentType@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GWCA.GW.EquipmentStatus GetEquipmentVisibility(global::Daybreak.API.Interop.GWCA.GW.EquipmentType equipmentType);
// GW::Items::GetGoldAmountInStorage
[LibraryImport(DllName, EntryPoint = "?GetGoldAmountInStorage@Items@GW@@YAIXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetGoldAmountInStorage();
// GW::Items::GetGoldAmountOnCharacter
[LibraryImport(DllName, EntryPoint = "?GetGoldAmountOnCharacter@Items@GW@@YAIXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetGoldAmountOnCharacter();
// GW::Items::GetHeroInventory
[LibraryImport(DllName, EntryPoint = "?GetHeroInventory@Items@GW@@YAPAUInventory@2@W4HeroID@Constants@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.Inventory* GetHeroInventory(global::Daybreak.API.Interop.GWCA.GW.Constants.HeroID heroID);
// GW::Items::GetHoveredItem
[LibraryImport(DllName, EntryPoint = "?GetHoveredItem@Items@GW@@YAPAUItem@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.ItemStruct* GetHoveredItem();
// GW::Items::GetInventory
[LibraryImport(DllName, EntryPoint = "?GetInventory@Items@GW@@YAPAUInventory@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.Inventory* GetInventory();
// GW::Items::GetIsStorageOpen
[LibraryImport(DllName, EntryPoint = "?GetIsStorageOpen@Items@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool GetIsStorageOpen();
// GW::Items::GetItemArray
[LibraryImport(DllName, EntryPoint = "?GetItemArray@Items@GW@@YAPAV?$Array@PAUItem@GW@@@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.GuildWarsArray* GetItemArray();
// GW::Items::GetItemById
[LibraryImport(DllName, EntryPoint = "?GetItemById@Items@GW@@YAPAUItem@2@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.ItemStruct* GetItemById(uint value);
// GW::Items::GetItemByModelId
[LibraryImport(DllName, EntryPoint = "?GetItemByModelId@Items@GW@@YAPAUItem@2@IHH@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.ItemStruct* GetItemByModelId(uint value1, int value2, int value3);
// GW::Items::GetItemByModelIdAndModifiers
[LibraryImport(DllName, EntryPoint = "?GetItemByModelIdAndModifiers@Items@GW@@YAPAUItem@2@IPBUItemModifier@2@IHH@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.ItemStruct* GetItemByModelIdAndModifiers(uint value1, global::Daybreak.API.Interop.GuildWars.ItemModifier* itemModifier2, uint value3, int value4, int value5);
// GW::Items::GetItemBySlot
[LibraryImport(DllName, EntryPoint = "?GetItemBySlot@Items@GW@@YAPAUItem@2@PBUBag@2@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.ItemStruct* GetItemBySlot(global::Daybreak.API.Interop.GuildWars.BagStruct* bag1, uint value2);
// GW::Items::GetItemFormula
[LibraryImport(DllName, EntryPoint = "?GetItemFormula@Items@GW@@YAPBUItemFormula@2@PBUItem@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.ItemFormula* GetItemFormula(global::Daybreak.API.Interop.GuildWars.ItemStruct* itemStruct);
// GW::Items::GetMaterialSlot
[LibraryImport(DllName, EntryPoint = "?GetMaterialSlot@Items@GW@@YA?AW4MaterialSlot@Constants@2@PBUItem@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GWCA.GW.Constants.MaterialSlot GetMaterialSlot(global::Daybreak.API.Interop.GuildWars.ItemStruct* itemStruct);
// GW::Items::GetMaterialStorageStackSize
[LibraryImport(DllName, EntryPoint = "?GetMaterialStorageStackSize@Items@GW@@YAIXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetMaterialStorageStackSize();
// GW::Items::GetPvPItemInfo
[LibraryImport(DllName, EntryPoint = "?GetPvPItemInfo@Items@GW@@YAPBUPvPItemInfo@2@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.PvPItemInfo* GetPvPItemInfo(uint value);
// GW::Items::GetPvPItemInfoArray | returns TODO: map struct BaseArray
// [LibraryImport(DllName, EntryPoint = "?GetPvPItemInfoArray@Items@GW@@YAABV?$BaseArray@UPvPItemInfo@GW@@@2@XZ")]
+ // [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
// public static partial BaseArray* GetPvPItemInfoArray();
// GW::Items::GetPvPItemUpgrade
[LibraryImport(DllName, EntryPoint = "?GetPvPItemUpgrade@Items@GW@@YAPBUPvPItemUpgradeInfo@2@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.PvPItemUpgradeInfo* GetPvPItemUpgrade(uint value);
// GW::Items::GetPvPItemUpgradeEncodedDescription
[LibraryImport(DllName, EntryPoint = "?GetPvPItemUpgradeEncodedDescription@Items@GW@@YA_NIPAPA_W@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool GetPvPItemUpgradeEncodedDescription(uint value1, void* ptr2);
// GW::Items::GetPvPItemUpgradeEncodedName
[LibraryImport(DllName, EntryPoint = "?GetPvPItemUpgradeEncodedName@Items@GW@@YA_NIPAPA_W@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool GetPvPItemUpgradeEncodedName(uint value1, void* ptr2);
// GW::Items::GetPvPItemUpgradesArray | returns TODO: map struct BaseArray
// [LibraryImport(DllName, EntryPoint = "?GetPvPItemUpgradesArray@Items@GW@@YAABV?$BaseArray@UPvPItemUpgradeInfo@GW@@@2@XZ")]
+ // [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
// public static partial BaseArray* GetPvPItemUpgradesArray();
// GW::Items::GetSalvageSessionInfo
[LibraryImport(DllName, EntryPoint = "?GetSalvageSessionInfo@Items@GW@@YAPAUSalvageSessionInfo@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.SalvageSessionInfo* GetSalvageSessionInfo();
// GW::Items::GetStoragePage
[LibraryImport(DllName, EntryPoint = "?GetStoragePage@Items@GW@@YA?AW4StoragePane@Constants@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GWCA.GW.Constants.StoragePane GetStoragePage();
// GW::Items::IdentifyItem
[LibraryImport(DllName, EntryPoint = "?IdentifyItem@Items@GW@@YA_NII@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool IdentifyItem(uint value1, uint value2);
// GW::Items::MoveItem
[LibraryImport(DllName, EntryPoint = "?MoveItem@Items@GW@@YA_NPBUItem@2@0I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool MoveItem(global::Daybreak.API.Interop.GuildWars.ItemStruct* itemStruct1, nint ptr2, uint value3);
// GW::Items::MoveItem
[LibraryImport(DllName, EntryPoint = "?MoveItem@Items@GW@@YA_NPBUItem@2@PBUBag@2@II@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool MoveItem(global::Daybreak.API.Interop.GuildWars.ItemStruct* itemStruct1, global::Daybreak.API.Interop.GuildWars.BagStruct* bag2, uint value3, uint value4);
// GW::Items::MoveItem
[LibraryImport(DllName, EntryPoint = "?MoveItem@Items@GW@@YA_NPBUItem@2@W4Bag@Constants@2@II@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool MoveItem(global::Daybreak.API.Interop.GuildWars.ItemStruct* itemStruct1, global::Daybreak.API.Interop.GWCA.GW.Constants.Bag bag2, uint value3, uint value4);
// GW::Items::OpenXunlaiWindow
[LibraryImport(DllName, EntryPoint = "?OpenXunlaiWindow@Items@GW@@YA_N_N0@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool OpenXunlaiWindow([MarshalAs(UnmanagedType.U1)] bool flag1, nint ptr2);
// GW::Items::PickUpItem
[LibraryImport(DllName, EntryPoint = "?PickUpItem@Items@GW@@YA_NPBUItem@2@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool PickUpItem(global::Daybreak.API.Interop.GuildWars.ItemStruct* itemStruct1, uint value2);
// GW::Items::PingWeaponSet
[LibraryImport(DllName, EntryPoint = "?PingWeaponSet@Items@GW@@YA_NIII@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool PingWeaponSet(uint value1, uint value2, uint value3);
// GW::Items::RegisterItemClickCallback | function2: TODO: map struct function
// [LibraryImport(DllName, EntryPoint = "?RegisterItemClickCallback@Items@GW@@YAXPAUHookEntry@2@ABV?$function@$$A6AXPAUHookStatus@GW@@PAUkMouseAction@UIPacket@UI@2@PAUItem@2@@Z@std@@@Z")]
+ // [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
// public static partial void RegisterItemClickCallback(global::Daybreak.API.Interop.HookEntry* hookEntry1, function* function2, global::Daybreak.API.Interop.GuildWars.kMouseAction* kMouseAction3, global::Daybreak.API.Interop.GuildWars.ItemStruct* itemStruct4);
// GW::Items::RemoveItemClickCallback
[LibraryImport(DllName, EntryPoint = "?RemoveItemClickCallback@Items@GW@@YAXPAUHookEntry@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void RemoveItemClickCallback(global::Daybreak.API.Interop.HookEntry* hookEntry);
// GW::Items::SalvageMaterials
[LibraryImport(DllName, EntryPoint = "?SalvageMaterials@Items@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SalvageMaterials();
// GW::Items::SalvageSessionCancel
[LibraryImport(DllName, EntryPoint = "?SalvageSessionCancel@Items@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SalvageSessionCancel();
// GW::Items::SalvageStart
[LibraryImport(DllName, EntryPoint = "?SalvageStart@Items@GW@@YA_NII@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SalvageStart(uint value1, uint value2);
// GW::Items::SetEquipmentVisibility
[LibraryImport(DllName, EntryPoint = "?SetEquipmentVisibility@Items@GW@@YA_NW4EquipmentType@2@W4EquipmentStatus@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SetEquipmentVisibility(global::Daybreak.API.Interop.GWCA.GW.EquipmentType equipmentType1, global::Daybreak.API.Interop.GWCA.GW.EquipmentStatus equipmentStatus2);
// GW::Items::UseItem
[LibraryImport(DllName, EntryPoint = "?UseItem@Items@GW@@YA_NPBUItem@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool UseItem(global::Daybreak.API.Interop.GuildWars.ItemStruct* itemStruct);
// GW::Items::UseItemByModelId
[LibraryImport(DllName, EntryPoint = "?UseItemByModelId@Items@GW@@YA_NIHH@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool UseItemByModelId(uint value1, int value2, int value3);
// GW::Items::WithdrawGold
[LibraryImport(DllName, EntryPoint = "?WithdrawGold@Items@GW@@YAII@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint WithdrawGold(uint value);
}
@@ -1411,119 +1614,146 @@ public static unsafe partial class GWCA
// GW::Map::CancelEnterChallenge
[LibraryImport(DllName, EntryPoint = "?CancelEnterChallenge@Map@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool CancelEnterChallenge();
// GW::Map::CreateMapContext
[LibraryImport(DllName, EntryPoint = "?CreateMapContext@Map@GW@@YAPAUMapContext@2@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.MapContext* CreateMapContext(uint value);
// GW::Map::DestroyMapContext
[LibraryImport(DllName, EntryPoint = "?DestroyMapContext@Map@GW@@YA_NPAUMapContext@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool DestroyMapContext(global::Daybreak.API.Interop.GuildWars.MapContext* mapContext);
// GW::Map::EnterChallenge
[LibraryImport(DllName, EntryPoint = "?EnterChallenge@Map@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool EnterChallenge();
// GW::Map::GetDistrict
[LibraryImport(DllName, EntryPoint = "?GetDistrict@Map@GW@@YAHXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial int GetDistrict();
// GW::Map::GetFoesKilled
[LibraryImport(DllName, EntryPoint = "?GetFoesKilled@Map@GW@@YAIXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetFoesKilled();
// GW::Map::GetFoesToKill
[LibraryImport(DllName, EntryPoint = "?GetFoesToKill@Map@GW@@YAIXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetFoesToKill();
// GW::Map::GetInstanceTime
[LibraryImport(DllName, EntryPoint = "?GetInstanceTime@Map@GW@@YAIXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetInstanceTime();
// GW::Map::GetInstanceType
[LibraryImport(DllName, EntryPoint = "?GetInstanceType@Map@GW@@YA?AW4InstanceType@Constants@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GWCA.GW.Constants.InstanceType GetInstanceType();
// GW::Map::GetIsInCinematic
[LibraryImport(DllName, EntryPoint = "?GetIsInCinematic@Map@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool GetIsInCinematic();
// GW::Map::GetIsMapLoaded
[LibraryImport(DllName, EntryPoint = "?GetIsMapLoaded@Map@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool GetIsMapLoaded();
// GW::Map::GetIsMapUnlocked
[LibraryImport(DllName, EntryPoint = "?GetIsMapUnlocked@Map@GW@@YA_NW4MapID@Constants@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool GetIsMapUnlocked(global::Daybreak.API.Interop.GWCA.GW.Constants.MapID mapID);
// GW::Map::GetIsObserving
[LibraryImport(DllName, EntryPoint = "?GetIsObserving@Map@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool GetIsObserving();
// GW::Map::GetLanguage
[LibraryImport(DllName, EntryPoint = "?GetLanguage@Map@GW@@YA?AW4Language@Constants@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GWCA.GW.Constants.Language GetLanguage();
// GW::Map::GetMapID
[LibraryImport(DllName, EntryPoint = "?GetMapID@Map@GW@@YA?AW4MapID@Constants@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GWCA.GW.Constants.MapID GetMapID();
// GW::Map::GetMapInfo
[LibraryImport(DllName, EntryPoint = "?GetMapInfo@Map@GW@@YAPAUAreaInfo@2@W4MapID@Constants@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.AreaInfo* GetMapInfo(global::Daybreak.API.Interop.GWCA.GW.Constants.MapID mapID);
// GW::Map::GetMissionMapContext
[LibraryImport(DllName, EntryPoint = "?GetMissionMapContext@Map@GW@@YAPAUMissionMapContext@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.MissionMapContext* GetMissionMapContext();
// GW::Map::GetMissionMapIconArray
[LibraryImport(DllName, EntryPoint = "?GetMissionMapIconArray@Map@GW@@YAPAV?$Array@UMissionMapIcon@GW@@@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.GuildWarsArray* GetMissionMapIconArray();
// GW::Map::GetPathingMap
// [LibraryImport(DllName, EntryPoint = "?GetPathingMap@Map@GW@@YAPAV?$Array@UPathingMap@GW@@@2@XZ")]
+ // [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
// public static partial global::Daybreak.API.Interop.GuildWars.GuildWarsArray* GetPathingMap();
// GW::Map::GetRegion
[LibraryImport(DllName, EntryPoint = "?GetRegion@Map@GW@@YA?AW4ServerRegion@Constants@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GWCA.GW.Constants.ServerRegion GetRegion();
// GW::Map::GetWorldMapContext
[LibraryImport(DllName, EntryPoint = "?GetWorldMapContext@Map@GW@@YAPAUWorldMapContext@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.WorldMapContext* GetWorldMapContext();
// GW::Map::LanguageFromDistrict
[LibraryImport(DllName, EntryPoint = "?LanguageFromDistrict@Map@GW@@YA?AW4Language@Constants@2@W4District@42@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GWCA.GW.Constants.Language LanguageFromDistrict(global::Daybreak.API.Interop.GWCA.GW.Constants.District district);
// GW::Map::QueryAltitude
[LibraryImport(DllName, EntryPoint = "?QueryAltitude@Map@GW@@YAMPBUGamePos@2@MPAUMapContext@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial float QueryAltitude(global::Daybreak.API.Interop.GuildWars.GamePos* gamePos1, float value2, global::Daybreak.API.Interop.GuildWars.MapContext* mapContext3);
// GW::Map::RegionFromDistrict
[LibraryImport(DllName, EntryPoint = "?RegionFromDistrict@Map@GW@@YA?AW4ServerRegion@Constants@2@W4District@42@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GWCA.GW.Constants.ServerRegion RegionFromDistrict(global::Daybreak.API.Interop.GWCA.GW.Constants.District district);
// GW::Map::SkipCinematic
[LibraryImport(DllName, EntryPoint = "?SkipCinematic@Map@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SkipCinematic();
// GW::Map::Travel
[LibraryImport(DllName, EntryPoint = "?Travel@Map@GW@@YA_NW4MapID@Constants@2@W4District@42@H@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool Travel(global::Daybreak.API.Interop.GWCA.GW.Constants.MapID mapID1, global::Daybreak.API.Interop.GWCA.GW.Constants.District district2, int value3);
// GW::Map::Travel
[LibraryImport(DllName, EntryPoint = "?Travel@Map@GW@@YA_NW4MapID@Constants@2@W4ServerRegion@42@HW4Language@42@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool Travel(global::Daybreak.API.Interop.GWCA.GW.Constants.MapID mapID1, global::Daybreak.API.Interop.GWCA.GW.Constants.ServerRegion serverRegion2, int value3, global::Daybreak.API.Interop.GWCA.GW.Constants.Language language4);
}
@@ -1533,31 +1763,38 @@ public static unsafe partial class GWCA
// GW::MemoryMgr::GetGWVersion
[LibraryImport(DllName, EntryPoint = "?GetGWVersion@MemoryMgr@GW@@YAIXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetGWVersion();
// GW::MemoryMgr::GetGWWindowHandle
[LibraryImport(DllName, EntryPoint = "?GetGWWindowHandle@MemoryMgr@GW@@YAPAUHWND__@@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GWHwnd* GetGWWindowHandle();
// GW::MemoryMgr::GetPersonalDir
[LibraryImport(DllName, EntryPoint = "?GetPersonalDir@MemoryMgr@GW@@YA_NIPA_W@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool GetPersonalDir(uint value1, ushort* ptr2);
// GW::MemoryMgr::GetSkillTimer
[LibraryImport(DllName, EntryPoint = "?GetSkillTimer@MemoryMgr@GW@@YAKXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetSkillTimer();
// GW::MemoryMgr::MemAlloc
[LibraryImport(DllName, EntryPoint = "?MemAlloc@MemoryMgr@GW@@YAPAXI@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void* MemAlloc(uint value);
// GW::MemoryMgr::MemFree
[LibraryImport(DllName, EntryPoint = "?MemFree@MemoryMgr@GW@@YAXPAX@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void MemFree(void* ptr);
// GW::MemoryMgr::MemRealloc
[LibraryImport(DllName, EntryPoint = "?MemRealloc@MemoryMgr@GW@@YAPAXPAXI@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void* MemRealloc(void* ptr1, uint value2);
}
@@ -1566,10 +1803,12 @@ public static unsafe partial class GWCA
// GW::MemoryPatcher::DisableHooks
[LibraryImport(DllName, EntryPoint = "?DisableHooks@MemoryPatcher@GW@@SAXXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void DisableHooks();
// GW::MemoryPatcher::EnableHooks
[LibraryImport(DllName, EntryPoint = "?EnableHooks@MemoryPatcher@GW@@SAXXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void EnableHooks();
// GW::MemoryPatcher::Reset
@@ -1598,15 +1837,18 @@ public static unsafe partial class GWCA
// GW::Merchant::GetMerchantItems
[LibraryImport(DllName, EntryPoint = "?GetMerchantItems@Merchant@GW@@YAIW4TransactionType@12@IPAI@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetMerchantItems(global::Daybreak.API.Interop.GWCA.GW.Merchant.TransactionType transactionType1, uint value2, uint* ptr3);
// GW::Merchant::RequestQuote
[LibraryImport(DllName, EntryPoint = "?RequestQuote@Merchant@GW@@YA_NW4TransactionType@12@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool RequestQuote(global::Daybreak.API.Interop.GWCA.GW.Merchant.TransactionType transactionType1, uint value2);
// GW::Merchant::TransactItems
[LibraryImport(DllName, EntryPoint = "?TransactItems@Merchant@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool TransactItems();
}
@@ -1635,204 +1877,247 @@ public static unsafe partial class GWCA
// GW::PartyMgr::AddHenchman
[LibraryImport(DllName, EntryPoint = "?AddHenchman@PartyMgr@GW@@YA_NI@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool AddHenchman(uint value);
// GW::PartyMgr::AddHero
[LibraryImport(DllName, EntryPoint = "?AddHero@PartyMgr@GW@@YA_NW4HeroID@Constants@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool AddHero(global::Daybreak.API.Interop.GWCA.GW.Constants.HeroID heroID);
// GW::PartyMgr::FlagAll
[LibraryImport(DllName, EntryPoint = "?FlagAll@PartyMgr@GW@@YA_NUGamePos@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool FlagAll(global::Daybreak.API.Interop.GuildWars.GamePos gamePos);
// GW::PartyMgr::FlagHero
[LibraryImport(DllName, EntryPoint = "?FlagHero@PartyMgr@GW@@YA_NIUGamePos@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool FlagHero(uint value1, global::Daybreak.API.Interop.GuildWars.GamePos gamePos2);
// GW::PartyMgr::GetAgentAttributes
[LibraryImport(DllName, EntryPoint = "?GetAgentAttributes@PartyMgr@GW@@YAPAUAttribute@2@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.AttributeStruct* GetAgentAttributes(uint value);
// GW::PartyMgr::GetHeroAgentID
[LibraryImport(DllName, EntryPoint = "?GetHeroAgentID@PartyMgr@GW@@YAII@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetHeroAgentID(uint value);
// GW::PartyMgr::GetHeroConstData
[LibraryImport(DllName, EntryPoint = "?GetHeroConstData@PartyMgr@GW@@YAPAUHeroConstData@2@W4HeroID@Constants@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.HeroConstData* GetHeroConstData(global::Daybreak.API.Interop.GWCA.GW.Constants.HeroID heroID);
// GW::PartyMgr::GetHeroInfo
[LibraryImport(DllName, EntryPoint = "?GetHeroInfo@PartyMgr@GW@@YAPAUHeroInfo@2@W4HeroID@Constants@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.HeroInfo* GetHeroInfo(global::Daybreak.API.Interop.GWCA.GW.Constants.HeroID heroID);
// GW::PartyMgr::GetIsHardModeUnlocked
[LibraryImport(DllName, EntryPoint = "?GetIsHardModeUnlocked@PartyMgr@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool GetIsHardModeUnlocked();
// GW::PartyMgr::GetIsLeader
[LibraryImport(DllName, EntryPoint = "?GetIsLeader@PartyMgr@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool GetIsLeader();
// GW::PartyMgr::GetIsPartyDefeated
[LibraryImport(DllName, EntryPoint = "?GetIsPartyDefeated@PartyMgr@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool GetIsPartyDefeated();
// GW::PartyMgr::GetIsPartyInHardMode
[LibraryImport(DllName, EntryPoint = "?GetIsPartyInHardMode@PartyMgr@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool GetIsPartyInHardMode();
// GW::PartyMgr::GetIsPartyLoaded
[LibraryImport(DllName, EntryPoint = "?GetIsPartyLoaded@PartyMgr@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool GetIsPartyLoaded();
// GW::PartyMgr::GetIsPartyTicked
[LibraryImport(DllName, EntryPoint = "?GetIsPartyTicked@PartyMgr@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool GetIsPartyTicked();
// GW::PartyMgr::GetIsPlayerTicked
[LibraryImport(DllName, EntryPoint = "?GetIsPlayerTicked@PartyMgr@GW@@YA_NI@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool GetIsPlayerTicked(uint value);
// GW::PartyMgr::GetPartyHenchmanCount
[LibraryImport(DllName, EntryPoint = "?GetPartyHenchmanCount@PartyMgr@GW@@YAIXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetPartyHenchmanCount();
// GW::PartyMgr::GetPartyHeroCount
[LibraryImport(DllName, EntryPoint = "?GetPartyHeroCount@PartyMgr@GW@@YAIXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetPartyHeroCount();
// GW::PartyMgr::GetPartyInfo
[LibraryImport(DllName, EntryPoint = "?GetPartyInfo@PartyMgr@GW@@YAPAUPartyInfo@2@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.PartyInfo* GetPartyInfo(uint value);
// GW::PartyMgr::GetPartyPlayerCount
[LibraryImport(DllName, EntryPoint = "?GetPartyPlayerCount@PartyMgr@GW@@YAIXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetPartyPlayerCount();
// GW::PartyMgr::GetPartySearch
[LibraryImport(DllName, EntryPoint = "?GetPartySearch@PartyMgr@GW@@YAPAUPartySearch@2@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.PartySearch* GetPartySearch(uint value);
// GW::PartyMgr::GetPartySize
[LibraryImport(DllName, EntryPoint = "?GetPartySize@PartyMgr@GW@@YAIXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetPartySize();
// GW::PartyMgr::GetPetInfo
[LibraryImport(DllName, EntryPoint = "?GetPetInfo@PartyMgr@GW@@YAPAUPetInfo@2@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.PetInfo* GetPetInfo(uint value);
// GW::PartyMgr::InvitePlayer
[LibraryImport(DllName, EntryPoint = "?InvitePlayer@PartyMgr@GW@@YA_NI@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool InvitePlayer(uint value);
// GW::PartyMgr::InvitePlayer
[LibraryImport(DllName, EntryPoint = "?InvitePlayer@PartyMgr@GW@@YA_NPB_W@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool InvitePlayer(ushort* ptr);
// GW::PartyMgr::KickAllHeroes
[LibraryImport(DllName, EntryPoint = "?KickAllHeroes@PartyMgr@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool KickAllHeroes();
// GW::PartyMgr::KickHenchman
[LibraryImport(DllName, EntryPoint = "?KickHenchman@PartyMgr@GW@@YA_NI@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool KickHenchman(uint value);
// GW::PartyMgr::KickHero
[LibraryImport(DllName, EntryPoint = "?KickHero@PartyMgr@GW@@YA_NW4HeroID@Constants@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool KickHero(global::Daybreak.API.Interop.GWCA.GW.Constants.HeroID heroID);
// GW::PartyMgr::KickPlayer
[LibraryImport(DllName, EntryPoint = "?KickPlayer@PartyMgr@GW@@YA_NI@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool KickPlayer(uint value);
// GW::PartyMgr::LeaveParty
[LibraryImport(DllName, EntryPoint = "?LeaveParty@PartyMgr@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool LeaveParty();
// GW::PartyMgr::RespondToPartyRequest
[LibraryImport(DllName, EntryPoint = "?RespondToPartyRequest@PartyMgr@GW@@YA_NI_N@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool RespondToPartyRequest(uint value1, [MarshalAs(UnmanagedType.U1)] bool flag2);
// GW::PartyMgr::ReturnToOutpost
[LibraryImport(DllName, EntryPoint = "?ReturnToOutpost@PartyMgr@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool ReturnToOutpost();
// GW::PartyMgr::SearchParty
[LibraryImport(DllName, EntryPoint = "?SearchParty@PartyMgr@GW@@YA_NIPB_W@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SearchParty(uint value1, ushort* ptr2);
// GW::PartyMgr::SearchPartyCancel
[LibraryImport(DllName, EntryPoint = "?SearchPartyCancel@PartyMgr@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SearchPartyCancel();
// GW::PartyMgr::SearchPartyReply
[LibraryImport(DllName, EntryPoint = "?SearchPartyReply@PartyMgr@GW@@YA_NI_N@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SearchPartyReply(uint value1, [MarshalAs(UnmanagedType.U1)] bool flag2);
// GW::PartyMgr::SetHardMode
[LibraryImport(DllName, EntryPoint = "?SetHardMode@PartyMgr@GW@@YA_N_N@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SetHardMode([MarshalAs(UnmanagedType.U1)] bool flag);
// GW::PartyMgr::SetHeroBehavior
[LibraryImport(DllName, EntryPoint = "?SetHeroBehavior@PartyMgr@GW@@YA_NIW4HeroBehavior@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SetHeroBehavior(uint value1, global::Daybreak.API.Interop.GWCA.GW.HeroBehavior heroBehavior2);
// GW::PartyMgr::SetHeroSkillDisabled
[LibraryImport(DllName, EntryPoint = "?SetHeroSkillDisabled@PartyMgr@GW@@YA_NII_N@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SetHeroSkillDisabled(uint value1, uint value2, [MarshalAs(UnmanagedType.U1)] bool flag3);
// GW::PartyMgr::SetHeroTarget
[LibraryImport(DllName, EntryPoint = "?SetHeroTarget@PartyMgr@GW@@YA_NII@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SetHeroTarget(uint value1, uint value2);
// GW::PartyMgr::SetPetBehavior
[LibraryImport(DllName, EntryPoint = "?SetPetBehavior@PartyMgr@GW@@YA_NIW4HeroBehavior@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SetPetBehavior(uint value1, global::Daybreak.API.Interop.GWCA.GW.HeroBehavior heroBehavior2);
// GW::PartyMgr::SetTickToggle
[LibraryImport(DllName, EntryPoint = "?SetTickToggle@PartyMgr@GW@@YAX_N@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void SetTickToggle([MarshalAs(UnmanagedType.U1)] bool flag);
// GW::PartyMgr::Tick
[LibraryImport(DllName, EntryPoint = "?Tick@PartyMgr@GW@@YA_N_N@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool Tick([MarshalAs(UnmanagedType.U1)] bool flag);
// GW::PartyMgr::UnflagAll
[LibraryImport(DllName, EntryPoint = "?UnflagAll@PartyMgr@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool UnflagAll();
// GW::PartyMgr::UnflagHero
[LibraryImport(DllName, EntryPoint = "?UnflagHero@PartyMgr@GW@@YA_NI@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool UnflagHero(uint value);
}
@@ -1842,65 +2127,80 @@ public static unsafe partial class GWCA
// GW::PlayerMgr::ChangeSecondProfession
[LibraryImport(DllName, EntryPoint = "?ChangeSecondProfession@PlayerMgr@GW@@YA_NW4Profession@Constants@2@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool ChangeSecondProfession(global::Daybreak.API.Interop.GWCA.GW.Constants.Profession profession1, uint value2);
// GW::PlayerMgr::GetActiveTitle
[LibraryImport(DllName, EntryPoint = "?GetActiveTitle@PlayerMgr@GW@@YAPAUTitle@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.Title* GetActiveTitle();
// GW::PlayerMgr::GetActiveTitleId
[LibraryImport(DllName, EntryPoint = "?GetActiveTitleId@PlayerMgr@GW@@YA?AW4TitleID@Constants@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GWCA.GW.Constants.TitleID GetActiveTitleId();
// GW::PlayerMgr::GetAmountOfPlayersInInstance
[LibraryImport(DllName, EntryPoint = "?GetAmountOfPlayersInInstance@PlayerMgr@GW@@YAIXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetAmountOfPlayersInInstance();
// GW::PlayerMgr::GetPlayerAgentId
[LibraryImport(DllName, EntryPoint = "?GetPlayerAgentId@PlayerMgr@GW@@YAII@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetPlayerAgentId(uint value);
// GW::PlayerMgr::GetPlayerArray
[LibraryImport(DllName, EntryPoint = "?GetPlayerArray@PlayerMgr@GW@@YAPAV?$Array@UPlayer@GW@@@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.GuildWarsArray* GetPlayerArray();
// GW::PlayerMgr::GetPlayerByID
[LibraryImport(DllName, EntryPoint = "?GetPlayerByID@PlayerMgr@GW@@YAPAUPlayer@2@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.Player* GetPlayerByID(uint value);
// GW::PlayerMgr::GetPlayerByName
[LibraryImport(DllName, EntryPoint = "?GetPlayerByName@PlayerMgr@GW@@YAPAUPlayer@2@PB_W@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.Player* GetPlayerByName(ushort* ptr);
// GW::PlayerMgr::GetPlayerName
[LibraryImport(DllName, EntryPoint = "?GetPlayerName@PlayerMgr@GW@@YAPA_WI@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial ushort* GetPlayerName(uint value);
// GW::PlayerMgr::GetPlayerNumber
[LibraryImport(DllName, EntryPoint = "?GetPlayerNumber@PlayerMgr@GW@@YAIXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetPlayerNumber();
// GW::PlayerMgr::GetTitleData
[LibraryImport(DllName, EntryPoint = "?GetTitleData@PlayerMgr@GW@@YAPAUTitleClientData@2@W4TitleID@Constants@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.TitleClientData* GetTitleData(global::Daybreak.API.Interop.GWCA.GW.Constants.TitleID titleID);
// GW::PlayerMgr::GetTitleTrack
[LibraryImport(DllName, EntryPoint = "?GetTitleTrack@PlayerMgr@GW@@YAPAUTitle@2@W4TitleID@Constants@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.Title* GetTitleTrack(global::Daybreak.API.Interop.GWCA.GW.Constants.TitleID titleID);
// GW::PlayerMgr::RemoveActiveTitle
[LibraryImport(DllName, EntryPoint = "?RemoveActiveTitle@PlayerMgr@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool RemoveActiveTitle();
// GW::PlayerMgr::SetActiveTitle
[LibraryImport(DllName, EntryPoint = "?SetActiveTitle@PlayerMgr@GW@@YA_NW4TitleID@Constants@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SetActiveTitle(global::Daybreak.API.Interop.GWCA.GW.Constants.TitleID titleID);
// GW::PlayerMgr::SetPlayerName
[LibraryImport(DllName, EntryPoint = "?SetPlayerName@PlayerMgr@GW@@YAPA_WIPB_W@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial ushort* SetPlayerName(uint value1, ushort* ptr2);
}
@@ -1938,52 +2238,63 @@ public static unsafe partial class GWCA
// GW::QuestMgr::AbandonQuest
[LibraryImport(DllName, EntryPoint = "?AbandonQuest@QuestMgr@GW@@YA_NPAUQuest@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool AbandonQuest(global::Daybreak.API.Interop.GuildWars.Quest* quest);
// GW::QuestMgr::AbandonQuestId
[LibraryImport(DllName, EntryPoint = "?AbandonQuestId@QuestMgr@GW@@YA_NW4QuestID@Constants@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool AbandonQuestId(global::Daybreak.API.Interop.GWCA.GW.Constants.QuestID questID);
// GW::QuestMgr::GetActiveQuest
[LibraryImport(DllName, EntryPoint = "?GetActiveQuest@QuestMgr@GW@@YAPAUQuest@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.Quest* GetActiveQuest();
// GW::QuestMgr::GetActiveQuestId
[LibraryImport(DllName, EntryPoint = "?GetActiveQuestId@QuestMgr@GW@@YA?AW4QuestID@Constants@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GWCA.GW.Constants.QuestID GetActiveQuestId();
// GW::QuestMgr::GetQuest
[LibraryImport(DllName, EntryPoint = "?GetQuest@QuestMgr@GW@@YAPAUQuest@2@W4QuestID@Constants@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.Quest* GetQuest(global::Daybreak.API.Interop.GWCA.GW.Constants.QuestID questID);
// GW::QuestMgr::GetQuestEntryGroupName
[LibraryImport(DllName, EntryPoint = "?GetQuestEntryGroupName@QuestMgr@GW@@YA_NW4QuestID@Constants@2@PA_WI@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool GetQuestEntryGroupName(global::Daybreak.API.Interop.GWCA.GW.Constants.QuestID questID1, ushort* ptr2, uint value3);
// GW::QuestMgr::GetQuestLog
[LibraryImport(DllName, EntryPoint = "?GetQuestLog@QuestMgr@GW@@YAPAV?$Array@UQuest@GW@@@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.GuildWarsArray* GetQuestLog();
// GW::QuestMgr::RequestQuestInfo
[LibraryImport(DllName, EntryPoint = "?RequestQuestInfo@QuestMgr@GW@@YA_NPBUQuest@2@_N@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool RequestQuestInfo(global::Daybreak.API.Interop.GuildWars.Quest* quest1, [MarshalAs(UnmanagedType.U1)] bool flag2);
// GW::QuestMgr::RequestQuestInfoId
[LibraryImport(DllName, EntryPoint = "?RequestQuestInfoId@QuestMgr@GW@@YA_NW4QuestID@Constants@2@_N@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool RequestQuestInfoId(global::Daybreak.API.Interop.GWCA.GW.Constants.QuestID questID1, [MarshalAs(UnmanagedType.U1)] bool flag2);
// GW::QuestMgr::SetActiveQuest
[LibraryImport(DllName, EntryPoint = "?SetActiveQuest@QuestMgr@GW@@YA_NPAUQuest@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SetActiveQuest(global::Daybreak.API.Interop.GuildWars.Quest* quest);
// GW::QuestMgr::SetActiveQuestId
[LibraryImport(DllName, EntryPoint = "?SetActiveQuestId@QuestMgr@GW@@YA_NW4QuestID@Constants@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SetActiveQuestId(global::Daybreak.API.Interop.GWCA.GW.Constants.QuestID questID);
}
@@ -1993,74 +2304,91 @@ public static unsafe partial class GWCA
// GW::Render::EnableHooks
[LibraryImport(DllName, EntryPoint = "?EnableHooks@Render@GW@@YAXXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void EnableHooks();
// GW::Render::GetDevice | returns TODO: map struct IDirect3DDevice9
// [LibraryImport(DllName, EntryPoint = "?GetDevice@Render@GW@@YAPAUIDirect3DDevice9@@XZ")]
+ // [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
// public static partial IDirect3DDevice9* GetDevice();
// GW::Render::GetFieldOfView
[LibraryImport(DllName, EntryPoint = "?GetFieldOfView@Render@GW@@YAMXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial float GetFieldOfView();
// GW::Render::GetFrameLimit
[LibraryImport(DllName, EntryPoint = "?GetFrameLimit@Render@GW@@YAIXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetFrameLimit();
// GW::Render::GetGraphicsRendererValue
[LibraryImport(DllName, EntryPoint = "?GetGraphicsRendererValue@Render@GW@@YAIW4Metric@12@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetGraphicsRendererValue(global::Daybreak.API.Interop.GWCA.GW.Render.Metric metric1, uint value2);
// GW::Render::GetIsFullscreen
[LibraryImport(DllName, EntryPoint = "?GetIsFullscreen@Render@GW@@YAHXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial int GetIsFullscreen();
// GW::Render::GetIsInRenderLoop
[LibraryImport(DllName, EntryPoint = "?GetIsInRenderLoop@Render@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool GetIsInRenderLoop();
// GW::Render::GetRenderCallback
[LibraryImport(DllName, EntryPoint = "?GetRenderCallback@Render@GW@@YAP6AXPAUIDirect3DDevice9@@@ZXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial nint GetRenderCallback();
// GW::Render::GetTransform
[LibraryImport(DllName, EntryPoint = "?GetTransform@Render@GW@@YAPAUMat4x3f@12@W4Transform@12@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.Mat4x3f* GetTransform(global::Daybreak.API.Interop.GWCA.GW.Render.Transform transform);
// GW::Render::GetViewportHeight
[LibraryImport(DllName, EntryPoint = "?GetViewportHeight@Render@GW@@YAIXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetViewportHeight();
// GW::Render::GetViewportWidth
[LibraryImport(DllName, EntryPoint = "?GetViewportWidth@Render@GW@@YAIXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetViewportWidth();
// GW::Render::GetWindowHandle
[LibraryImport(DllName, EntryPoint = "?GetWindowHandle@Render@GW@@YAPAUHWND__@@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GWHwnd* GetWindowHandle();
// GW::Render::SetFog
[LibraryImport(DllName, EntryPoint = "?SetFog@Render@GW@@YA_N_N@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SetFog([MarshalAs(UnmanagedType.U1)] bool flag);
// GW::Render::SetFrameLimit
[LibraryImport(DllName, EntryPoint = "?SetFrameLimit@Render@GW@@YA_NI@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SetFrameLimit(uint value);
// GW::Render::SetGraphicsRendererValue
[LibraryImport(DllName, EntryPoint = "?SetGraphicsRendererValue@Render@GW@@YA_NW4Metric@12@II@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SetGraphicsRendererValue(global::Daybreak.API.Interop.GWCA.GW.Render.Metric metric1, uint value2, uint value3);
// GW::Render::SetRenderCallback
[LibraryImport(DllName, EntryPoint = "?SetRenderCallback@Render@GW@@YAXP6AXPAUIDirect3DDevice9@@@Z@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void SetRenderCallback(nint callback);
// GW::Render::SetResetCallback
[LibraryImport(DllName, EntryPoint = "?SetResetCallback@Render@GW@@YAXP6AXPAUIDirect3DDevice9@@@Z@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void SetResetCallback(nint callback);
}
@@ -2069,59 +2397,73 @@ public static unsafe partial class GWCA
// GW::Scanner::Find
[LibraryImport(DllName, EntryPoint = "?Find@Scanner@GW@@YAIPBD0HW4ScannerSection@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint Find(byte* ptr1, nint ptr2, int value3, global::Daybreak.API.Interop.GWCA.GW.ScannerSection scannerSection4);
// GW::Scanner::FindAssertion
[LibraryImport(DllName, EntryPoint = "?FindAssertion@Scanner@GW@@YAIPBD0IH@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint FindAssertion(byte* ptr1, nint ptr2, uint value3, int value4);
// GW::Scanner::FindInRange
[LibraryImport(DllName, EntryPoint = "?FindInRange@Scanner@GW@@YAIPBD0HKK@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint FindInRange(byte* ptr1, nint ptr2, int value3, uint value4, uint value5);
// GW::Scanner::FindNthUseOfString
[LibraryImport(DllName, EntryPoint = "?FindNthUseOfString@Scanner@GW@@YAIPBDIHW4ScannerSection@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint FindNthUseOfString(byte* ptr1, uint value2, int value3, global::Daybreak.API.Interop.GWCA.GW.ScannerSection scannerSection4);
// GW::Scanner::FindNthUseOfString
[LibraryImport(DllName, EntryPoint = "?FindNthUseOfString@Scanner@GW@@YAIPB_WIHW4ScannerSection@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint FindNthUseOfString(ushort* ptr1, uint value2, int value3, global::Daybreak.API.Interop.GWCA.GW.ScannerSection scannerSection4);
// GW::Scanner::FindUseOfString
[LibraryImport(DllName, EntryPoint = "?FindUseOfString@Scanner@GW@@YAIPBDHW4ScannerSection@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint FindUseOfString(byte* ptr1, int value2, global::Daybreak.API.Interop.GWCA.GW.ScannerSection scannerSection3);
// GW::Scanner::FindUseOfString
[LibraryImport(DllName, EntryPoint = "?FindUseOfString@Scanner@GW@@YAIPB_WHW4ScannerSection@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint FindUseOfString(ushort* ptr1, int value2, global::Daybreak.API.Interop.GWCA.GW.ScannerSection scannerSection3);
// GW::Scanner::FunctionFromNearCall
[LibraryImport(DllName, EntryPoint = "?FunctionFromNearCall@Scanner@GW@@YAII_N@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint FunctionFromNearCall(uint value1, [MarshalAs(UnmanagedType.U1)] bool flag2);
// GW::Scanner::GetGameTlsIndex
[LibraryImport(DllName, EntryPoint = "?GetGameTlsIndex@Scanner@GW@@YAKXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetGameTlsIndex();
// GW::Scanner::GetSectionAddressRange
[LibraryImport(DllName, EntryPoint = "?GetSectionAddressRange@Scanner@GW@@YAXW4ScannerSection@2@PAI1@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void GetSectionAddressRange(global::Daybreak.API.Interop.GWCA.GW.ScannerSection scannerSection1, uint* ptr2, nint ptr3);
// GW::Scanner::Initialize | hINSTANCE__: TODO: map struct HINSTANCE__
// [LibraryImport(DllName, EntryPoint = "?Initialize@Scanner@GW@@YAXPAUHINSTANCE__@@@Z")]
+ // [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
// public static partial void Initialize(HINSTANCE__* hINSTANCE__);
// GW::Scanner::Initialize
[LibraryImport(DllName, EntryPoint = "?Initialize@Scanner@GW@@YAXPBD@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void Initialize(byte* ptr);
// GW::Scanner::IsValidPtr
[LibraryImport(DllName, EntryPoint = "?IsValidPtr@Scanner@GW@@YA_NIW4ScannerSection@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool IsValidPtr(uint value1, global::Daybreak.API.Interop.GWCA.GW.ScannerSection scannerSection2);
// GW::Scanner::ToFunctionStart
[LibraryImport(DllName, EntryPoint = "?ToFunctionStart@Scanner@GW@@YAIII@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint ToFunctionStart(uint value1, uint value2);
}
@@ -2140,6 +2482,7 @@ public static unsafe partial class GWCA
// GW::ScrollableFrame::Create | returns TODO: map struct GW::ScrollableFrame | scrollablePageContext4: TODO: map struct GW::ScrollableFrame::ScrollablePageContext
// [LibraryImport(DllName, EntryPoint = "?Create@ScrollableFrame@GW@@SAPAU12@IIIPAUScrollablePageContext@12@PB_W@Z")]
+ // [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
// public static partial ScrollableFrame* Create(uint value1, uint value2, uint value3, ScrollablePageContext* scrollablePageContext4, ushort* ptr5);
// GW::ScrollableFrame::GetCount
@@ -2202,98 +2545,119 @@ public static unsafe partial class GWCA
// GW::SkillbarMgr::ChangeSecondProfession
[LibraryImport(DllName, EntryPoint = "?ChangeSecondProfession@SkillbarMgr@GW@@YA_NIW4Profession@Constants@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool ChangeSecondProfession(uint value1, global::Daybreak.API.Interop.GWCA.GW.Constants.Profession profession2);
// GW::SkillbarMgr::DecodeSkillTemplate
[LibraryImport(DllName, EntryPoint = "?DecodeSkillTemplate@SkillbarMgr@GW@@YA_NAAUSkillTemplate@12@PBD@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool DecodeSkillTemplate(global::Daybreak.API.Interop.GuildWars.SkillTemplate* skillTemplate1, byte* ptr2);
// GW::SkillbarMgr::EncodeSkillTemplate
[LibraryImport(DllName, EntryPoint = "?EncodeSkillTemplate@SkillbarMgr@GW@@YA_NABUSkillTemplate@12@PADI@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool EncodeSkillTemplate(global::Daybreak.API.Interop.GuildWars.SkillTemplate* skillTemplate1, byte* ptr2, uint value3);
// GW::SkillbarMgr::GetAttributeConstantData
[LibraryImport(DllName, EntryPoint = "?GetAttributeConstantData@SkillbarMgr@GW@@YAPAUAttributeInfo@2@W4Attribute@Constants@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.AttributeInfo* GetAttributeConstantData(global::Daybreak.API.Interop.GWCA.GW.Constants.Attribute attribute);
// GW::SkillbarMgr::GetHeroSkillbar
[LibraryImport(DllName, EntryPoint = "?GetHeroSkillbar@SkillbarMgr@GW@@YAPAUSkillbar@2@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.SkillbarData* GetHeroSkillbar(uint value);
// GW::SkillbarMgr::GetHoveredSkill
[LibraryImport(DllName, EntryPoint = "?GetHoveredSkill@SkillbarMgr@GW@@YAPAUSkill@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.Skill* GetHoveredSkill();
// GW::SkillbarMgr::GetIsSkillLearnt
[LibraryImport(DllName, EntryPoint = "?GetIsSkillLearnt@SkillbarMgr@GW@@YA_NW4SkillID@Constants@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool GetIsSkillLearnt(global::Daybreak.API.Interop.GWCA.GW.Constants.SkillID skillID);
// GW::SkillbarMgr::GetIsSkillUnlocked
[LibraryImport(DllName, EntryPoint = "?GetIsSkillUnlocked@SkillbarMgr@GW@@YA_NW4SkillID@Constants@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool GetIsSkillUnlocked(global::Daybreak.API.Interop.GWCA.GW.Constants.SkillID skillID);
// GW::SkillbarMgr::GetPlayerSkillbar
[LibraryImport(DllName, EntryPoint = "?GetPlayerSkillbar@SkillbarMgr@GW@@YAPAUSkillbar@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.SkillbarData* GetPlayerSkillbar();
// GW::SkillbarMgr::GetSkillConstantData
[LibraryImport(DllName, EntryPoint = "?GetSkillConstantData@SkillbarMgr@GW@@YAPAUSkill@2@W4SkillID@Constants@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.Skill* GetSkillConstantData(global::Daybreak.API.Interop.GWCA.GW.Constants.SkillID skillID);
// GW::SkillbarMgr::GetSkillSlot
[LibraryImport(DllName, EntryPoint = "?GetSkillSlot@SkillbarMgr@GW@@YAHW4SkillID@Constants@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial int GetSkillSlot(global::Daybreak.API.Interop.GWCA.GW.Constants.SkillID skillID);
// GW::SkillbarMgr::GetSkillTemplate
[LibraryImport(DllName, EntryPoint = "?GetSkillTemplate@SkillbarMgr@GW@@YA_NAAUSkillTemplate@12@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool GetSkillTemplate(global::Daybreak.API.Interop.GuildWars.SkillTemplate* skillTemplate);
// GW::SkillbarMgr::GetSkillTemplate
[LibraryImport(DllName, EntryPoint = "?GetSkillTemplate@SkillbarMgr@GW@@YA_NIAAUSkillTemplate@12@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool GetSkillTemplate(uint value1, global::Daybreak.API.Interop.GuildWars.SkillTemplate* skillTemplate2);
// GW::SkillbarMgr::GetSkillbar
[LibraryImport(DllName, EntryPoint = "?GetSkillbar@SkillbarMgr@GW@@YAPAUSkillbar@2@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.SkillbarData* GetSkillbar(uint value);
// GW::SkillbarMgr::GetSkillbarArray
[LibraryImport(DllName, EntryPoint = "?GetSkillbarArray@SkillbarMgr@GW@@YAPAV?$Array@USkillbar@GW@@@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.GuildWarsArray* GetSkillbarArray();
// GW::SkillbarMgr::LoadSkillTemplate
[LibraryImport(DllName, EntryPoint = "?LoadSkillTemplate@SkillbarMgr@GW@@YA_NAAUSkillTemplate@12@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool LoadSkillTemplate(global::Daybreak.API.Interop.GuildWars.SkillTemplate* skillTemplate);
// GW::SkillbarMgr::LoadSkillTemplate
[LibraryImport(DllName, EntryPoint = "?LoadSkillTemplate@SkillbarMgr@GW@@YA_NIAAUSkillTemplate@12@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool LoadSkillTemplate(uint value1, global::Daybreak.API.Interop.GuildWars.SkillTemplate* skillTemplate2);
// GW::SkillbarMgr::LoadSkillTemplate
[LibraryImport(DllName, EntryPoint = "?LoadSkillTemplate@SkillbarMgr@GW@@YA_NIPBD@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool LoadSkillTemplate(uint value1, byte* ptr2);
// GW::SkillbarMgr::LoadSkillTemplate
[LibraryImport(DllName, EntryPoint = "?LoadSkillTemplate@SkillbarMgr@GW@@YA_NPBD@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool LoadSkillTemplate(byte* ptr);
// GW::SkillbarMgr::UseSkill
[LibraryImport(DllName, EntryPoint = "?UseSkill@SkillbarMgr@GW@@YA_NII@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool UseSkill(uint value1, uint value2);
// GW::SkillbarMgr::UseSkillByID
[LibraryImport(DllName, EntryPoint = "?UseSkillByID@SkillbarMgr@GW@@YA_NII@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool UseSkillByID(uint value1, uint value2);
}
@@ -2331,29 +2695,35 @@ public static unsafe partial class GWCA
// GW::StoC::EmulatePacket
[LibraryImport(DllName, EntryPoint = "?EmulatePacket@StoC@GW@@YA_NPAUPacketBase@1Packet@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool EmulatePacket(global::Daybreak.API.Interop.GuildWars.PacketBase* packetBase);
// GW::StoC::RegisterPacketCallback | function3: TODO: map struct function
// [LibraryImport(DllName, EntryPoint = "?RegisterPacketCallback@StoC@GW@@YA_NPAUHookEntry@2@IABV?$function@$$A6AXPAUHookStatus@GW@@PAUPacketBase@StoC@Packet@2@@Z@std@@H@Z")]
+ // [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
// [return: MarshalAs(UnmanagedType.U1)]
// public static partial bool RegisterPacketCallback(global::Daybreak.API.Interop.HookEntry* hookEntry1, uint value2, function* function3, global::Daybreak.API.Interop.GuildWars.PacketBase* packetBase4);
// GW::StoC::RegisterPostPacketCallback | function3: TODO: map struct function
// [LibraryImport(DllName, EntryPoint = "?RegisterPostPacketCallback@StoC@GW@@YA_NPAUHookEntry@2@IABV?$function@$$A6AXPAUHookStatus@GW@@PAUPacketBase@StoC@Packet@2@@Z@std@@@Z")]
+ // [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
// [return: MarshalAs(UnmanagedType.U1)]
// public static partial bool RegisterPostPacketCallback(global::Daybreak.API.Interop.HookEntry* hookEntry1, uint value2, function* function3, global::Daybreak.API.Interop.GuildWars.PacketBase* packetBase4);
// GW::StoC::RemoveCallback
[LibraryImport(DllName, EntryPoint = "?RemoveCallback@StoC@GW@@YAIIPAUHookEntry@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint RemoveCallback(uint value1, global::Daybreak.API.Interop.HookEntry* hookEntry2);
// GW::StoC::RemoveCallbacks
[LibraryImport(DllName, EntryPoint = "?RemoveCallbacks@StoC@GW@@YAIPAUHookEntry@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint RemoveCallbacks(global::Daybreak.API.Interop.HookEntry* hookEntry);
// GW::StoC::RemovePostCallback
[LibraryImport(DllName, EntryPoint = "?RemovePostCallback@StoC@GW@@YAXIPAUHookEntry@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void RemovePostCallback(uint value1, global::Daybreak.API.Interop.HookEntry* hookEntry2);
}
@@ -2426,6 +2796,7 @@ public static unsafe partial class GWCA
// GW::TextLabelFrame::Create | returns TODO: map struct GW::TextLabelFrame
// [LibraryImport(DllName, EntryPoint = "?Create@TextLabelFrame@GW@@SAPAU12@IIIPB_W0@Z")]
+ // [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
// public static partial TextLabelFrame* Create(uint value1, uint value2, uint value3, ushort* ptr4, nint ptr5);
// GW::TextLabelFrame::GetDecodedLabel
@@ -2454,40 +2825,48 @@ public static unsafe partial class GWCA
// GW::Trade::AcceptTrade
[LibraryImport(DllName, EntryPoint = "?AcceptTrade@Trade@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool AcceptTrade();
// GW::Trade::CancelTrade
[LibraryImport(DllName, EntryPoint = "?CancelTrade@Trade@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool CancelTrade();
// GW::Trade::ChangeOffer
[LibraryImport(DllName, EntryPoint = "?ChangeOffer@Trade@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool ChangeOffer();
// GW::Trade::IsItemOffered
[LibraryImport(DllName, EntryPoint = "?IsItemOffered@Trade@GW@@YAPAUTradeItem@2@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.TradeItem* IsItemOffered(uint value);
// GW::Trade::OfferItem
[LibraryImport(DllName, EntryPoint = "?OfferItem@Trade@GW@@YA_NII@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool OfferItem(uint value1, uint value2);
// GW::Trade::OpenTradeWindow
[LibraryImport(DllName, EntryPoint = "?OpenTradeWindow@Trade@GW@@YA_NI@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool OpenTradeWindow(uint value);
// GW::Trade::RemoveItem
[LibraryImport(DllName, EntryPoint = "?RemoveItem@Trade@GW@@YA_NI@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool RemoveItem(uint value);
// GW::Trade::SubmitOffer
[LibraryImport(DllName, EntryPoint = "?SubmitOffer@Trade@GW@@YA_NI@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SubmitOffer(uint value);
}
@@ -2497,292 +2876,356 @@ public static unsafe partial class GWCA
// GW::UI::AddFrameUIInteractionCallback
[LibraryImport(DllName, EntryPoint = "?AddFrameUIInteractionCallback@UI@GW@@YA_NPAUFrame@12@P6AXPAUInteractionMessage@12@PAX2@Z2@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool AddFrameUIInteractionCallback(global::Daybreak.API.Interop.Frame* frame1, nint callback2, nint ptr3);
// GW::UI::AsyncDecodeStr
[LibraryImport(DllName, EntryPoint = "?AsyncDecodeStr@UI@GW@@YAXPB_WP6AXPAX0@Z1W4Language@Constants@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void AsyncDecodeStr(ushort* ptr1, nint callback2, nint ptr3, global::Daybreak.API.Interop.GWCA.GW.Constants.Language language4);
// GW::UI::AsyncDecodeStr
[LibraryImport(DllName, EntryPoint = "?AsyncDecodeStr@UI@GW@@YAXPB_WPA_WI@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void AsyncDecodeStr(ushort* ptr1, ushort* ptr2, uint value3);
// GW::UI::ButtonClick
[LibraryImport(DllName, EntryPoint = "?ButtonClick@UI@GW@@YA_NPAUFrame@12@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool ButtonClick(global::Daybreak.API.Interop.Frame* frame);
// GW::UI::CreateUIComponent
[LibraryImport(DllName, EntryPoint = "?CreateUIComponent@UI@GW@@YAIIIIP6AXPAUInteractionMessage@12@PAX1@Z1PB_W@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint CreateUIComponent(uint value1, uint value2, uint value3, nint callback4, nint ptr5, ushort* ptr6);
// GW::UI::Default_UICallback
[LibraryImport(DllName, EntryPoint = "?Default_UICallback@UI@GW@@YA_NPAUInteractionMessage@12@PAX1@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool Default_UICallback(global::Daybreak.API.Interop.GuildWars.InteractionMessage* interactionMessage1, void* ptr2, nint ptr3);
// GW::UI::DestroyUIComponent
[LibraryImport(DllName, EntryPoint = "?DestroyUIComponent@UI@GW@@YA_NPAUFrame@12@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool DestroyUIComponent(global::Daybreak.API.Interop.Frame* frame);
// GW::UI::DrawOnCompass
[LibraryImport(DllName, EntryPoint = "?DrawOnCompass@UI@GW@@YA_NIIPAUCompassPoint@12@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool DrawOnCompass(uint value1, uint value2, global::Daybreak.API.Interop.GuildWars.CompassPoint* compassPoint3);
// GW::UI::EncStrToUInt32
[LibraryImport(DllName, EntryPoint = "?EncStrToUInt32@UI@GW@@YAIPB_W@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint EncStrToUInt32(ushort* ptr);
// GW::UI::GetChildFrame
[LibraryImport(DllName, EntryPoint = "?GetChildFrame@UI@GW@@YAPAUFrame@12@PAU312@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.Frame* GetChildFrame(global::Daybreak.API.Interop.Frame* frame1, uint value2);
// GW::UI::GetCommandLinePref
[LibraryImport(DllName, EntryPoint = "?GetCommandLinePref@UI@GW@@YA_NPB_WPAI@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool GetCommandLinePref(ushort* ptr1, uint* ptr2);
// GW::UI::GetCommandLinePref
[LibraryImport(DllName, EntryPoint = "?GetCommandLinePref@UI@GW@@YA_NPB_WPAPA_W@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool GetCommandLinePref(ushort* ptr1, void* ptr2);
// GW::UI::GetCurrentTooltip
[LibraryImport(DllName, EntryPoint = "?GetCurrentTooltip@UI@GW@@YAPAUTooltipInfo@12@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.TooltipInfo* GetCurrentTooltip();
// GW::UI::GetFrameById
[LibraryImport(DllName, EntryPoint = "?GetFrameById@UI@GW@@YAPAUFrame@12@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.Frame* GetFrameById(uint value);
// GW::UI::GetFrameByLabel
[LibraryImport(DllName, EntryPoint = "?GetFrameByLabel@UI@GW@@YAPAUFrame@12@PB_W@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.Frame* GetFrameByLabel(ushort* ptr);
// GW::UI::GetFrameContext
[LibraryImport(DllName, EntryPoint = "?GetFrameContext@UI@GW@@YAPAXPAUFrame@12@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void* GetFrameContext(global::Daybreak.API.Interop.Frame* frame);
// GW::UI::GetIsShiftScreenShot
[LibraryImport(DllName, EntryPoint = "?GetIsShiftScreenShot@UI@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool GetIsShiftScreenShot();
// GW::UI::GetIsUIDrawn
[LibraryImport(DllName, EntryPoint = "?GetIsUIDrawn@UI@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool GetIsUIDrawn();
// GW::UI::GetIsWorldMapShowing
[LibraryImport(DllName, EntryPoint = "?GetIsWorldMapShowing@UI@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool GetIsWorldMapShowing();
// GW::UI::GetParentFrame
[LibraryImport(DllName, EntryPoint = "?GetParentFrame@UI@GW@@YAPAUFrame@12@PAU312@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.Frame* GetParentFrame(global::Daybreak.API.Interop.Frame* frame);
// GW::UI::GetPreference
[LibraryImport(DllName, EntryPoint = "?GetPreference@UI@GW@@YAIW4EnumPreference@12@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetPreference(global::Daybreak.API.Interop.GWCA.GW.UI.EnumPreference enumPreference);
// GW::UI::GetPreference
[LibraryImport(DllName, EntryPoint = "?GetPreference@UI@GW@@YAIW4NumberPreference@12@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetPreference(global::Daybreak.API.Interop.GWCA.GW.UI.NumberPreference numberPreference);
// GW::UI::GetPreference
[LibraryImport(DllName, EntryPoint = "?GetPreference@UI@GW@@YAPA_WW4StringPreference@12@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial ushort* GetPreference(global::Daybreak.API.Interop.GWCA.GW.UI.StringPreference stringPreference);
// GW::UI::GetPreference
[LibraryImport(DllName, EntryPoint = "?GetPreference@UI@GW@@YA_NW4FlagPreference@12@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool GetPreference(global::Daybreak.API.Interop.GWCA.GW.UI.FlagPreference flagPreference);
// GW::UI::GetPreferenceOptions
[LibraryImport(DllName, EntryPoint = "?GetPreferenceOptions@UI@GW@@YAIW4EnumPreference@12@PAPAI@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint GetPreferenceOptions(global::Daybreak.API.Interop.GWCA.GW.UI.EnumPreference enumPreference1, void* ptr2);
// GW::UI::GetRootFrame
[LibraryImport(DllName, EntryPoint = "?GetRootFrame@UI@GW@@YAPAUFrame@12@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.Frame* GetRootFrame();
// GW::UI::GetSettings
[LibraryImport(DllName, EntryPoint = "?GetSettings@UI@GW@@YAPAV?$Array@E@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.GuildWarsArray* GetSettings();
// GW::UI::GetTextLanguage
[LibraryImport(DllName, EntryPoint = "?GetTextLanguage@UI@GW@@YA?AW4Language@Constants@2@XZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GWCA.GW.Constants.Language GetTextLanguage();
// GW::UI::GetWindowPosition
[LibraryImport(DllName, EntryPoint = "?GetWindowPosition@UI@GW@@YAPAUWindowPosition@12@W4WindowID@12@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial global::Daybreak.API.Interop.GuildWars.WindowPositionData* GetWindowPosition(global::Daybreak.API.Interop.GWCA.GW.UI.WindowID windowID);
// GW::UI::IsInControllerCursorMode
[LibraryImport(DllName, EntryPoint = "?IsInControllerCursorMode@UI@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool IsInControllerCursorMode();
// GW::UI::IsInControllerMode
[LibraryImport(DllName, EntryPoint = "?IsInControllerMode@UI@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool IsInControllerMode();
// GW::UI::IsInMobileMode
[LibraryImport(DllName, EntryPoint = "?IsInMobileMode@UI@GW@@YA_NXZ")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool IsInMobileMode();
// GW::UI::IsValidEncStr
[LibraryImport(DllName, EntryPoint = "?IsValidEncStr@UI@GW@@YA_NPB_W@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool IsValidEncStr(ushort* ptr);
// GW::UI::Keydown
[LibraryImport(DllName, EntryPoint = "?Keydown@UI@GW@@YA_NW4ControlAction@12@PAUFrame@12@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool Keydown(global::Daybreak.API.Interop.GWCA.GW.UI.ControlAction controlAction1, global::Daybreak.API.Interop.Frame* frame2);
// GW::UI::Keypress
[LibraryImport(DllName, EntryPoint = "?Keypress@UI@GW@@YA_NW4ControlAction@12@PAUFrame@12@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool Keypress(global::Daybreak.API.Interop.GWCA.GW.UI.ControlAction controlAction1, global::Daybreak.API.Interop.Frame* frame2);
// GW::UI::Keyup
[LibraryImport(DllName, EntryPoint = "?Keyup@UI@GW@@YA_NW4ControlAction@12@PAUFrame@12@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool Keyup(global::Daybreak.API.Interop.GWCA.GW.UI.ControlAction controlAction1, global::Daybreak.API.Interop.Frame* frame2);
// GW::UI::RegisterCreateUIComponentCallback | function2: TODO: map struct function
// [LibraryImport(DllName, EntryPoint = "?RegisterCreateUIComponentCallback@UI@GW@@YAXPAUHookEntry@2@ABV?$function@$$A6AXPAUCreateUIComponentPacket@UI@GW@@@Z@std@@H@Z")]
+ // [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
// public static partial void RegisterCreateUIComponentCallback(global::Daybreak.API.Interop.HookEntry* hookEntry1, function* function2);
// GW::UI::RegisterFrameUIMessageCallback | function3: TODO: map struct function
// [LibraryImport(DllName, EntryPoint = "?RegisterFrameUIMessageCallback@UI@GW@@YAXPAUHookEntry@2@W4UIMessage@12@ABV?$function@$$A6AXPAUHookStatus@GW@@PBUFrame@UI@2@W4UIMessage@42@PAX3@Z@std@@H@Z")]
+ // [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
// public static partial void RegisterFrameUIMessageCallback(global::Daybreak.API.Interop.HookEntry* hookEntry1, global::Daybreak.API.Interop.GWCA.GW.UI.UIMessage uIMessage2, function* function3, global::Daybreak.API.Interop.Frame* frame4, global::Daybreak.API.Interop.GWCA.GW.UI.UIMessage uIMessage5, void* ptr6, nint ptr7);
// GW::UI::RegisterKeydownCallback | function2: TODO: map struct function
// [LibraryImport(DllName, EntryPoint = "?RegisterKeydownCallback@UI@GW@@YAXPAUHookEntry@2@ABV?$function@$$A6AXPAUHookStatus@GW@@I@Z@std@@@Z")]
+ // [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
// public static partial void RegisterKeydownCallback(global::Daybreak.API.Interop.HookEntry* hookEntry1, function* function2, uint value3);
// GW::UI::RegisterKeyupCallback | function2: TODO: map struct function
// [LibraryImport(DllName, EntryPoint = "?RegisterKeyupCallback@UI@GW@@YAXPAUHookEntry@2@ABV?$function@$$A6AXPAUHookStatus@GW@@I@Z@std@@@Z")]
+ // [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
// public static partial void RegisterKeyupCallback(global::Daybreak.API.Interop.HookEntry* hookEntry1, function* function2, uint value3);
// GW::UI::RegisterUIMessageCallback | function3: TODO: map struct function
// [LibraryImport(DllName, EntryPoint = "?RegisterUIMessageCallback@UI@GW@@YAXPAUHookEntry@2@W4UIMessage@12@ABV?$function@$$A6AXPAUHookStatus@GW@@W4UIMessage@UI@2@PAX2@Z@std@@H@Z")]
+ // [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
// public static partial void RegisterUIMessageCallback(global::Daybreak.API.Interop.HookEntry* hookEntry1, global::Daybreak.API.Interop.GWCA.GW.UI.UIMessage uIMessage2, function* function3, global::Daybreak.API.Interop.GWCA.GW.UI.UIMessage uIMessage4, void* ptr5, nint ptr6);
// GW::UI::RemoveCreateUIComponentCallback
[LibraryImport(DllName, EntryPoint = "?RemoveCreateUIComponentCallback@UI@GW@@YAXPAUHookEntry@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void RemoveCreateUIComponentCallback(global::Daybreak.API.Interop.HookEntry* hookEntry);
// GW::UI::RemoveFrameUIMessageCallback
[LibraryImport(DllName, EntryPoint = "?RemoveFrameUIMessageCallback@UI@GW@@YAXPAUHookEntry@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void RemoveFrameUIMessageCallback(global::Daybreak.API.Interop.HookEntry* hookEntry);
// GW::UI::RemoveKeydownCallback
[LibraryImport(DllName, EntryPoint = "?RemoveKeydownCallback@UI@GW@@YAXPAUHookEntry@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void RemoveKeydownCallback(global::Daybreak.API.Interop.HookEntry* hookEntry);
// GW::UI::RemoveKeyupCallback
[LibraryImport(DllName, EntryPoint = "?RemoveKeyupCallback@UI@GW@@YAXPAUHookEntry@2@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void RemoveKeyupCallback(global::Daybreak.API.Interop.HookEntry* hookEntry);
// GW::UI::RemoveUIMessageCallback
[LibraryImport(DllName, EntryPoint = "?RemoveUIMessageCallback@UI@GW@@YAXPAUHookEntry@2@W4UIMessage@12@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void RemoveUIMessageCallback(global::Daybreak.API.Interop.HookEntry* hookEntry1, global::Daybreak.API.Interop.GWCA.GW.UI.UIMessage uIMessage2);
// GW::UI::SelectDropdownOption
[LibraryImport(DllName, EntryPoint = "?SelectDropdownOption@UI@GW@@YA_NPAUFrame@12@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SelectDropdownOption(global::Daybreak.API.Interop.Frame* frame1, uint value2);
// GW::UI::SendFrameUIMessage
[LibraryImport(DllName, EntryPoint = "?SendFrameUIMessage@UI@GW@@YA_NPAUFrame@12@W4UIMessage@12@PAX2@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SendFrameUIMessage(global::Daybreak.API.Interop.Frame* frame1, global::Daybreak.API.Interop.GWCA.GW.UI.UIMessage uIMessage2, void* ptr3, nint ptr4);
// GW::UI::SendUIMessage
[LibraryImport(DllName, EntryPoint = "?SendUIMessage@UI@GW@@YA_NW4UIMessage@12@PAX1@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SendUIMessage(global::Daybreak.API.Interop.GWCA.GW.UI.UIMessage uIMessage1, void* ptr2, nint ptr3);
// GW::UI::SetCommandLinePref
[LibraryImport(DllName, EntryPoint = "?SetCommandLinePref@UI@GW@@YA_NPB_WI@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SetCommandLinePref(ushort* ptr1, uint value2);
// GW::UI::SetCommandLinePref
[LibraryImport(DllName, EntryPoint = "?SetCommandLinePref@UI@GW@@YA_NPB_WPA_W@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SetCommandLinePref(ushort* ptr1, ushort* ptr2);
// GW::UI::SetFrameDisabled
[LibraryImport(DllName, EntryPoint = "?SetFrameDisabled@UI@GW@@YA_NPAUFrame@12@_N@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SetFrameDisabled(global::Daybreak.API.Interop.Frame* frame1, [MarshalAs(UnmanagedType.U1)] bool flag2);
// GW::UI::SetFrameMargins
[LibraryImport(DllName, EntryPoint = "?SetFrameMargins@UI@GW@@YA_NPAUFrame@12@IQAM1I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SetFrameMargins(global::Daybreak.API.Interop.Frame* frame1, uint value2, float* ptr3, nint ptr4, uint value5);
// GW::UI::SetFrameTitle
[LibraryImport(DllName, EntryPoint = "?SetFrameTitle@UI@GW@@YA_NPAUFrame@12@PB_W@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SetFrameTitle(global::Daybreak.API.Interop.Frame* frame1, ushort* ptr2);
// GW::UI::SetFrameVisible
[LibraryImport(DllName, EntryPoint = "?SetFrameVisible@UI@GW@@YA_NPAUFrame@12@_N@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SetFrameVisible(global::Daybreak.API.Interop.Frame* frame1, [MarshalAs(UnmanagedType.U1)] bool flag2);
// GW::UI::SetOpenLinks
[LibraryImport(DllName, EntryPoint = "?SetOpenLinks@UI@GW@@YAX_N@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void SetOpenLinks([MarshalAs(UnmanagedType.U1)] bool flag);
// GW::UI::SetPreference
[LibraryImport(DllName, EntryPoint = "?SetPreference@UI@GW@@YA_NW4EnumPreference@12@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SetPreference(global::Daybreak.API.Interop.GWCA.GW.UI.EnumPreference enumPreference1, uint value2);
// GW::UI::SetPreference
[LibraryImport(DllName, EntryPoint = "?SetPreference@UI@GW@@YA_NW4FlagPreference@12@_N@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SetPreference(global::Daybreak.API.Interop.GWCA.GW.UI.FlagPreference flagPreference1, [MarshalAs(UnmanagedType.U1)] bool flag2);
// GW::UI::SetPreference
[LibraryImport(DllName, EntryPoint = "?SetPreference@UI@GW@@YA_NW4NumberPreference@12@I@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SetPreference(global::Daybreak.API.Interop.GWCA.GW.UI.NumberPreference numberPreference1, uint value2);
// GW::UI::SetPreference
[LibraryImport(DllName, EntryPoint = "?SetPreference@UI@GW@@YA_NW4StringPreference@12@PA_W@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SetPreference(global::Daybreak.API.Interop.GWCA.GW.UI.StringPreference stringPreference1, ushort* ptr2);
// GW::UI::SetWindowPosition
[LibraryImport(DllName, EntryPoint = "?SetWindowPosition@UI@GW@@YA_NW4WindowID@12@PAUWindowPosition@12@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SetWindowPosition(global::Daybreak.API.Interop.GWCA.GW.UI.WindowID windowID1, global::Daybreak.API.Interop.GuildWars.WindowPositionData* windowPositionData2);
// GW::UI::SetWindowVisible
[LibraryImport(DllName, EntryPoint = "?SetWindowVisible@UI@GW@@YA_NW4WindowID@12@_N@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool SetWindowVisible(global::Daybreak.API.Interop.GWCA.GW.UI.WindowID windowID1, [MarshalAs(UnmanagedType.U1)] bool flag2);
// GW::UI::TriggerFrameRedraw
[LibraryImport(DllName, EntryPoint = "?TriggerFrameRedraw@UI@GW@@YA_NPAUFrame@12@@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool TriggerFrameRedraw(global::Daybreak.API.Interop.Frame* frame);
// GW::UI::UInt32ToEncStr
[LibraryImport(DllName, EntryPoint = "?UInt32ToEncStr@UI@GW@@YA_NIPA_WI@Z")]
+ [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool UInt32ToEncStr(uint value1, ushort* ptr2, uint value3);
diff --git a/Daybreak.Generators/GenerateGWCABindings.cs b/Daybreak.Generators/GenerateGWCABindings.cs
index 34a28e07..a55377a7 100644
--- a/Daybreak.Generators/GenerateGWCABindings.cs
+++ b/Daybreak.Generators/GenerateGWCABindings.cs
@@ -308,6 +308,45 @@ public sealed class GenerateGWCABindings : IIncrementalGenerator
var outputPath = Path.Combine(repoRoot!, "Daybreak.API", "Interop", "GWCA.cs");
#pragma warning disable RS1035 // File IO required to emit source that LibraryImport generator can process
File.WriteAllText(outputPath, sb.ToString());
+
+ // Emit linker /ALTERNATENAME directives for the NativeAOT (DirectPInvoke,
+ // win-x86) static-link path. NativeAOT decorates cdecl P/Invoke targets
+ // with a leading underscore ('_?Foo@GW@@...'), but MSVC emits C++ symbols
+ // without it ('?Foo@GW@@...'). DirectPInvoke does no fuzzy matching, so we
+ // bridge each referenced symbol to its real name. Harmless on the DLL path
+ // (the file is only consumed by the native linker via Daybreak.API.csproj).
+ EmitAlternateNamesFile(sb.ToString(),
+ Path.Combine(repoRoot!, "Daybreak.API", "Interop", "GWCA.alternatenames.rsp"));
+#pragma warning restore RS1035
+ }
+
+ ///
+ /// Scans the generated bindings for active (non-commented) LibraryImport
+ /// entry points and writes one "/ALTERNATENAME:_<entry>=<entry>"
+ /// directive per unique symbol, bridging NativeAOT's x86 cdecl underscore
+ /// decoration to GWCA's undecorated MSVC C++ export names.
+ ///
+ private static void EmitAlternateNamesFile(string generatedSource, string outputPath)
+ {
+ const string marker = "[LibraryImport(DllName, EntryPoint = \"";
+ var seen = new HashSet(StringComparer.Ordinal);
+ var alt = new StringBuilder();
+ foreach (var rawLine in generatedSource.Split('\n'))
+ {
+ var line = rawLine.Trim();
+ // Skip commented-out bindings ("// [LibraryImport...]").
+ if (!line.StartsWith(marker, StringComparison.Ordinal))
+ continue;
+ var start = marker.Length;
+ var end = line.IndexOf('"', start);
+ if (end <= start)
+ continue;
+ var entry = line.Substring(start, end - start);
+ if (seen.Add(entry))
+ alt.Append("/ALTERNATENAME:_").Append(entry).Append('=').Append(entry).Append('\n');
+ }
+#pragma warning disable RS1035 // File IO required to emit linker directives the native linker consumes
+ File.WriteAllText(outputPath, alt.ToString());
#pragma warning restore RS1035
}
@@ -468,10 +507,16 @@ public sealed class GenerateGWCABindings : IIncrementalGenerator
// Use C export name when available for std::function params
var entryPoint = useCExport ? info.FunctionName : entry.MangledName;
- // Build LibraryImport attribute and calling convention
+ // Build LibraryImport attribute and calling convention. GWCA's free
+ // functions are __cdecl (the 'YA' in the mangled name) and members are
+ // __thiscall ('QAE'/'AAE'). The convention must be explicit: it is both
+ // an ABI requirement (x86 stack cleanup differs) and, for DirectPInvoke
+ // static linking, it drives the symbol decoration the linker resolves.
+ // Without it the default Winapi/__stdcall mangles every free function as
+ // '_@', which matches neither the cdecl ABI nor the lib.
var conventionAttr = info.IsMember
? $"[UnmanagedCallConv(CallConvs = [typeof(CallConvThiscall)])]"
- : "";
+ : $"[UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]";
// Bool return type needs explicit marshalling
var retAttr = csRet == "bool" ? "[return: MarshalAs(UnmanagedType.U1)]" : "";
diff --git a/Dependencies/GWCA/d3d9.lib b/Dependencies/GWCA/d3d9.lib
new file mode 100644
index 00000000..f6eddc60
Binary files /dev/null and b/Dependencies/GWCA/d3d9.lib differ
diff --git a/Dependencies/GWCA/d3dx9.lib b/Dependencies/GWCA/d3dx9.lib
new file mode 100644
index 00000000..11853bf0
Binary files /dev/null and b/Dependencies/GWCA/d3dx9.lib differ
diff --git a/Dependencies/GWCA/gwca.exp b/Dependencies/GWCA/gwca.exp
deleted file mode 100644
index 2f598d5c..00000000
Binary files a/Dependencies/GWCA/gwca.exp and /dev/null differ
diff --git a/Dependencies/GWCA/gwca.lib b/Dependencies/GWCA/gwca.lib
deleted file mode 100644
index 2addb098..00000000
Binary files a/Dependencies/GWCA/gwca.lib and /dev/null differ
diff --git a/Dependencies/GWCA/gwca_static.lib b/Dependencies/GWCA/gwca_static.lib
new file mode 100644
index 00000000..f134aac6
Binary files /dev/null and b/Dependencies/GWCA/gwca_static.lib differ
diff --git a/Dependencies/GWCA/minhook.lib b/Dependencies/GWCA/minhook.lib
new file mode 100644
index 00000000..98420de3
Binary files /dev/null and b/Dependencies/GWCA/minhook.lib differ