Esempio n. 1
0
        public void Awake()
        {
            InitConfig();

            ItemStatProvider.Init();
            StatModifiers.Init();
            Hooks.Init();
        }
Esempio n. 2
0
        public void Awake()
        {
            InitConfig();

            ItemCatalog.availability.CallWhenAvailable(() =>
            {
                ItemStatProvider.Init();
                StatModifiers.Init();
                Hooks.Init();
            });
        }
Esempio n. 3
0
 public static string GetStatsForItem(ItemIndex index, int count, StatContext context)
 {
     return(ItemStatProvider.ProvideStatsForItem(index, count, context));
 }
Esempio n. 4
0
 public static ItemStatDef GetItemStatDef(ItemIndex index)
 {
     return(ItemStatProvider.GetItemStatDef(index));
 }
Esempio n. 5
0
 public static void AddCustomItemStatDef(ItemIndex index, ItemStatDef customDef)
 {
     ItemStatProvider.AddCustomItemDef(index, customDef);
 }