/// <summary> /// Add a skill to Skill List /// </summary> /// <param name="pc">Player</param> /// <param name="skillid">Skill to be added</param> /// <param name="slot">Slot</param> public static void SendAddSkill(ActorPC pc, uint skillid, byte slot) { ActorEventHandlers.PC_EventHandler eh = (ActorEventHandlers.PC_EventHandler)pc.e; Packets.Server.SkillAdd p1 = new SagaMap.Packets.Server.SkillAdd(); p1.SetSkill(skillid); p1.SetSlot(slot); eh.C.netIO.SendPacket(p1, eh.C.SessionID); }
/// <summary> /// Add a skill to Skill List /// </summary> /// <param name="pc">Player</param> /// <param name="skillid">Skill to be added</param> /// <param name="slot">Slot</param> public static void SendAddSkill(ActorPC pc, uint skillid, byte slot) { ActorEventHandlers.PC_EventHandler eh = (ActorEventHandlers.PC_EventHandler)pc.e; Packets.Server.SkillAdd p1 = new SagaMap.Packets.Server.SkillAdd(); p1.SetSkill(skillid); p1.SetSlot(slot); eh.C.netIO.SendPacket(p1, eh.C.SessionID); }