public void UpdateNarrationMessage(NarrationMessageData MessageData) { NowMessageTpye = DataTpye.Narration; messageTextDatas = MessageData.MessageTexts; nowMessageIndex = 0; nextMessage = MessageData.NextMessageEvent; UpdateDuihuakuangMessage(); }
public void UpdateRadioMessage(RadioMessageData MessageData) { nextMessage = MessageData.NextMessageEvent; NowMessageTpye = DataTpye.Radio; IsTrue = true; messageTextDatas = MessageData.MessageTexts; nowMessageIndex = 0; }
public void UpdateTalkMessage(TalkMessageData MessageData) { NowMessageTpye = DataTpye.Talk; messageTextDatas = MessageData.MessageTexts; nowMessageIndex = 0; nextMessage = MessageData.NextMessageEvent; UpdateDuihuakuangMessage(); }
public void UpdateMessage(MessageData MessageData) { if (MessageData is TalkMessageData) { NowMessageTpye = DataTpye.Talk; } else if (MessageData is NarrationMessageData) { NowMessageTpye = DataTpye.Narration; } messageTextDatas = MessageData.MessageTexts; nowMessageIndex = 0; nextMessage = MessageData.NextMessageEvent; UpdateDuihuakuangMessage(); }