//********************************** Banshee Engine (www.banshee3d.com) **************************************************// //**************** Copyright (c) 2016 Marko Pintera (marko.pintera@gmail.com). All rights reserved. **********************// #pragma once #include "BsCorePrerequisites.h" #include "BsRTTIType.h" #include "BsCCharacterController.h" #include "BsGameObjectRTTI.h" namespace BansheeEngine { /** @cond RTTI */ /** @addtogroup RTTI-Impl-Core * @{ */ class BS_CORE_EXPORT CCharacterControllerRTTI : public RTTIType { private: BS_BEGIN_RTTI_MEMBERS BS_RTTI_MEMBER_PLAIN_NAMED(mPosition, mDesc.position, 0) BS_RTTI_MEMBER_PLAIN_NAMED(mContactOffset, mDesc.contactOffset, 1) BS_RTTI_MEMBER_PLAIN_NAMED(mStepOffset, mDesc.stepOffset, 2) BS_RTTI_MEMBER_PLAIN_NAMED(mSlopeLimit, mDesc.slopeLimit, 3) BS_RTTI_MEMBER_PLAIN_NAMED(mMinMoveDistance, mDesc.minMoveDistance, 4) BS_RTTI_MEMBER_PLAIN_NAMED(mHeight, mDesc.height, 5) BS_RTTI_MEMBER_PLAIN_NAMED(mRadius, mDesc.radius, 6) BS_RTTI_MEMBER_PLAIN_NAMED(mUp, mDesc.up, 7) BS_RTTI_MEMBER_PLAIN_NAMED(mClimbingMode, mDesc.climbingMode, 8) BS_RTTI_MEMBER_PLAIN_NAMED(mNonWalkableMode, mDesc.nonWalkableMode, 9) BS_RTTI_MEMBER_PLAIN(mLayer, 10) BS_END_RTTI_MEMBERS public: CCharacterControllerRTTI() :mInitMembers(this) { } const String& getRTTIName() override { static String name = "CCharacterController"; return name; } UINT32 getRTTIId() override { return TID_CCharacterController; } SPtr newRTTIObject() override { return GameObjectRTTI::createGameObject(); } }; /** @} */ /** @endcond */ }