public static string Get(uint stringId) { if (m_reader == null) { m_reader = new MyXmlReader <string>(GameData.locale); } string[] path = { key + stringId.ToString() }; return(m_reader.GetInnerText(path)); }
public static uint GetPrice(uint level) { if (m_reader == null) { m_reader = new MyXmlReader <uint>(GameData.LEVELS_PATH); } string[] path = { key + level.ToString() }; return(m_reader.GetInnerText(path)); }