Esempio n. 1
0
 public void Load()
 {
     logReport.OnLogReport("start game,load orders ...");
     byte[] bytes = baseDao.Load(CodeMap.Filed.FIELED_PAYMENT_DATA);
     orders = new Orders(bytes);
     logReport.OnLogReport("start game,load orders count:" + orders.Count());
 }
Esempio n. 2
0
 public void Load()
 {
     logReport.OnLogReport("start game,load orders ...");
     orders = baseDao.Load(typeof(Orders));
     if (orders == null)
     {
         orders = new Orders();
         baseDao.Save(orders);
     }
     logReport.OnLogReport("start game,load orders count:" + orders.Count());
 }
Esempio n. 3
0
 public Cookie Load()
 {
     return(baseDao.Load(typeof(Cookie)));
 }