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

            loadLogfile();
        }
Example #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));
        }
Example #6
0
 public EventHandler(EveryTime plugin)
 {
     this.plugin             = plugin;
     plugin.onlinePlayerList = new List <PlayerData> {
     };
 }
Example #7
0
 public ResetPlayTimeCommand(EveryTime plugin)
 {
     this.plugin = plugin;
 }
 public RemovePlayTimeCommand(EveryTime everyTime)
 {
     this.everyTime = everyTime;
 }
Example #9
0
 public GetTopCommand(EveryTime plugin)
 {
     this.plugin = plugin;
 }