C# Class idTech4.idSession

The session is the glue that holds games together between levels.
Afficher le fichier Open project: iainmckay/idtech4.net

Méthodes publiques

Méthode Description
Frame ( ) : void
GuiFrameEvents ( ) : void
Init ( ) : void

Called in an orderly fashion at system startup, so commands, cvars, files, etc are all available.

ProcessEvent ( SystemEvent ev ) : bool
SetUserInterface ( idUserInterface ui, object handle ) : void
StartMenu ( bool playIntro = false ) : void

Activates the main menu.

StartNewGame ( string mapName, bool devMap ) : void
UpdateScreen ( bool outOfSequence = true ) : void
idSession ( ) : System

Private Methods

Méthode Description
ClearWipe ( ) : void
Cmd_Map ( object sender, CommandEventArgs e ) : void
DispatchCommand ( idUserInterface gui, string menuCommand ) : void
DispatchCommand ( idUserInterface gui, string menuCommand, bool doIngame ) : void
Draw ( ) : void
DrawWipeModel ( ) : void

Draw the fade material over everything that has been drawn.

ExecuteMapChange ( bool noFadeWipe = false ) : void

Performs the initialization of a game based on mapSpawnData, used for both single player and multiplayer, but not for renderDemos, which don't create a game at all.

LoadLoadingInterface ( string mapName ) : void
MoveToNewMap ( string mapName ) : void

Leaves the existing userinfo and serverinfo.

ProcessMenuEvent ( SystemEvent ev ) : bool
RunGameTic ( ) : void
SetMainMenuVariables ( ) : void
ShowLoadingInterface ( ) : void

Method Details

Frame() public méthode

public Frame ( ) : void
Résultat void

GuiFrameEvents() public méthode

public GuiFrameEvents ( ) : void
Résultat void

Init() public méthode

Called in an orderly fashion at system startup, so commands, cvars, files, etc are all available.
public Init ( ) : void
Résultat void

ProcessEvent() public méthode

public ProcessEvent ( SystemEvent ev ) : bool
ev SystemEvent
Résultat bool

SetUserInterface() public méthode

public SetUserInterface ( idUserInterface ui, object handle ) : void
ui idTech4.UI.idUserInterface
handle object
Résultat void

StartMenu() public méthode

Activates the main menu.
public StartMenu ( bool playIntro = false ) : void
playIntro bool
Résultat void

StartNewGame() public méthode

public StartNewGame ( string mapName, bool devMap ) : void
mapName string
devMap bool
Résultat void

UpdateScreen() public méthode

public UpdateScreen ( bool outOfSequence = true ) : void
outOfSequence bool
Résultat void

idSession() public méthode

public idSession ( ) : System
Résultat System