| | |
| | | int dialogueNpcId = 0; |
| | | int[] speakTypes = null; |
| | | string[] dialogues = null;
|
| | | int autoDialogueSecond = 10;
|
| | |
|
| | | static GA_NpcClientFunc m_Npc; |
| | | |
| | |
| | | dialogueNpcId = int.Parse(funcConfig.Numerical1);
|
| | | speakTypes = ConfigParse.GetMultipleStr<int>(funcConfig.Numerical2);
|
| | | dialogues = ConfigParse.GetMultipleStr(funcConfig.Numerical3);
|
| | |
|
| | | funcConfig = FuncConfigConfig.Get("TaskContinue");
|
| | | autoDialogueSecond = int.Parse(funcConfig.Numerical2);
|
| | |
|
| | | initialized = true;
|
| | | }
|
| | |
|
| | |
| | | NormalDialogueWin.dialogues = dialogues;
|
| | | NormalDialogueWin.speakTypes = speakTypes;
|
| | | NormalDialogueWin.npcId = dialogueNpcId;
|
| | | NormalDialogueWin.autoSeconds = 10;
|
| | | NormalDialogueWin.autoSeconds = autoDialogueSecond;
|
| | | WindowCenter.Instance.Open<NormalDialogueWin>();
|
| | | }
|
| | |
|