@nativewrappers/common
Version:
Native wrappers and utilities for use with Cfx scripting runtimes.
19 lines (18 loc) • 534 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_CLIENT = !GlobalData.IS_SERVER;
static NetworkTick = null;
static NetworkedTicks = [];
static EnablePrettyPrint = true;
}
export {
GlobalData
};