1using System.Collections.Generic;
17 foreach (KeyValuePair<
string, Dictionary<string, string>> item2
in item.sheets[
"_default"].map)
19 item2.Deconstruct(out var key, out var value);
21 Dictionary<string, string> dictionary = value;
22 if (
all.TryAdd(key2, dictionary))
27 foreach (KeyValuePair<string, string> item3
in dictionary)
29 item3.Deconstruct(out key, out var value2);
31 string value3 = value2;
32 all[key2][key3] = value3;
39 public string GetTalk(
string id,
string idTopic)
41 Dictionary<string, string> row =
GetRow(idTopic);
42 return ((row ==
null) ?
null : row.TryGetValue(
id)?.SplitByNewline().RandomItem()) ??
"";
Dictionary< string, Dictionary< string, string > > all
List< Dictionary< string, string > > list
Dictionary< string, string > GetRow(string id)
string GetTalk(string id, string idTopic)
override void Initialize()