public void SetPlayerOnline(dboReport dboreport) { if (conn == null) { return; } asc.SetOnline(dboreport, conn); }
public void SetServerData(dboReport dboreport) { if (conn == null) { return; } asc.SetData(dboreport, conn); }
public void SetPlayerLeaveVoiceChat(dboReport dboreport) { if (conn == null) { return; } asc.SetPlayerLeaveChat(dboreport, conn); }
public void SetOffline(dboReport dbr, SqlConnection conn) { try { IDbConnection ics = conn; ics.Execute($"Update Users Set OnlineNum = 0 Where id = '{dbr.id}'"); } catch { } }
public void SetPlayerLeaveChat(dboReport dbr, SqlConnection conn) { try { IDbConnection ics = conn; ics.Execute($"Update Users Set InVoiceChat = 0 Where id = '{dbr.id}'"); } catch { } }
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}')"); }