Ejemplo n.º 1
0
 public static LogHandler getInstance(EveryTime plugin)
 {
     if (instance == null)
     {
         instance = new LogHandler(plugin);
     }
     return(instance);
 }
Ejemplo n.º 2
0
 public GetRankListCommand(EveryTime plugin)
 {
     this.plugin = plugin;
 }
Ejemplo n.º 3
0
 public TestEventHandler(EveryTime everyTime)
 {
     this.everyTime = everyTime;
 }
Ejemplo n.º 4
0
        public LogHandler(EveryTime plugin)
        {
            this.plugin = plugin;

            loadLogfile();
        }
Ejemplo n.º 5
0
        public static bool userHasData(string steamId, EveryTime plugin)
        {
            XDocument logFile = XDocument.Load(plugin.logFileLocation);

            return(logFile.Element("Users").Elements("User").Attributes("steamId").Any(att => att.Value == steamId));
        }
Ejemplo n.º 6
0
 public EventHandler(EveryTime plugin)
 {
     this.plugin             = plugin;
     plugin.onlinePlayerList = new List <PlayerData> {
     };
 }
Ejemplo n.º 7
0
 public ResetPlayTimeCommand(EveryTime plugin)
 {
     this.plugin = plugin;
 }
Ejemplo n.º 8
0
 public RemovePlayTimeCommand(EveryTime everyTime)
 {
     this.everyTime = everyTime;
 }
Ejemplo n.º 9
0
 public GetTopCommand(EveryTime plugin)
 {
     this.plugin = plugin;
 }