mirror of
https://github.com/Mr-X-GTA/GTAV-Classes-1.git
synced 2026-10-10 11:53:17 +08:00
Added scrValue (#116)
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
#include <cstdint>
|
||||
using LPCSTR = const char*; //For Linux support, but I didn't want to make the class inaccurate
|
||||
|
||||
namespace rage
|
||||
{
|
||||
union scrValue
|
||||
{
|
||||
int Int;
|
||||
unsigned int Uns;
|
||||
float Float;
|
||||
LPCSTR String;
|
||||
scrValue* Reference;
|
||||
uint64_t Any;
|
||||
bool operator==(const scrValue& val) {
|
||||
return Int == val.Int;
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user