Beispiel #1
0
 void MQOEvents_onStatReady(object obj)
 {
     CharacterShort = (string)obj;
     if (StatsActive && isConnected)
     {
         string parsedStats = "";
         parsedStats += ParseStats("PlayerName") + ",";
         parsedStats += ParseStats("PlayerHP") + ",";
         parsedStats += ParseStats("PlayerMana") + ",";
         parsedStats += ParseStats("PlayerLevel") + ",";
         parsedStats += ParseStats("Gold") + ",";
         parsedStats += ParseStats("Elements") + ",";
         parsedStats += ParseStats("Chests") + ",";
         parsedStats += ParseStats("Relics") + ",";
         parsedStats += ParseStats("StatPoints") + ",";
         parsedStats += ParseStats("Workload") + ",";
         parsedStats += ParseStats("PlayerLevelPercent") + ",";
         parsedStats += ParseStats("Skill1Percent") + ",";
         parsedStats += ParseStats("Skill1") + ",";
         parsedStats += ParseStats("Skill2Percent") + ",";
         parsedStats += ParseStats("Skill2");
         MQOEvents.StatUpdate(parsedStats);
     }
     //}
 }