public SkinCursor(SkinCursor source) : base(source) { #if (!XBOX && !XBOX_FAKE) this.Resource = source.Resource; #endif this.Asset = source.Asset; }
private void LoadCursors(string addon, bool archive) { if (doc["Skin"]["Cursors"] == null) { return; } XmlNodeList l = doc["Skin"]["Cursors"].GetElementsByTagName("Cursor"); if (l != null && l.Count > 0) { foreach (XmlElement e in l) { SkinCursor sc = new SkinCursor(); sc.Name = ReadAttribute(e, "Name", null, true); sc.Archive = archive; sc.Asset = ReadAttribute(e, "Asset", null, true); sc.Addon = addon; cursors.Add(sc); } } }
private void LoadCursors(string addon, bool archive) { if (doc["Skin"]["Cursors"] == null) return; XmlNodeList l = doc["Skin"]["Cursors"].GetElementsByTagName("Cursor"); if (l != null && l.Count > 0) { foreach (XmlElement e in l) { SkinCursor sc = new SkinCursor(); sc.Name = ReadAttribute(e, "Name", null, true); sc.Archive = archive; sc.Asset = ReadAttribute(e, "Asset", null, true); sc.Addon = addon; cursors.Add(sc); } } }