public void OnCommand(IAccount account, string[] args) { account.Character.Jobs.ForEach(job => Logger.Default.Log( D2OParsing.GetJobName(job.JobId) + " | Level: " + job.JobLevel + " | Exp: " + job.JobXP, LogMessageType.Admin)); }
private void HandleJobLevelUpMessage(IAccount account, JobLevelUpMessage message) { var jobName = D2OParsing.GetJobName(message.JobsDescription.JobId); Logger.Default.Log("Votre métier " + jobName + " vient de passer niveau " + message.NewLevel); }
private void JobLevelUpMessageHandler(DofusClient client, JobLevelUpMessage message) { var jobName = D2OParsing.GetJobName(message.JobsDescription.JobId); client.Logger.Log("Votre métier de " + jobName + " vient de passer niveau " + message.NewLevel); }
public void OnCommand(DofusClient client, string[] args) { client.Account.Character.Jobs.ForEach(job => client.Logger.Log(D2OParsing.GetJobName(job.JobId) + " | Level: " + job.JobLevel + " | Exp: " + job.JobXP, LogMessageType.Admin)); }