Tremfusion.net

Namespace organization

From TremFusion

root:

  • <constants> : see [wiki:ScriptingConstantList]
  • game(namespace) : game C API, loaded only from 'game' qvm
  • cgame(namespace) : cgame C API, loaded only from 'cgame' qvm
  • ui(namespace) : ui API, loaded only from 'ui' qvm
  • common(namespace) : common API, loaded from all qvm and binaries
    • Vec3 (class)
  • script(namespace) : scripting API, loaded everywhere, related to scripting engine
    • Event(class)
    • Module(class)
  • module(namespace) : existing script.Module objects created
  • lua(namespace) : stuff used only by lua. Loaded only for lua langage
  • python(namespace) : stuff used only by python. Loaded only for python langage
  • <other stuff added by modules loading>