Example #1
0
 async void LoadData(int id)
 {
     if (Armor == null)
     {
         Armor = await MHDatabaseHelper.GetArmor(id);
     }
     if (Components == null)
     {
         Components = await MHDatabaseHelper.GetComponentsForItem(id);
     }
     if (Skills == null)
     {
         Skills = await MHDatabaseHelper.GetSkillTreesForItem(id);
     }
 }