메소드 | 설명 | |
---|---|---|
Dispose ( ) : void |
Frees all resources consumed by this GameMode.
|
|
EnsureExecutedInMainThread ( System.Action action ) : void | ||
GetAbilityModel ( string id ) : AbilityModel | ||
GetItemModel ( string id ) : ItemModel | ||
GetMapFilePath ( string mapId ) : string |
Returns the path to a map file, relative to the GameMode's root folder.
|
|
GetMapFragmentFilePath ( string mapFragmentId ) : string |
Returns the path to a map fragment file, relative to the GameMode's root folder.
|
|
GetModel ( string filePath ) : ModelMesh[] | ||
GetMoveModel ( string id ) : MoveModel | ||
GetNatureModel ( string natureId ) : NatureModel | ||
GetNatures ( ) : NatureModel[] | ||
GetPokedexModel ( string id ) : PokedexModel | ||
GetPokemonFilePath ( string pokemonId ) : string |
Returns the absolute path to a pokemon data file.
|
|
GetPokemonTexturesContentPath ( ) : string | ||
GetPrimitiveMesh ( string primitiveName ) : |
||
GetScriptFilePath ( string scriptFileName ) : string |
Returns the path to a script file, relative to the GameMode's root folder.
|
|
GetTexture ( string filePath ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
GetTextureFromRawFolder ( string filePath ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
GetTypeModel ( string typeId ) : TypeModel | ||
LoadMap ( string dataPath, bool forceReloadCached = false ) : MapModel | ||
Preload ( ) : void |
메소드 | 설명 | |
---|---|---|
Dispose ( bool disposing ) : void |
메소드 | 설명 | |
---|---|---|
GameMode ( |
Creates an instance of the GameMode class and loads the data model.
|
public EnsureExecutedInMainThread ( System.Action action ) : void | ||
action | System.Action | |
리턴 | void |
public GetAbilityModel ( string id ) : AbilityModel | ||
id | string | |
리턴 | AbilityModel |
public GetMapFragmentFilePath ( string mapFragmentId ) : string | ||
mapFragmentId | string | |
리턴 | string |
public GetNatureModel ( string natureId ) : NatureModel | ||
natureId | string | |
리턴 | NatureModel |
public GetPokedexModel ( string id ) : PokedexModel | ||
id | string | |
리턴 | PokedexModel |
public GetPokemonFilePath ( string pokemonId ) : string | ||
pokemonId | string | |
리턴 | string |
public GetPrimitiveMesh ( string primitiveName ) : |
||
primitiveName | string | |
리턴 |
public GetScriptFilePath ( string scriptFileName ) : string | ||
scriptFileName | string | |
리턴 | string |
public GetTexture ( string filePath ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
filePath | string | |
리턴 | Microsoft.Xna.Framework.Graphics.Texture2D |
public GetTextureFromRawFolder ( string filePath ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
filePath | string | |
리턴 | Microsoft.Xna.Framework.Graphics.Texture2D |
public LoadMap ( string dataPath, bool forceReloadCached = false ) : MapModel | ||
dataPath | string | |
forceReloadCached | bool | |
리턴 | MapModel |