1234567891011121314151617181920212223242526 |
- using System.Collections.Generic;
- using Plugins.CxShine.Singleton;
- namespace Api
- {
- public class ConfigManager : ScriptSingleton<ConfigManager>
- {
- public Dictionary<int, CockType> cockTypesMap = new Dictionary<int, CockType>();
- public List<int> selectDiamonds;
- public void setupCockTypes(List<CockType> cockTypes)
- {
- foreach (var dataCockType in cockTypes)
- {
- ConfigManager.Instance.cockTypesMap[dataCockType.id] = dataCockType;
- }
- }
-
-
- public void setupSelectDiamonds(List<int> diamonds)
- {
- this.selectDiamonds = diamonds;
- }
- }
- }
|