@nativewrappers/fivem
Version:
Native wrappers and utilities for use with FiveM.
21 lines (20 loc) • 626 B
JavaScript
var __defProp = Object.defineProperty;
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
class GlobalData {
static {
__name(this, "GlobalData");
}
static CurrentResource = GetCurrentResourceName();
static GameName = GetGameName();
static GameBuild = GetGameBuildNumber();
static IS_SERVER = IsDuplicityVersion();
static IS_REDM = GetGameName() === "redm";
static IS_FIVEM = GetGameName() === "fivem";
static IS_CLIENT = !GlobalData.IS_SERVER;
static NetworkTick = null;
static NetworkedTicks = [];
static EnablePrettyPrint = true;
}
export {
GlobalData
};