private void HandleLearnNewSkill(LearnNewSkillPacket learnNewSkillsPacket) { LearnNewSkill(learnNewSkillsPacket.SkillId, learnNewSkillsPacket.SkillLevel); }
public void Handle(WorldClient client, LearnNewSkillPacket packet) { var result = _skillsManager.TryLearnNewSkill(packet.SkillId, packet.SkillLevel); _packetFactory.SendLearnedNewSkill(client, result.Ok, result.Skill); }