Inheritance: GumpEntry
Beispiel #1
0
		private void CreateGroupElement(GumpGroup e)
		{
			_CurrentGroupNode = _Document.CreateElement(e.GetType().Name);
		}
Beispiel #2
0
		public virtual void Write(string name, GumpGroup e)
		{
			if (_LastNode != null && _LastNode.Name != e.GetType().Name)
			{
				SetAttribute("group", e.Group);
				return;
			}

			AppendGroup();
			CreateGroupElement(e);
			SetGroupAttribute("name", name);
			SetGroupAttribute("value", e.Group);
		}