MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / getResourcePoolTypeName

Method getResourcePoolTypeName

LuaSTGPlus/ResourceMgr.h:515–526  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

513 Dictionary<fcyRefPointer<ResFX>> m_FXPool;
514 private:
515 const wchar_t* getResourcePoolTypeName()
516 {
517 switch (m_iType)
518 {
519 case ResourcePoolType::Global:
520 return L"全局资源池";
521 case ResourcePoolType::Stage:
522 return L"关卡资源池";
523 default:
524 return nullptr;
525 }
526 }
527 template <typename T>
528 void removeResource(Dictionary<fcyRefPointer<T>>& pool, const char* name)
529 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected