예제 #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}')");
        }