Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
Game.FastDebugModEntity
类 Game.FastDebugModEntity 继承关系图:
Game.FastDebugModEntity 的协作图:

Public 成员函数

 FastDebugModEntity ()
override void InitResources ()
 初始化Content资源
void ReadDirResouces (string basepath, string path)
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 LoadLauguage ()
 初始化语言包
virtual void ModInitialize ()
 Mod初始化
virtual void LoadBlocksData ()
 初始化BlocksData资源
virtual void LoadXdb (ref XElement xElement)
 初始化Database数据
virtual void LoadClo (ClothingBlock block, ref XElement xElement)
 初始化Clothing数据
virtual void LoadCr (ref XElement xElement)
 初始化CraftingRecipe
virtual Assembly[] GetAssemblies ()
 加载mod程序集
virtual void HandleAssembly (Assembly assembly)
virtual void LoadJs ()
virtual void CheckDependencies (List< ModEntity > modEntities=null)
 检查依赖项
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 IsDisabled
ModDisableReason DisableReason = ModDisableReason.Unknown
long Size
bool IsDependencyChecked

额外继承的成员函数

静态 Public 属性 继承自 Game.ModEntity
static HashSet< string > InvalidDllNames = ["Survivalcraft.dll", "Engine.dll", "EntitySystem.dll"]
const string fName = "ModEntity"
属性 继承自 Game.ModEntity
ModLoader Loader [get, set]

详细描述

在文件 FastDebugModEntity.cs7 行定义.

构造及析构函数说明

◆ FastDebugModEntity()

Game.FastDebugModEntity.FastDebugModEntity ( )

在文件 FastDebugModEntity.cs10 行定义.

函数调用图:

成员函数说明

◆ GetAssetsFile()

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

重载 Game.ModEntity .

在文件 FastDebugModEntity.cs117 行定义.

◆ GetFile()

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

获取指定文件

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

重载 Game.ModEntity .

在文件 FastDebugModEntity.cs96 行定义.

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

◆ GetFiles()

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

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

参数
extension
action
返回

重载 Game.ModEntity .

在文件 FastDebugModEntity.cs76 行定义.

函数调用图:

◆ InitResources()

override void Game.FastDebugModEntity.InitResources ( )
virtual

初始化Content资源

重载 Game.ModEntity .

在文件 FastDebugModEntity.cs16 行定义.

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

◆ ReadDirResouces()

void Game.FastDebugModEntity.ReadDirResouces ( string basepath,
string path )

在文件 FastDebugModEntity.cs43 行定义.

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

类成员变量说明

◆ FModFiles

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

在文件 FastDebugModEntity.cs8 行定义.


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