Elin Decompiled Documentation EA 23.102 Nightly
|
Public Member Functions | |
void | Init () |
void | AddBase (TextureData data, string path, MeshPass pass, string texName="_MainTex") |
void | Add (MeshPass to, TextureData from, string texName="_MainTex") |
void | AddList (TextureData data, string path) |
void | RefreshTextures () |
void | OnDropFile (List< string > paths) |
bool | TryAddReplace (FileInfo file, TextureReplace.Source source=TextureReplace.Source.Mod, bool add=true, bool refresh=false) |
void | ApplyLocalReplace (string path) |
Public Attributes | |
Dictionary< string, TextureData > | texMap = new Dictionary<string, TextureData>() |
Properties | |
string | pathTex [get] |
Definition at line 5 of file TextureManager.cs.
|
inline |
Definition at line 75 of file TextureManager.cs.
References TextureData.id, and texMap.
Referenced by Init().
|
inline |
Definition at line 64 of file TextureManager.cs.
References TextureData.dictReplace, TextureData.id, pathTex, MeshPass.pmesh, TextureData.tex, texMap, TextureData.tileH, and ProceduralMesh.tiling.
Referenced by Init().
|
inline |
Definition at line 80 of file TextureManager.cs.
References TextureData.id, pathTex, and texMap.
Referenced by Init().
|
inline |
Definition at line 164 of file TextureManager.cs.
References TextureData.dictReplace, item, TextureData.listReplaceLocal, RefreshTextures(), texMap, and TryAddReplace().
Referenced by Zone.Activate().
|
inline |
Definition at line 11 of file TextureManager.cs.
References Add(), AddBase(), AddList(), CoreRef.TextureDatas.bird, CoreRef.TextureDatas.block, CoreRef.TextureDatas.block_snow, EClass.core, CoreRef.TextureDatas.floor, CoreRef.TextureDatas.floor_snow, CoreRef.TextureDatas.fov, Core.mods, CoreRef.TextureDatas.objs, CoreRef.TextureDatas.objs_C, CoreRef.TextureDatas.objs_CLL, CoreRef.TextureDatas.objs_L, CoreRef.TextureDatas.objs_L_snow, CoreRef.TextureDatas.objs_S, CoreRef.TextureDatas.objs_S_snow, CoreRef.TextureDatas.objs_snow, CoreRef.TextureDatas.objs_SS, BaseTileMap.passAutoTile, BaseTileMap.passAutoTileWater, BaseTileMap.passBlock, BaseTileMap.passBlockEx, BaseTileMap.passBlockMarker, BaseTileMap.passChara, BaseTileMap.passCharaL, BaseTileMap.passCharaLL, BaseTileMap.passCharaLW, BaseTileMap.passEdge, BaseTileMap.passFloor, BaseTileMap.passFloorEx, BaseTileMap.passFloorMarker, BaseTileMap.passFloorWater, BaseTileMap.passFog, BaseTileMap.passFov, BaseTileMap.passIcon, BaseTileMap.passInner, BaseTileMap.passLiquid, BaseTileMap.passObj, BaseTileMap.passObjL, BaseTileMap.passObjS, BaseTileMap.passObjSS, BaseTileMap.passRamp, BaseTileMap.passRoof, BaseTileMap.passShadow, BaseTileMap.passShore, BaseTileMap.passWaterBlock, Core.refs, ModManager.replaceFiles, CoreRef.TextureDatas.roofs, EClass.scene, Scene.screenElin, CoreRef.TextureDatas.shadows, MeshPass.snowPass, CoreRef.textureData, BaseGameScreen.tileMap, TryAddReplace(), CorePath.user, and CoreRef.TextureDatas.world.
Referenced by Core.Init().
|
inline |
Definition at line 98 of file TextureManager.cs.
References Msg.Say(), and TryAddReplace().
Referenced by Core.Awake().
|
inline |
Definition at line 86 of file TextureManager.cs.
References EClass._zone, Scene.ApplyZoneConfig(), EClass.core, Core.IsGameStarted, Zone.isStarted, EClass.scene, texMap, and TextureData.TryRefresh().
Referenced by ApplyLocalReplace(), Core.Init(), Core.OnApplicationFocus(), and Core.Update().
|
inline |
Definition at line 126 of file TextureManager.cs.
References TextureData.AddReplace(), TextureData.listPass, texMap, and TextureData.TryRefresh().
Referenced by ApplyLocalReplace(), TextureData.CreateReplace(), Init(), and OnDropFile().
Dictionary<string, TextureData> TextureManager.texMap = new Dictionary<string, TextureData>() |
Definition at line 7 of file TextureManager.cs.
Referenced by Add(), AddBase(), AddList(), ApplyLocalReplace(), LayerTextureViewer.OnSwitchContent(), TextureData.RefreshAll(), RefreshTextures(), and TryAddReplace().
|
get |
Definition at line 9 of file TextureManager.cs.