Beispiel #1
0
 public void loadData()
 {
     Data = AccountDataTable.Get(ID);
     if (Data == null)
     {
         Data = new AccountDataModel()
         {
             Guid                 = this.ID,
             Bank                 = "",
             BankKamas            = 0,
             Stables              = "",
             Friends              = "",
             Ennemys              = "",
             showFriendConnection = false,
         };
         AccountDataTable.Add(Data);
     }
     else
     {
         Data.Initialize();
     }
 }