public static TranslationAction CreateForSpecialIdentifier(CultureInfo culture, string text, bool allowProfanity, string specialIdentifierName) { TranslationAction action = new TranslationAction(culture, text, allowProfanity, TranslationResponseActionTypeEnum.SpecialIdentifier); action.SpecialIdentifierName = specialIdentifierName; return(action); }
public static TranslationAction CreateForChat(CultureInfo culture, string text, bool allowProfanity, string chatText) { TranslationAction action = new TranslationAction(culture, text, allowProfanity, TranslationResponseActionTypeEnum.Chat); action.ResponseChatText = chatText; return(action); }
public static TranslationAction CreateForCommand(CultureInfo culture, string text, bool allowProfanity, CommandBase command, string arguments) { TranslationAction action = new TranslationAction(culture, text, allowProfanity, TranslationResponseActionTypeEnum.Command); action.ResponseCommandID = command.ID; action.ResponseCommandArgumentsText = arguments; return(action); }