public void OnActorStartsMoving(Actor mActor, float[] pos, float[] accel, int yaw, ushort speed, uint delayTime) { //send actorMoveStart Packets.Server.ActorMoveStart p1 = new SagaMap.Packets.Server.ActorMoveStart(); p1.SetActorID(mActor.id); p1.SetLocation(pos[0], pos[1], pos[2]); p1.SetAcceleration(accel[0], accel[1], accel[2]); p1.SetYaw(yaw); p1.SetSpeed(speed); p1.SetDelay1(delayTime); C.netIO.SendPacket(p1, C.SessionID); }
public void OnActorStartsMoving(Actor mActor, float[] pos, float[] accel, int yaw, ushort speed, uint delayTime) { //send actorMoveStart Packets.Server.ActorMoveStart p1 = new SagaMap.Packets.Server.ActorMoveStart(); p1.SetActorID(mActor.id); p1.SetLocation(pos[0], pos[1], pos[2]); p1.SetAcceleration(accel[0], accel[1], accel[2]); p1.SetYaw(yaw); p1.SetSpeed(speed); p1.SetDelay1(delayTime); C.netIO.SendPacket(p1, C.SessionID); }