C# Class CryEngine.Level

Represents a CryENGINE level.
Afficher le fichier Open project: PoppermostProductions/CryMono Class Usage Examples

Private Properties

Свойство Type Description
Level System
TryGet Level

Méthodes publiques

Méthode 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

Méthode Description
Level ( IntPtr ptr ) : System
TryGet ( IntPtr ptr ) : Level

Method Details

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

GetSupportedGameRules() public méthode

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

Load() public static méthode

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

SupportsGameRules() public méthode

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

Unload() public static méthode

Unloads the currently loaded level.
public static Unload ( ) : void
Résultat void