ArcdpsExtension
 
Loading...
Searching...
No Matches
arcdps_structs.h File Reference
#include "arcdps_structs_slim.h"
#include <string>
#include <Windows.h>
Include dependency graph for arcdps_structs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  arcdps_exports
 

Typedefs

typedef UINT(* WindowCallbackSignature) (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
 
typedef void(* CombatCallbackSignature) (cbtevent *ev, ag *src, ag *dst, const char *skillname, uint64_t id, uint64_t revision)
 
typedef void(* ImguiCallbackSignature) (uint32_t not_charsel_or_loading, uint32_t hide_if_combat_or_ooc)
 
typedef void(* OptionsEndCallbackSignature) ()
 
typedef void(* OptionsWindowsCallbackSignature) (const char *windowname)
 
typedef struct arcdps_exports arcdps_exports
 
typedef void *(* MallocSignature) (size_t)
 
typedef void(* FreeSignature) (void *)
 
typedef arcdps_exports *(* ModInitSignature) ()
 
typedef uintptr_t(* ModReleaseSignature) ()
 
typedef ModInitSignature(* GetInitAddrSignature) (const char *arcversion, ImGuiContext *imguictx, void *dxptr, HMODULE arcdll, MallocSignature mallocfn, FreeSignature freefn, UINT dxver)
 
typedef ModReleaseSignature(* GetReleaseAddrSignature) ()
 
typedef uint64_t(* arc_export_func_u64) ()
 
typedef void(* e3_func_ptr) (const char *str)
 

Enumerations

enum class  Alignment { Left , Center , Right , Unaligned }
 
enum class  Position { Manual , ScreenRelative , WindowRelative }
 
enum class  CornerPosition { TopLeft , TopRight , BottomLeft , BottomRight }
 
enum class  SizingPolicy { SizeToContent , SizeContentToWindow , ManualWindowSize }
 

Functions

bool is_player (const ag *new_player)
 
std::string to_string (Alignment alignment)
 
std::string to_string (Position position)
 
std::string to_string (CornerPosition position)
 
std::string to_string (SizingPolicy sizingPolicy)
 

Variables

arc_export_func_u64 ARC_EXPORT_E6
 
arc_export_func_u64 ARC_EXPORT_E7
 
e3_func_ptr ARC_LOG_FILE
 
e3_func_ptr ARC_LOG
 

Typedef Documentation

◆ arc_export_func_u64

typedef uint64_t(* arc_export_func_u64) ()

◆ arcdps_exports

◆ CombatCallbackSignature

typedef void(* CombatCallbackSignature) (cbtevent *ev, ag *src, ag *dst, const char *skillname, uint64_t id, uint64_t revision)

◆ e3_func_ptr

typedef void(* e3_func_ptr) (const char *str)

◆ FreeSignature

typedef void(* FreeSignature) (void *)

◆ GetInitAddrSignature

typedef ModInitSignature(* GetInitAddrSignature) (const char *arcversion, ImGuiContext *imguictx, void *dxptr, HMODULE arcdll, MallocSignature mallocfn, FreeSignature freefn, UINT dxver)

dxver: The used directx version (11) dxptr: The pointer to the directx context. For dx11 IDXGISwapChain.

To get the Device from the Swapchain:

++
ID3D11Device* pDevice;
g_pSwapChain->GetDevice( __uuidof(pDevice), (void**)&pDevice);

◆ GetReleaseAddrSignature

typedef ModReleaseSignature(* GetReleaseAddrSignature) ()

◆ ImguiCallbackSignature

typedef void(* ImguiCallbackSignature) (uint32_t not_charsel_or_loading, uint32_t hide_if_combat_or_ooc)

◆ MallocSignature

typedef void *(* MallocSignature) (size_t)

◆ ModInitSignature

typedef arcdps_exports *(* ModInitSignature) ()

◆ ModReleaseSignature

typedef uintptr_t(* ModReleaseSignature) ()

◆ OptionsEndCallbackSignature

typedef void(* OptionsEndCallbackSignature) ()

◆ OptionsWindowsCallbackSignature

typedef void(* OptionsWindowsCallbackSignature) (const char *windowname)

◆ WindowCallbackSignature

typedef UINT(* WindowCallbackSignature) (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)

Enumeration Type Documentation

◆ Alignment

enum class Alignment
strong
Enumerator
Left 
Center 
Right 
Unaligned 

◆ CornerPosition

enum class CornerPosition
strong
Enumerator
TopLeft 
TopRight 
BottomLeft 
BottomRight 

◆ Position

enum class Position
strong
Enumerator
Manual 
ScreenRelative 
WindowRelative 

◆ SizingPolicy

enum class SizingPolicy
strong
Enumerator
SizeToContent 
SizeContentToWindow 
ManualWindowSize 

Function Documentation

◆ is_player()

bool is_player ( const ag new_player)

◆ to_string() [1/4]

std::string to_string ( Alignment  alignment)

◆ to_string() [2/4]

std::string to_string ( CornerPosition  position)

◆ to_string() [3/4]

std::string to_string ( Position  position)

◆ to_string() [4/4]

std::string to_string ( SizingPolicy  sizingPolicy)

Variable Documentation

◆ ARC_EXPORT_E6

arc_export_func_u64 ARC_EXPORT_E6
extern

◆ ARC_EXPORT_E7

arc_export_func_u64 ARC_EXPORT_E7
extern

◆ ARC_LOG

e3_func_ptr ARC_LOG
extern

◆ ARC_LOG_FILE

e3_func_ptr ARC_LOG_FILE
extern