My Project v1
Project
载入中...
搜索中...
未找到
Game.FastDebugModEntity
类 Game.FastDebugModEntity 继承关系图:
Game.FastDebugModEntity 的协作图:

Public 成员函数

 FastDebugModEntity ()
 
override void InitResources ()
 初始化Content资源
 
void ReadDirResouces (string basepath, string path)
 
override Assembly[] GetAssemblies ()
 加载mod程序集
 
override void LoadClo (ClothingBlock block, ref XElement xElement)
 初始化Clothing数据
 
override void LoadCr (ref XElement xElement)
 初始化CraftingRecipe
 
override void LoadLauguage ()
 初始化语言包
 
override void LoadBlocksData ()
 初始化BlocksData资源
 
override void LoadXdb (ref XElement xElement)
 初始化Database数据
 
override void GetFiles (string extension, Action< string, Stream > action)
 获取指定后缀文件列表,带.
 
override bool GetFile (string filename, Action< Stream > stream)
 获取指定文件
 
override bool GetAssetsFile (string filename, Action< Stream > stream)
 
- Public 成员函数 继承自 Game.ModEntity
 ModEntity ()
 
 ModEntity (ZipArchive zipArchive)
 
 ModEntity (string FileName, ZipArchive zipArchive)
 
virtual void LoadIcon (Stream stream)
 
virtual bool GetFilesAndExist (string extension, Action< string, Stream > action)
 
virtual void ModInitialize ()
 Mod初始化
 
virtual void HandleAssembly (Assembly assembly)
 
virtual void LoadJs ()
 
virtual void CheckDependencies (List< ModEntity > modEntities)
 检查依赖项
 
virtual void SaveSettings (XElement xElement)
 保存设置
 
virtual void LoadSettings (XElement xElement)
 加载设置
 
virtual void OnBlocksInitalized ()
 BlocksManager初始化完毕
 
virtual void Dispose ()
 
override bool Equals (object obj)
 
override int GetHashCode ()
 

Public 属性

Dictionary< string, FileInfo > FModFiles = []
 
- Public 属性 继承自 Game.ModEntity
ModInfo modInfo
 
Texture2D Icon
 
ZipArchive ModArchive
 
Dictionary< string, ZipArchiveEntryModFiles = []
 
List< Type > BlockTypes = []
 
string ModFilePath
 
bool IsDependencyChecked
 

额外继承的成员函数

- 静态 Public 属性 继承自 Game.ModEntity
const string fName = "ModEntity"
 
- 属性 继承自 Game.ModEntity
ModLoader Loader [get, set]
 

构造及析构函数说明

◆ FastDebugModEntity()

Game.FastDebugModEntity.FastDebugModEntity ( )
函数调用图:

成员函数说明

◆ GetAssemblies()

override Assembly[] Game.FastDebugModEntity.GetAssemblies ( )
virtual

加载mod程序集

重载 Game.ModEntity .

函数调用图:

◆ GetAssetsFile()

override bool Game.FastDebugModEntity.GetAssetsFile ( string filename,
Action< Stream > stream )
virtual

重载 Game.ModEntity .

函数调用图:

◆ GetFile()

override bool Game.FastDebugModEntity.GetFile ( string filename,
Action< Stream > stream )
virtual

获取指定文件

参数
filename
stream参数1打开的文件流
返回

重载 Game.ModEntity .

函数调用图:
这是这个函数的调用关系图:

◆ GetFiles()

override void Game.FastDebugModEntity.GetFiles ( string extension,
Action< string, Stream > action )
virtual

获取指定后缀文件列表,带.

参数
extension
返回

重载 Game.ModEntity .

函数调用图:

◆ InitResources()

override void Game.FastDebugModEntity.InitResources ( )
virtual

初始化Content资源

重载 Game.ModEntity .

函数调用图:
这是这个函数的调用关系图:

◆ LoadBlocksData()

override void Game.FastDebugModEntity.LoadBlocksData ( )
virtual

初始化BlocksData资源

重载 Game.ModEntity .

函数调用图:

◆ LoadClo()

override void Game.FastDebugModEntity.LoadClo ( ClothingBlock block,
ref XElement xElement )
virtual

初始化Clothing数据

参数
block
xElement

重载 Game.ModEntity .

函数调用图:

◆ LoadCr()

override void Game.FastDebugModEntity.LoadCr ( ref XElement xElement)
virtual

初始化CraftingRecipe

参数
xElement

重载 Game.ModEntity .

函数调用图:

◆ LoadLauguage()

override void Game.FastDebugModEntity.LoadLauguage ( )
virtual

初始化语言包

重载 Game.ModEntity .

函数调用图:

◆ LoadXdb()

override void Game.FastDebugModEntity.LoadXdb ( ref XElement xElement)
virtual

初始化Database数据

参数
xElement

重载 Game.ModEntity .

函数调用图:

◆ ReadDirResouces()

void Game.FastDebugModEntity.ReadDirResouces ( string basepath,
string path )
函数调用图:
这是这个函数的调用关系图:

类成员变量说明

◆ FModFiles

Dictionary<string, FileInfo> Game.FastDebugModEntity.FModFiles = []

该类的文档由以下文件生成: