Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
Game.ContentManager

静态 Public 成员函数

static void Initialize ()
static T Get< T > (string name)
static T Get< T > (string name, string suffix=null)
static T Get< T > (string name, string suffix=null, bool throwOnNotFound=true)
static object Get (Type type, string name)
static object Get (Type type, string name, string suffix=null)
static object Get (Type type, string name, string suffix=null, bool throwOnNotFound=true)
static void Add (ContentInfo contentInfo)
static void Dispose (string name)
 可能需要带上文件后缀,即获取名字+获取的后缀
static bool ContainsKey (string key)
 
参数
key全路径,需要带后缀

static bool IsContent (object content)
static void Display_DeviceReset ()
static ReadOnlyList< ContentInfoList ()
static ReadOnlyList< ContentInfoList (string directory)
static void AddContentReader (IContentReader.IContentReader reader)

静态包属性

static ConcurrentDictionary< string, ContentInfoResources = []
static Dictionary< string, IContentReader.IContentReaderReaderList = []
static ConcurrentDictionary< string, List< object > > Caches = []
static object syncObj = new()

详细描述

在文件 ContentManager.cs50 行定义.

成员函数说明

◆ Add()

void Game.ContentManager.Add ( ContentInfo contentInfo)
static

在文件 ContentManager.cs129 行定义.

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

◆ AddContentReader()

void Game.ContentManager.AddContentReader ( IContentReader.IContentReader reader)
static

在文件 ContentManager.cs197 行定义.

◆ ContainsKey()

bool Game.ContentManager.ContainsKey ( string key)
static

参数
key全路径,需要带后缀

在文件 ContentManager.cs155 行定义.

◆ Display_DeviceReset()

void Game.ContentManager.Display_DeviceReset ( )
static

在文件 ContentManager.cs168 行定义.

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

◆ Dispose()

void Game.ContentManager.Dispose ( string name)
static

可能需要带上文件后缀,即获取名字+获取的后缀

参数
name

在文件 ContentManager.cs137 行定义.

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

◆ Get() [1/3]

object Game.ContentManager.Get ( Type type,
string name )
static

在文件 ContentManager.cs70 行定义.

函数调用图:

◆ Get() [2/3]

object Game.ContentManager.Get ( Type type,
string name,
string suffix = null )
static

在文件 ContentManager.cs72 行定义.

函数调用图:

◆ Get() [3/3]

object Game.ContentManager.Get ( Type type,
string name,
string suffix = null,
bool throwOnNotFound = true )
static

在文件 ContentManager.cs74 行定义.

函数调用图:

◆ Get< T >() [1/3]

T Game.ContentManager.Get< T > ( string name)
static
类型限制
T :class 

在文件 ContentManager.cs63 行定义.

函数调用图:

◆ Get< T >() [2/3]

T Game.ContentManager.Get< T > ( string name,
string suffix = null )
static
类型限制
T :class 

在文件 ContentManager.cs65 行定义.

函数调用图:

◆ Get< T >() [3/3]

T Game.ContentManager.Get< T > ( string name,
string suffix = null,
bool throwOnNotFound = true )
static
类型限制
T :class 

在文件 ContentManager.cs67 行定义.

函数调用图:

◆ Initialize()

void Game.ContentManager.Initialize ( )
static

在文件 ContentManager.cs56 行定义.

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

◆ IsContent()

bool Game.ContentManager.IsContent ( object content)
static

在文件 ContentManager.cs157 行定义.

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

◆ List() [1/2]

ReadOnlyList< ContentInfo > Game.ContentManager.List ( )
static

在文件 ContentManager.cs182 行定义.

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

◆ List() [2/2]

ReadOnlyList< ContentInfo > Game.ContentManager.List ( string directory)
static

在文件 ContentManager.cs184 行定义.

函数调用图:

类成员变量说明

◆ Caches

ConcurrentDictionary<string, List<object> > Game.ContentManager.Caches = []
staticpackage

在文件 ContentManager.cs53 行定义.

◆ ReaderList

Dictionary<string, IContentReader.IContentReader> Game.ContentManager.ReaderList = []
staticpackage

在文件 ContentManager.cs52 行定义.

◆ Resources

ConcurrentDictionary<string, ContentInfo> Game.ContentManager.Resources = []
staticpackage

在文件 ContentManager.cs51 行定义.

◆ syncObj

object Game.ContentManager.syncObj = new()
staticpackage

在文件 ContentManager.cs54 行定义.


该类的文档由以下文件生成:
  • E:/sc/doxygen/SurvivalcraftApi 1.8.2.3/Survivalcraft.Windows/ModsManager/Changes/ContentManager.cs