Пример #1
0
 public void SetPlayerOnline(dboReport dboreport)
 {
     if (conn == null)
     {
         return;
     }
     asc.SetOnline(dboreport, conn);
 }
Пример #2
0
 public void SetServerData(dboReport dboreport)
 {
     if (conn == null)
     {
         return;
     }
     asc.SetData(dboreport, conn);
 }
Пример #3
0
 public void SetPlayerLeaveVoiceChat(dboReport dboreport)
 {
     if (conn == null)
     {
         return;
     }
     asc.SetPlayerLeaveChat(dboreport, conn);
 }
Пример #4
0
 public void SetOffline(dboReport dbr, SqlConnection conn)
 {
     try
     {
         IDbConnection ics = conn;
         ics.Execute($"Update Users Set OnlineNum = 0 Where id = '{dbr.id}'");
     }
     catch { }
 }
Пример #5
0
 public void SetPlayerLeaveChat(dboReport dbr, SqlConnection conn)
 {
     try
     {
         IDbConnection ics = conn;
         ics.Execute($"Update Users Set InVoiceChat = 0 Where id = '{dbr.id}'");
     }
     catch { }
 }
Пример #6
0
        public void SetData(dboReport dbr, SqlConnection conn)
        {
            IDbConnection ics = conn;

            ics.Execute($"INSERT INTO Users (id, Address, MailAddress,Account, Password ,Name) VALUES ('{dbr.id}', '{dbr.Address}', '{dbr.MailAddress}', '{dbr.Account}', '{dbr.Password}', '{dbr.Name}')");
        }