From 5c7d6ce43de0c5385f080b399f2f6fd0e56adcd7 Mon Sep 17 00:00:00 2001 From: Tazpn <tazpn@users.sourceforge.net> Date: Mon, 21 Aug 2006 01:29:18 +0000 Subject: [PATCH] Looks like a missed commit or SVN is acting weird on me. Adding some helpers on to access priority on controllers. --- obj/NiControllerSequence.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/obj/NiControllerSequence.h b/obj/NiControllerSequence.h index 40f47757..2a0dede4 100644 --- a/obj/NiControllerSequence.h +++ b/obj/NiControllerSequence.h @@ -103,6 +103,24 @@ public: CycleType GetCycleType() const; void SetCycleType( CycleType n ); + /*! Get Number of Controllers + * \return Number of total controllers in this sequence + * \sa GetControllerData + */ + int GetNumControllers() const; + + /*! Get Controller Priority + * \return Priority of a specific controller + * \sa GetControllerData, GetNumControllers, SetControllerPriority + */ + int GetControllerPriority( int controller ) const; + + /*! Get Controller Priority + * \return Priority of a specific controller + * \sa GetControllerData, GetNumControllers, GetControllerPriority + */ + void SetControllerPriority( int controller, int priority ); + protected: NiControllerManager * NiControllerSequence::Parent() const; NI_CONTROLLER_SEQUENCE_MEMBERS -- GitLab