26 lines
1.6 KiB
C++
26 lines
1.6 KiB
C++
|
|||
#pragma once
|
|||
|
|||
#include "Structures.hpp"
|
|||
#include "Defines.hpp"
|
|||
|
|||
#include <Windows.h>
|
|||
|
|||
namespace PatchFix
|
|||
{
|
|||
namespace BuiltIn
|
|||
{
|
|||
Bool(__stdcall* TA_VirtualProtect)(VoidPtr, Dword, Dword, DwordPtr) = (Bool(__stdcall*)(VoidPtr, Dword, Dword, DwordPtr))0x004FB086;
|
|||
HANDLE(__stdcall* TA_CreateFileA)(LPCSTR, DWORD, DWORD, LPSECURITY_ATTRIBUTES, DWORD, DWORD, HANDLE) = (HANDLE(__stdcall*)(LPCSTR, DWORD, DWORD, LPSECURITY_ATTRIBUTES, DWORD, DWORD, HANDLE))0x0049F72E;
|
|||
HANDLE(__stdcall* TA_GetCurrentProcess)() = (HANDLE(__stdcall*)())0x004FB0C8;
|
|||
Dword(__stdcall* NetPacket_Decompress)(VoidPtr, VoidPtr) = (Dword(__stdcall*)(VoidPtr, VoidPtr))0x004D1480;
|
|||
Dword(__stdcall* NetPacket_Compress)(VoidPtr, VoidPtr) = (Dword(__stdcall*)(VoidPtr, VoidPtr))0x004D0F60;
|
|||
void(__stdcall* NetPacket_ClearCompressFlag)() = (void(__stdcall*)())0x004D1800;
|
|||
void(__stdcall* NetPacket_SetCompressFlag)() = (void(__stdcall*)())0x004D1810;
|
|||
|
|||
void(__stdcall* TA_ShowChatText)(VoidPtr PlayerPtr, const char* Text, Dword Access, Dword ToPlayer) = (void(__stdcall*)(VoidPtr PlayerPtr, const char* Text, Dword Access, Dword ToPlayer))0x00463E50;
|
|||
void(__stdcall* TA_NewUnitOrder_DEBUG)(Dword OrderID_Byte, Dword AppendOrder_Bit, VoidPtr UnitToOrderPtr, VoidPtr TargetUnit, PositionXYZ* MapPosition, Dword UnitIDToBuild, Dword UnitOrderPtr) = (void(__stdcall*)(Dword OrderID_Byte, Dword AppendOrder_Bit, VoidPtr UnitToOrderPtr, VoidPtr TargetUnit, PositionXYZ* MapPosition, Dword UnitIDToBuild, Dword UnitOrderPtr))0x0043AFC0;
|
|||
Dword(__stdcall* TA_GetHeightAtMapPosition)(PositionXYZ* MapPosition) = (Dword(__stdcall*)(PositionXYZ* MapPosition))0x00485070;
|
|||
}
|
|||
}
|