BF2.US bf2-rsdeveloper wiki Parity Discord bf2.us
generated from the code

game

BF22142Heroes

18 commands. A game cell holds the argument types (and the return type after ->) that game registers; empty: the game does not have the command. Back to the console reference.

Scope badges
serveronly the server reads it: a mod on the server alone takes effect, players need nothingclientonly the game client reads it (drawing, sound, HUD): every player who should see it needs the modsharedthe server and every client read it: both need the same files, or the clients' view jumpsyesthe game has it; nobody has classified its scope yet
BF22142HeroesA game column holds that game's badge and the argument types its program registers; an empty cell means the game does not know the name. The Notes column gives the reason (how the scopes are worked out).
NameBF22142HeroesNotes
game.allowToggleFullscreenyes bool -> boolproperty
Game.crashyesyesmethod
Game.crashSTLyesmethod
game.getAccountNameFromNucleusIdyes __int64 -> std::stringmethod
game.getVipListyes -> std::stringmethod
game.lockFpsyes int -> intyes int -> intyes int -> intproperty
game.personaSearchGetResultyes -> std::stringmethod
game.personaSearchStartyes std::stringmethod
Game.radioMessageyes TargetChannel, std::stringyes TargetChannel, std::stringyes TargetChannel, std::stringmethod
game.sayAllyes std::stringyes std::stringyes std::stringmethod
game.sayTeamyes int, std::stringyes int, std::stringyes int, std::stringmethod
game.sayToPlayerWithIdyes int, std::stringmethod
game.sayToPlayerWithNameyes std::string, std::stringmethod
game.setPersonaVipStatusyes std::string, __int64, boolmethod
game.setPlayerVipStatusyes std::string, boolmethod
game.simulationRateyes int -> intyes int -> intyes int -> intproperty
game.toggleFullscreenyesmethod
game.unloadyes -> boolmethod
Source: tools/devwiki/refs_console.py · built from bf2-rs e3b4f05 · part of the Battlefield 2 / 2142 / Heroes reimplementation. Not affiliated with EA or DICE.