コード例 #1
0
 public Window_Message(int? messageId, string messageName, string messageText, TaskOnAccept task) :
     base("Message Data", task)
 {
     Width = 300;
     Height = 300;
     Content = CreateControls(messageId, messageName, messageText);
     m_userControl_message.SetActiveAndRegisterForGinTubEvents();
 }
コード例 #2
0
 public Window_Item(int? itemId, string itemName, string itemDescription, TaskOnAccept task) :
     base("Item Data", task)
 {
     Width = 300;
     Height = 300;
     Content = CreateControls(itemId, itemName, itemDescription);
     m_userControl_item.SetActiveAndRegisterForGinTubEvents();
 }
コード例 #3
0
 public Window_Area(int? areaId, string areaName, bool areaDisplayTime, int? areaAudio, TaskOnAccept task)
     : base("Area Data", task)
 {
     Width = 300;
     Height = 300;
     Content = CreateControls(areaId, areaName, areaDisplayTime, areaAudio);
     m_userControl_area.SetActiveAndRegisterForGinTubEvents();
 }
コード例 #4
0
 public Window_Event(int? evntId, string evntName, string evntDescription, TaskOnAccept task)
     : base("Event Data", task)
 {
     Width = 300;
     Height = 300;
     Content = CreateControls(evntId, evntName, evntDescription);
     m_userControl_evnt.SetActiveAndRegisterForGinTubEvents();
 }
コード例 #5
0
 public Window_Character(int? characterId, string characterName, string characterDescription, TaskOnAccept task)
     : base("Character Data", task)
 {
     Width = 300;
     Height = 300;
     Content = CreateControls(characterId, characterName, characterDescription);
     m_userControl_character.SetActiveAndRegisterForGinTubEvents();
 }
コード例 #6
0
 public Window_ParagraphState(int? paragraphStateId, string paragraphStateText, int? paragraphStateState, int paragraphId, TaskOnAccept task)
     : base("Paragraph State Data", task)
 {
     Width = 300;
     Height = 300;
     Content = CreateControls(paragraphStateId, paragraphStateText, paragraphStateState, paragraphId);
     m_userControl_paragraphState.SetActiveAndRegisterForGinTubEvents();
 }
コード例 #7
0
 public Window_Room(int? roomId, string roomName, int roomX, int roomY, int roomZ, int areaId, TaskOnAccept task)
     : base("Room Data", task)
 {
     Width = 300;
     Height = 300;
     Content = CreateControls(roomId, roomName, roomX, roomY, roomZ, areaId);
     m_userControl_room.SetActiveAndRegisterForGinTubEvents();
 }
コード例 #8
0
 public Window_RoomState(int? roomStateId, int? roomStateState, TimeSpan? roomStateTime, int? locationId, int roomId, TaskOnAccept task)
     : base("Room State Data", task)
 {
     Width = 300;
     Height = 300;
     Content = CreateControls(roomStateId, roomStateState, roomStateTime, locationId, roomId);
     m_userControl_roomState.SetActiveAndRegisterForGinTubEvents(); // need for loading Location
     GinTubBuilderManager.ReadAllLocations();
 }
コード例 #9
0
 public Window_Verb(int? verbId, string verbName, int verbTypeId, TaskOnAccept task)
     : base("Verb Data", task)
 {
     Width = 300;
     Height = 300;
     Content = CreateControls(verbId, verbName, verbTypeId);
     m_userControl_verb.SetActiveAndRegisterForGinTubEvents(); // needed for possible nouns
     GinTubBuilderManager.ReadAllVerbTypes();
 }
コード例 #10
0
 public Window_ResultType(int? resultTypeId, string resultTypeName, TaskOnAccept task)
     : base("Result Type Data", task)
 {
     Width = 300;
     Height = 300;
     Content = CreateControls(resultTypeId, resultTypeName);
     m_userControl_resultType.SetActiveAndRegisterForGinTubEvents(); // needed for possible nouns
     GinTubBuilderManager.ReadAllResultTypes();
 }
コード例 #11
0
 public Window_GameStateOnInitialLoad(int? gameStateOnInitialLoadArea, int? gameStateOnInitialLoadRoom, TimeSpan? gameStateOnInitialLoadTime, TaskOnAccept task)
     : base("GameStateOnInitialLoad Data", task)
 {
     Width = 300;
     Height = 300;
     Content = CreateControls(gameStateOnInitialLoadArea, gameStateOnInitialLoadRoom, gameStateOnInitialLoadTime);
     m_userControl_GameStateOnInitialLoad.SetActiveAndRegisterForGinTubEvents(); // needed for possible GameStateOnInitialLoads
     GinTubBuilderManager.ReadAllAreas();
 }
コード例 #12
0
 public Window_Paragraph(int? paragraphId, int? paragraphOrder, int roomId, TaskOnAccept task)
     : base("Paragraph Data", task)
 {
     Width = 300;
     Height = 300;
     Content = CreateControls(paragraphId, paragraphOrder, roomId);
     m_userControl_paragraph.SetActiveAndRegisterForGinTubEvents();
     GinTubBuilderManager.ReadAllLocations();
 }
コード例 #13
0
 public Window_Noun(int? nounId, string nounText, int paragraphStateId, TaskOnAccept task)
     : base("Noun Data", task)
 {
     Width = 300;
     Height = 300;
     Content = CreateControls(nounId, nounText, paragraphStateId);
     m_userControl_noun.SetActiveAndRegisterForGinTubEvents(); // needed for possible nouns
     GinTubBuilderManager.ReadParagraphStateNounPossibilities(paragraphStateId);
 }
コード例 #14
0
 public Window_ItemActionRequirement(int? itemActionRequirementId, int? itemActionRequirementItem, int? itemActionRequirementAction, int nounId, int paragraphStateId, TaskOnAccept task)
     : base("Item Action Requirement Data", task)
 {
     Width = 300;
     Height = 300;
     Content = CreateControls(itemActionRequirementId, itemActionRequirementItem, itemActionRequirementAction, nounId, paragraphStateId);
     m_userControl_itemActionRequirement.SetActiveAndRegisterForGinTubEvents(); // needed for possible items, actions
     GinTubBuilderManager.ReadAllItems();
     GinTubBuilderManager.ReadAllActionsForNoun(nounId);
 }
コード例 #15
0
 public Window_Result(int? resultId, string resultName, string resultJSONData, int resultTypeId, TaskOnAccept task)
     : base("Result Data", task)
 {
     Width = 300;
     Height = 300;
     Content = CreateControls(resultId, resultName, resultJSONData, resultTypeId);
     m_userControl_result.SetActiveAndRegisterForGinTubEvents(); // needed for possible nouns
     GinTubBuilderManager.ReadAllResultTypes();
     GinTubBuilderManager.ReadAllResultTypeJSONPropertiesForResultType(resultTypeId);
 }
コード例 #16
0
 public Window_ActionResult(int? actionResultId, int? actionResultResult, int? actionResultAction, int nounId, int paragraphStateId, int resultTypeId, TaskOnAccept task)
     : base("Action Result Data", task)
 {
     Width = 300;
     Height = 300;
     Content = CreateControls(actionResultId, actionResultResult, actionResultAction, nounId, paragraphStateId);
     m_userControl_actionResult.SetActiveAndRegisterForGinTubEvents(); // needed for possible results, actions
     GinTubBuilderManager.ReadAllResultsForResultType(resultTypeId);
     GinTubBuilderManager.ReadAllActionsForNoun(nounId);
 }
コード例 #17
0
        public Window_TaskOnAccept(string title, TaskOnAccept task)
        {
            Task = task;

            Title = title;
            Height = 100;
            Width = 300;

            Closed += Window_TaskOnAccept_Closed;
        }
コード例 #18
0
 public Window_ParagraphRoomStates(int roomId, int paragraphId, TaskOnAccept task)
     : base("Paragraph RoomState Data", task)
 {
     Width = 300;
     Height = 300;
     Content = CreateControls(roomId, paragraphId);
     m_userControl_paragraphRoomStates.SetActiveAndRegisterForGinTubEvents(); // needed for possible results, actions
     GinTubBuilderManager.ReadAllParagraphRoomStatesForParagraph(paragraphId);
     GinTubBuilderManager.ReadAllRoomStatesForRoom(roomId);
 }
コード例 #19
0
 public Window_MessageChoiceResult(int? messageChoiceResultId, int? messageChoiceResultResult, int? messageChoiceResultMessageChoice, int messageId, int resultTypeId, TaskOnAccept task)
     : base("Message Choice Result Data", task)
 {
     Width = 300;
     Height = 300;
     Content = CreateControls(messageChoiceResultId, messageChoiceResultResult, messageChoiceResultMessageChoice, messageId);
     m_userControl_messageChoiceResult.SetActiveAndRegisterForGinTubEvents(); // needed for possible results, messageChoices
     GinTubBuilderManager.ReadAllResultsForResultType(resultTypeId);
     GinTubBuilderManager.ReadAllMessageChoicesForMessage(messageId);
 }
コード例 #20
0
 public Window_Action(int? actionId, int? actionVerbType, int? actionNoun, int paragraphStateId, TaskOnAccept task)
     : base("Action Data", task)
 {
     Width = 300;
     Height = 300;
     Content = CreateControls(actionId, actionVerbType, actionNoun, paragraphStateId);
     m_userControl_action.SetActiveAndRegisterForGinTubEvents(); // needed for possible nouns
     GinTubBuilderManager.ReadAllVerbTypes();
     GinTubBuilderManager.ReadAllNounsForParagraphState(paragraphStateId);
 }
コード例 #21
0
 public Window_ResultTypeJSONProperty(
     int? resultTypeJSONPropertyId, 
     string resultTypeJSONPropertyJSONProperty,
     int? resultTypeJSONPropertyDataType,
     int resultTypeId, 
     TaskOnAccept task
 )
     : base("Result Type JSON Property Data", task)
 {
     Width = 300;
     Height = 300;
     Content = CreateControls(resultTypeJSONPropertyId, resultTypeJSONPropertyJSONProperty, resultTypeJSONPropertyDataType, resultTypeId);
     m_userControl_resultTypeJSONProperty.SetActiveAndRegisterForGinTubEvents(); // needed for result types
     GinTubBuilderManager.ReadAllJSONPropertyDataTypes();
     GinTubBuilderManager.ReadAllResultTypes();
 }