예제 #1
0
 void OnDelete(AccountDeleteEventArgs e)
 {
     db.Query("DELETE FROM `onlineannounce` WHERE userid=@0;", e.User.ID.ToString());
     TShock.Log.Info("{0} has been removed from the onlineannounce database.", e.User.Name);
 }
예제 #2
0
 public void OnAccDelete(AccountDeleteEventArgs args)
 {
     db.Query("DELETE FROM Permabuffs WHERE UserID=@0;", args.User.ID);
 }