Gems/EMotionFX/Code/EMotionFX/CommandSystem/Source/MotionCommands.cpp
void CommandAdjustMotion::InitSyntax()
    {
        GetSyntax().ReserveParameters(6);
        GetSyntax().AddRequiredParameter("motionID",         "The id of the motion to adjust.",                                                     MCore::CommandSyntax::PARAMTYPE_INT);
        GetSyntax().AddParameter("dirtyFlag",                "The dirty flag indicates whether the user has made changes to the motion or not.",    MCore::CommandSyntax::PARAMTYPE_BOOLEAN, "false");
        GetSyntax().AddParameter("name",                     "The name of the motion.",                                                             MCore::CommandSyntax::PARAMTYPE_STRING, "Unknown Motion");
        GetSyntax().AddParameter("motionExtractionFlags",    "The motion extraction flags value.",                                                  MCore::CommandSyntax::PARAMTYPE_INT, "0");
    }
// init the syntax of the command
init the syntax of the command
init the syntax of the command
void CommandAdjustMotion::InitSyntax()
    {
        GetSyntax().ReserveParameters(6);
        GetSyntax().AddRequiredParameter("motionID",         "The id of the motion to adjust.",                                                     MCore::CommandSyntax::PARAMTYPE_INT);
        GetSyntax().AddParameter("dirtyFlag",                "The dirty flag indicates whether the user has made changes to the motion or not.",    MCore::CommandSyntax::PARAMTYPE_BOOLEAN, "false");
        GetSyntax().AddParameter("name",                     "The name of the motion.",                                                             MCore::CommandSyntax::PARAMTYPE_STRING, "Unknown Motion");
        GetSyntax().AddParameter("motionExtractionFlags",    "The motion extraction flags value.",                                                  MCore::CommandSyntax::PARAMTYPE_INT, "0");
    }
void CommandAdjustMotion :: InitSyntax ( ) { GetSyntax ( ) . ReserveParameters ( 6 ) ; GetSyntax ( ) . AddRequiredParameter ( " " , " " , MCore :: CommandSyntax :: PARAMTYPE_INT ) ; GetSyntax ( ) . AddParameter ( " " , " " , MCore :: CommandSyntax :: PARAMTYPE_BOOLEAN , " " ) ; GetSyntax ( ) . AddParameter ( " " , " " , MCore :: CommandSyntax :: PARAMTYPE_STRING , " " ) ; GetSyntax ( ) . AddParameter ( " " , " " , MCore :: CommandSyntax :: PARAMTYPE_INT , " " ) ; }
init the syntax of the command
init the syntax of the command