C# Class FSO.Client.GameFacade

Central point for accessing game objects
Afficher le fichier Open project: RHY3756547/FreeSO Class Usage Examples

Méthodes publiques

Свойство Type Description
CDataRetriever FSO.Client.Rendering.City.CityDataRetriever
CacheDirectory string
CacheRoot string
Controller GameController
Cursor FSO.Common.Rendering.Framework.CursorManager
DirectX bool
EdithFont FSO.Client.UI.Framework.Font
Focus bool
Game TSOGame
GameThread Thread
GraphicsDevice GraphicsDevice
GraphicsDeviceManager GraphicsDeviceManager
LastUpdateState FSO.Common.Rendering.Framework.Model.UpdateState
Linux bool
MainFont FSO.Client.UI.Framework.Font
MessageController FSO.Client.UI.Panels.UIMessageController
Scenes FSO.Common.Rendering.Framework._3DLayer
Screens FSO.Client.UI.UILayer
Strings FSO.Client.GameContent.ContentStrings

Méthodes publiques

Méthode Description
GameFilePath ( string relativePath ) : string
GetCityNumber ( string CityName ) : int

This gets the number of a city when provided with a name.

Init ( ) : void
Kill ( ) : void

Kills the application.

TriggerContentLoaderReady ( ) : void

Method Details

GameFilePath() public static méthode

public static GameFilePath ( string relativePath ) : string
relativePath string
Résultat string

GetCityNumber() public static méthode

This gets the number of a city when provided with a name.
public static GetCityNumber ( string CityName ) : int
CityName string Name of the city.
Résultat int

Init() public static méthode

public static Init ( ) : void
Résultat void

Kill() public static méthode

Kills the application.
public static Kill ( ) : void
Résultat void

TriggerContentLoaderReady() public static méthode

public static TriggerContentLoaderReady ( ) : void
Résultat void

Property Details

CDataRetriever public_oe static_oe property

public static CityDataRetriever,FSO.Client.Rendering.City CDataRetriever
Résultat FSO.Client.Rendering.City.CityDataRetriever

CacheDirectory public_oe static_oe property

Place where the game can store cached values, e.g. pre modified textures to improve 2nd load speed, etc.
public static string CacheDirectory
Résultat string

CacheRoot public_oe static_oe property

public static string CacheRoot
Résultat string

Controller public_oe static_oe property

public static GameController,FSO.Client Controller
Résultat GameController

Cursor public_oe static_oe property

public static CursorManager,FSO.Common.Rendering.Framework Cursor
Résultat FSO.Common.Rendering.Framework.CursorManager

DirectX public_oe static_oe property

public static bool DirectX
Résultat bool

EdithFont public_oe static_oe property

public static Font,FSO.Client.UI.Framework EdithFont
Résultat FSO.Client.UI.Framework.Font

Focus public_oe static_oe property

public static bool Focus
Résultat bool

Game public_oe static_oe property

public static TSOGame,FSO.Client Game
Résultat TSOGame

GameThread public_oe static_oe property

public static Thread GameThread
Résultat Thread

GraphicsDevice public_oe static_oe property

public static GraphicsDevice GraphicsDevice
Résultat GraphicsDevice

GraphicsDeviceManager public_oe static_oe property

public static GraphicsDeviceManager GraphicsDeviceManager
Résultat GraphicsDeviceManager

LastUpdateState public_oe static_oe property

public static UpdateState,FSO.Common.Rendering.Framework.Model LastUpdateState
Résultat FSO.Common.Rendering.Framework.Model.UpdateState

Linux public_oe static_oe property

public static bool Linux
Résultat bool

MainFont public_oe static_oe property

public static Font,FSO.Client.UI.Framework MainFont
Résultat FSO.Client.UI.Framework.Font

MessageController public_oe static_oe property

public static UIMessageController,FSO.Client.UI.Panels MessageController
Résultat FSO.Client.UI.Panels.UIMessageController

Scenes public_oe static_oe property

public static _3DLayer,FSO.Common.Rendering.Framework Scenes
Résultat FSO.Common.Rendering.Framework._3DLayer

Screens public_oe static_oe property

public static UILayer,FSO.Client.UI Screens
Résultat FSO.Client.UI.UILayer

Strings public_oe static_oe property

public static ContentStrings,FSO.Client.GameContent Strings
Résultat FSO.Client.GameContent.ContentStrings