public static Int32 IEE_MentalCommandGetTrainingAction(UInt32 userId, out IEE_MentalCommandAction_t pActionOut) { return(Unmanged_IEE_MentalCommandGetTrainingAction(userId, out pActionOut)); }
public static Int32 IEE_MentalCommandGetActionSkillRating(UInt32 userId, IEE_MentalCommandAction_t action, out Single pActionSkillRatingOut) { return(Unmanged_IEE_MentalCommandGetActionSkillRating(userId, action, out pActionSkillRatingOut)); }
static extern Int32 Unmanged_IEE_MentalCommandGetActionSkillRating(UInt32 userId, IEE_MentalCommandAction_t action, out Single pActionSkillRatingOut);
public static Int32 IEE_MentalCommandSetTrainingAction(UInt32 userId, IEE_MentalCommandAction_t action) { return(Unmanged_IEE_MentalCommandSetTrainingAction(userId, action)); }
static extern Int32 Unmanged_IEE_MentalCommandSetTrainingAction(UInt32 userId, IEE_MentalCommandAction_t action);
static extern Int32 Unmanged_IEE_MentalCommandGetTrainingAction(UInt32 userId, out IEE_MentalCommandAction_t pActionOut);
public static Int32 IEE_MentalCommandGetTrainingAction(UInt32 userId, out IEE_MentalCommandAction_t pActionOut) { return Unmanged_IEE_MentalCommandGetTrainingAction(userId, out pActionOut); }
public static Int32 IEE_MentalCommandGetActionSkillRating(UInt32 userId, IEE_MentalCommandAction_t action, out Single pActionSkillRatingOut) { return Unmanged_IEE_MentalCommandGetActionSkillRating(userId, action, out pActionSkillRatingOut); }
public static Int32 IEE_MentalCommandSetTrainingAction(UInt32 userId, IEE_MentalCommandAction_t action) { return Unmanged_IEE_MentalCommandSetTrainingAction(userId, action); }
/// <summary> /// Chequea si el evento que recibe es del tipo typeToCompare, en caso de serlo setea las propiedades del MentalCommand /// </summary> /// <param name="emoState">Evento contra el cual se comparara</param> /// <param name="typeToCompare">Tipo de evento sobre el cual se intenta comparar</param> /// <param name="powerToSet">Si la comparación de tipo de eventos fue exitosá se setea este power</param> /// <param name="typeToSet">Si la comparación de tipo de eventos fue exitosá se setea este type</param> public static bool IsToSetType(this MentalCommand mentalCommand, EmoState emoState, IEE_MentalCommandAction_t typeToCompare, float powerToSet, MentalCommandEnum typeToSet) { if (emoState.MentalCommandGetCurrentAction() == typeToCompare) { //wasLowerExpression = _facialExpressionDto.LowerFace.IsTheSameThanPrevious(_facialExpressionDto.LowerFace.Type, power); mentalCommand.Change(typeToSet, powerToSet); return(true); } return(false); }