Ejemplo n.º 1
0
    // Token: 0x060003C1 RID: 961 RVA: 0x0001160C File Offset: 0x0000FA0C
    private static void CreateContent()
    {
        XmlDocument xmlDocument = new XmlDocument();

        xmlDocument.LoadXml(Resources.Load("LocalizationText").ToString());
        if (xmlDocument == null)
        {
            Console.WriteLine("Couldnt Load Xml");
            return;
        }
        if (LocalizationText._content != null)
        {
            LocalizationText._content.Clear();
        }
        XmlNode xNode = xmlDocument.ChildNodes.Item(1).ChildNodes.Item(0);

        LocalizationText.AddContent(xNode);
    }