3 override bool _WB_GetCustomTitle(BaseContainer source, out
string title)
7 source.Get(
"m_eStorageType", storageType);
10 string firstLetter = title[0];
12 title.Replace(
"_",
" ");
14 firstLetter.ToUpper();
16 title =
string.Format(
"%2%3 - %1", source.GetClassName(), firstLetter, title.Substring(1, title.Length() - 1));
23 class SCR_ResourceStoragePolicyBase<Class ResourceActorType> : Managed
26 protected ref SCR_ResourceContainerStorageQueue<ResourceActorType> m_StorageQueue;
29 SCR_ResourceContainerStorageQueue<ResourceActorType> GetStorageQueue()
31 return m_StorageQueue;
41 void SetStorageQueue(notnull SCR_ResourceContainerStorageQueue<ResourceActorType> queue)
43 m_StorageQueue = queue;
47 void ResetStorageQueue()
51 m_StorageQueue.Reset();
53 Debug.Error2(
"SCR_ResourceStoragePolicyBase::m_StorageQueue is null.",
"A resource container storage queue has to be present.");
55 m_StorageQueue.Reset();