예제 #1
0
 private TLMAssetConfiguration SafeGetAsset(string assetName)
 {
     if (!AssetConfigurations.ContainsKey(assetName))
     {
         AssetConfigurations[assetName] = new TLMAssetConfiguration();
     }
     return(AssetConfigurations[assetName]);
 }
예제 #2
0
 public bool IsCustomCapacity(string name) => AssetConfigurations.ContainsKey(name);