mirror of
https://github.com/Mr-X-GTA/GTAV-Classes-1.git
synced 2024-12-22 14:37:31 +08:00
Added Blip classes. (#125)
This commit is contained in:
parent
5150441a5c
commit
3bbb299f23
@ -189,5 +189,6 @@
|
|||||||
#include "weapon/CItemInfo.hpp"
|
#include "weapon/CItemInfo.hpp"
|
||||||
#include "weapon/CWeaponBoneId.hpp"
|
#include "weapon/CWeaponBoneId.hpp"
|
||||||
#include "weapon/CWeaponInfo.hpp"
|
#include "weapon/CWeaponInfo.hpp"
|
||||||
|
#include "ui/CBlipList.hpp"
|
||||||
|
|
||||||
// add your classes here
|
// add your classes here
|
10
ui/CBlipEntry.hpp
Normal file
10
ui/CBlipEntry.hpp
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "blip_t.hpp"
|
||||||
|
|
||||||
|
class CBlipEntry
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
rage::Blip_t* m_pBlip; //0x0000
|
||||||
|
|
||||||
|
};//Size=0x0008
|
10
ui/CBlipList.hpp
Normal file
10
ui/CBlipList.hpp
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "CBlipEntry.hpp"
|
||||||
|
|
||||||
|
class CBlipList
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
CBlipEntry m_Blips[1500]; //0x0000
|
||||||
|
|
||||||
|
};//Size=0x2F18
|
41
ui/blip_t.hpp
Normal file
41
ui/blip_t.hpp
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
namespace rage
|
||||||
|
{
|
||||||
|
class Blip_t
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
int32_t m_id; //0x0000
|
||||||
|
uint16_t m_blip_array_index; //0x0004
|
||||||
|
char pad_0006[4]; //0x0006
|
||||||
|
bool m_active; //0x000A
|
||||||
|
uint8_t N00000197; //0x000B
|
||||||
|
int32_t m_entity_id; //0x000C
|
||||||
|
float m_x; //0x0010
|
||||||
|
float m_y; //0x0014
|
||||||
|
float m_z; //0x0018
|
||||||
|
char pad_001C[4]; //0x001C
|
||||||
|
uint32_t m_display_bits; //0x0020
|
||||||
|
uint32_t m_render_bits; //0x0024
|
||||||
|
char* m_message; //0x0028
|
||||||
|
char pad_0030[8]; //0x0030
|
||||||
|
Hash m_description; //0x0038
|
||||||
|
char pad_003C[4]; //0x003C
|
||||||
|
int32_t m_icon; //0x0040
|
||||||
|
int16_t m_flash_interval; //0x0044
|
||||||
|
int16_t m_flash_timer; //0x0046
|
||||||
|
uint32_t m_color; //0x0048
|
||||||
|
uint32_t m_secondary_color; //0x004C
|
||||||
|
float m_scale_x; //0x0050
|
||||||
|
float m_scale_y; //0x0054
|
||||||
|
float m_rotation; //0x0058
|
||||||
|
uint8_t m_mission_bits; //0x005C
|
||||||
|
uint8_t m_priority; //0x005D
|
||||||
|
uint8_t m_display_id; //0x005E
|
||||||
|
uint8_t m_alpha; //0x005F
|
||||||
|
int8_t m_category; //0x0060
|
||||||
|
int8_t m_show_number; //0x0061
|
||||||
|
char pad_0062[14]; //0x0062
|
||||||
|
}; //Size: 0x0070
|
||||||
|
static_assert(sizeof(Blip_t) == 0x70, "Blip_t is not sized properly.");
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user