#pragma once

#include "Game/T4/T4.h"

#include <type_traits>

namespace T4
{
    inline constexpr const char* g_expFunctionNames[]{
        "NOOP",
        ")",
        "*",
        "/",
        "%",
        "+",
        "-",
        "!",
        "<",
        "<=",
        ">",
        ">=",
        "==",
        "!=",
        "&&",
        "||",
        "(",
        ",",
        "&",
        "|",
        "~",
        "<<",
        ">>",
        "sin",
        "cos",
        "min",
        "max",
        "milliseconds",
        "dvarint",
        "dvarbool",
        "dvarfloat",
        "dvarstring",
        "stat",
        "ui_active",
        "flashbanged",
        "scoped",
        "scoreboard_visible",
        "inkillcam",
        "player",
        "selecting_location",
        "team",
        "otherteam",
        "marinesfield",
        "opforfield",
        "menuisopen",
        "writingdata",
        "inlobby",
        "inprivateparty",
        "privatepartyhost",
        "privatepartyhostinlobby",
        "aloneinparty",
        "adsjavelin",
        "weaplockblink",
        "weapattacktop",
        "weapattackdirect",
        "secondsastime",
        "tablelookup",
        "locstring",
        "localvarint",
        "localvarbool",
        "localvarfloat",
        "localvarstring",
        "timeleft",
        "secondsascountdown",
        "gamemsgwndactive",
        "int",
        "string",
        "float",
        "gametypename",
        "gametype",
        "gametypedescription",
        "scoreatrank",
        "friendsonline",
        "spectatingclient",
        "statrangeanybitsset",
        "keybinding",
        "actionslotusable",
        "hudfade",
        "maxrecommendedplayers",
        "acceptinginvite",
        "gamehost",
        "issplitscreen",
        "issplitscreenhost",
        "splitscreennum",
        "iscinematicfinished",
        "issquadleader",
        "getsquadid",
        "isartillery",
        "getplayersquadid",
        "hasfriends",
        "haspendingfriends",
        "hasinvites",
        "squadinvitesent",
        "isintermission",
        "partyismissingmappack",
        "partymissingmappackerror",
        "anynewmappacks",
    };

    static_assert(std::extent_v<decltype(g_expFunctionNames)> == static_cast<unsigned>(NUM_OPERATORS));
} // namespace T4
