C# Class CryEngine.Level

Represents a CryENGINE level.
Mostrar archivo Open project: PoppermostProductions/CryMono Class Usage Examples

Private Properties

Property Type Description
Level System
TryGet Level

Public Methods

Method Description
Equals ( object obj ) : bool
GetHashCode ( ) : int
GetSupportedGameRules ( int index ) : string

Gets the supported game rules at the index; see SupportedGamerules.

Load ( string name ) : Level

Loads a new level and returns its level info

SupportsGameRules ( string gamemodeName ) : bool

Returns true if this level supports the specific game rules.

Unload ( ) : void

Unloads the currently loaded level.

Private Methods

Method Description
Level ( IntPtr ptr ) : System
TryGet ( IntPtr ptr ) : Level

Method Details

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetSupportedGameRules() public method

Gets the supported game rules at the index; see SupportedGamerules.
public GetSupportedGameRules ( int index ) : string
index int
return string

Load() public static method

Loads a new level and returns its level info
public static Load ( string name ) : Level
name string
return Level

SupportsGameRules() public method

Returns true if this level supports the specific game rules.
public SupportsGameRules ( string gamemodeName ) : bool
gamemodeName string
return bool

Unload() public static method

Unloads the currently loaded level.
public static Unload ( ) : void
return void