private void SendShipNew(Vector3 rotateAxis, Vector3 engineAxis) { if (m_Property.GetMotionType() == MotionType.Mmo) { HeroMoveHandler.SyncMMoMove( engineAxis, rotateAxis, m_Property.GetCurrentState().GetOnlyServerState(), (uint)m_GameplayProxy.GetCurrentAreaUid(), m_GameplayProxy.ClientToServerAreaOffset(m_Rigidbody.position), m_Rigidbody.rotation, m_Rigidbody.velocity, m_Rigidbody.angularVelocity ); } else if (m_Property.GetMotionType() == MotionType.Dof4) { HeroMoveHandler.SyncDof4Move( engineAxis, rotateAxis, m_Property.GetCurrentState().GetOnlyServerState(), (uint)m_GameplayProxy.GetCurrentAreaUid(), m_GameplayProxy.ClientToServerAreaOffset(m_Rigidbody.position), m_Rigidbody.rotation, m_Rigidbody.velocity, m_Rigidbody.angularVelocity ); } else if (m_Property.GetMotionType() == MotionType.Dof6) { HeroMoveHandler.SyncDof6Move( engineAxis, rotateAxis, m_Property.GetCurrentState().GetOnlyServerState(), (uint)m_GameplayProxy.GetCurrentAreaUid(), m_GameplayProxy.ClientToServerAreaOffset(m_Rigidbody.position), m_Rigidbody.rotation, m_Rigidbody.velocity, m_Rigidbody.angularVelocity ); } }