public void GetDesPos(stGetDstPosDataUserCmd_CS cmd) { IEntity player = EntitySystem.EntityHelper.GetEntity(SceneEntryType.SceneEntry_Player, cmd.userid); //Move move = new Move(); //move.m_speed = player.GetProp( (int)CreatureProp.MoveSpeed ) * 0.001f; // 速度为测试速度 ////move.m_target = scenePos; //move.strRunAct = Client.EntityAction.Run; //move.path = new List<Vector3>(); //move.path.Add( new Vector3( cmd.x , 0 , -cmd.y ) ); if (player != null) { ISkillPart skillPart = player.GetPart(EntityPart.Skill) as ISkillPart; skillPart.GetDesPos(cmd); } //IEntity npc = EntitySystem.EntityHelper.GetEntity( SceneEntryType.SceneEntry_NPC , cmd.npcid ); //if(npc != null) //{ // npc.SendMessage( EntityMessage.EntityCommand_MovePath , (object)move ); //} }