36 m_topicsList.ItemWidgetFactory = delegate(
object item) {
40 obj.Children.Find<
LabelWidget>(
"HelpTopicItem.Title").Text = helpTopic3.
Title;
45 if (helpObject !=
null) {
46 foreach (KeyValuePair<string, JsonNode> item
in helpObject) {
47 JsonNode item3 = item.Value;
48 JsonNode displa = item3[
"DisabledPlatforms"];
50 && displa.GetValueKind() == JsonValueKind.String) {
51 if (displa.GetValue<
string>()
52 .Split([
","], StringSplitOptions.None)
58 JsonNode Title = item3[
"Title"];
59 JsonNode Name1 = item3[
"Name"];
60 JsonNode value = item3[
"value"];
61 string attributeValue = Name1 !=
null && Name1.GetValueKind() == JsonValueKind.String ? Name1.GetValue<
string>() :
string.Empty;
62 string attributeValue2 = Title !=
null && Title.GetValueKind() == JsonValueKind.String ? Title.GetValue<
string>() :
string.Empty;
63 string text =
string.Empty;
65 string[] array = value.GetValue<
string>().Split([
"\n"], StringSplitOptions.None);
66 foreach (
string text2
in array) {
67 text = $
"{text}{text2.Trim()} ";
69 text = text.Replace(
"\r",
"");
70 text = text.Replace(
"’",
"'");
71 text = text.Replace(
"\\n",
"\n");
73 bool floatParseSucceed =
float.TryParse(item.Key, out
float index);
75 Index = floatParseSucceed ? index : 0f,
Name = attributeValue, Title = attributeValue2, Text = text
77 if (!
string.IsNullOrEmpty(helpTopic.
Name)) {