My Project v1
Project
载入中...
搜索中...
未找到
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)
 
static bool IsContent (object content)
 
static void Display_DeviceReset ()
 
static ReadOnlyList< ContentInfoList ()
 
static ReadOnlyList< ContentInfoList (string directory)
 

静态包属性

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

成员函数说明

◆ Add()

static void Game.ContentManager.Add ( ContentInfo contentInfo)
static
这是这个函数的调用关系图:

◆ ContainsKey()

static bool Game.ContentManager.ContainsKey ( string key)
static

◆ Display_DeviceReset()

static void Game.ContentManager.Display_DeviceReset ( )
static
函数调用图:
这是这个函数的调用关系图:

◆ Dispose()

static void Game.ContentManager.Dispose ( string name)
static

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

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

◆ Get() [1/3]

static object Game.ContentManager.Get ( Type type,
string name )
static
函数调用图:

◆ Get() [2/3]

static object Game.ContentManager.Get ( Type type,
string name,
string suffix = null )
static
函数调用图:

◆ Get() [3/3]

static object Game.ContentManager.Get ( Type type,
string name,
string suffix = null,
bool throwOnNotFound = true )
static
函数调用图:

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

static T Game.ContentManager.Get< T > ( string name)
static
类型限制
T :class 
函数调用图:

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

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

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

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

◆ Initialize()

static void Game.ContentManager.Initialize ( )
static
函数调用图:
这是这个函数的调用关系图:

◆ IsContent()

static bool Game.ContentManager.IsContent ( object content)
static
这是这个函数的调用关系图:

◆ List() [1/2]

static ReadOnlyList< ContentInfo > Game.ContentManager.List ( )
static
这是这个函数的调用关系图:

◆ List() [2/2]

static ReadOnlyList< ContentInfo > Game.ContentManager.List ( string directory)
static
函数调用图:

类成员变量说明

◆ Caches

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

◆ ReaderList

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

◆ Resources

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

◆ syncObj

object Game.ContentManager.syncObj = new()
staticpackage

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