AtiLin
Recruit
Мy first experience.
I do it according to the tutorial and i have problem.
Module.CurrentModule.AddInitialStateOption(new InitialStateOption("Message",
new TextObject("Message", null),
9990,
() => { InformationManager.DisplayMessage(new InformationMessage("Hello World!")); },
false));
Compiler Error CS1503 - unable to convert from "bool" to "System.Func<(bool, TaleWorlds.Localization.TextObject)>".
How to replace "false" with this "Func<(bool, TextObject)"?
I do it according to the tutorial and i have problem.
Module.CurrentModule.AddInitialStateOption(new InitialStateOption("Message",
new TextObject("Message", null),
9990,
() => { InformationManager.DisplayMessage(new InformationMessage("Hello World!")); },
false));
Compiler Error CS1503 - unable to convert from "bool" to "System.Func<(bool, TaleWorlds.Localization.TextObject)>".
How to replace "false" with this "Func<(bool, TextObject)"?