Esempio n. 1
0
 public bool fetchLoadout(string PlayerName)
 {
     Loadout loadout = new Loadout();
     Hashtable active_loadout = loadout.getActiveKit(PlayerName);
     if (active_loadout == null)
         return false;
     activeLoadout = active_loadout;
     tBox_personaID.Text = loadout.personaID;
     Button btn = (Button)this.Controls.Find("btn_" + loadout.active_Kit.ToString(), true)[0];
     btn.FlatAppearance.BorderSize = 3;
     return true;
 }
Esempio n. 2
0
 private bool fetchWantedLoadout(string PlayerName, int kit_index)
 {
     Loadout loadout = new Loadout();
     Hashtable active_loadout = loadout.getWantedKit(PlayerName, kit_index);
     if (active_loadout == null)
         return false;
     activeLoadout = active_loadout;
     tBox_personaID.Text = loadout.personaID;
     return true;
 }