public void SetAnimation(ActorPC pc, uint ani) { ActorEventHandlers.PC_EventHandler eh = (SagaMap.ActorEventHandlers.PC_EventHandler)pc.e; Packets.Server.ActorAnimation p = new SagaMap.Packets.Server.ActorAnimation(); p.SetActor(this.ActorI.id); p.SetAnimation(ani); eh.C.netIO.SendPacket(p, eh.C.SessionID); }
public void SetAnimation( ActorPC pc, uint ani ) { ActorEventHandlers.PC_EventHandler eh = (SagaMap.ActorEventHandlers.PC_EventHandler)pc.e; Packets.Server.ActorAnimation p = new SagaMap.Packets.Server.ActorAnimation(); p.SetActor( this.ActorI.id ); p.SetAnimation( ani ); eh.C.netIO.SendPacket(p, eh.C.SessionID); }