Exemple #1
0
 private Command(string name, Server server, Client client, string details, bool isFromServer, string type, Game game = null)
 {
     Name = name;
     Server = server;
     Client = client;
     Details = details;
     IsFromServer = isFromServer;
     Type = type;
     Game = game;
     ExecutionTime = DateTime.Now;
 }
Exemple #2
0
 private static void RegisterCommand(string name, Server srv, Client cli, string detail, bool isFromServer, string type, Game g = null)
 {
     Database.CommandsToLog.Add(new Command(name, srv, cli, detail, isFromServer, type, g));
 }
Exemple #3
0
 public static void RegisterGameCommandFromServer(string name, Game game, Client cli, string detail)
 {
     RegisterCommand(name, game.Table.Server, cli, detail, true, GAME, game);
 }