public FakeAnalyticSource(Guid sourceID, Guid uniqueID, Guid sourceTypeID, string sourceName, ContainerDataType dataType, AnalyticSourceTypeEnum creationType, int number) { SourceName = sourceName; SourceTypeID = sourceTypeID; UniqueID = uniqueID; SourceID = sourceID; DataType = dataType; DataType = dataType; CreationType = creationType; Number = number; }
void IDataFactoryWriter.Defrag(ContainerDataType datatype) { var list = new List<IDataContainer>(16); if (datatype.HasFlag(ContainerDataType.GumpArt)) list.Add(container_GumpData); if (datatype.HasFlag(ContainerDataType.Texture)) list.Add(container_LandTexm); if (datatype.HasFlag(ContainerDataType.LandArt) || datatype.HasFlag(ContainerDataType.ItemArt)) if (container_ItemTile is MulContainer) list.Add(MulContainer.GetParent(container_ItemTile as MulContainer)); for (int i = 0; i < 6; ++i) if (datatype.HasFlag((ContainerDataType)((uint)ContainerDataType.Facet00 << i)) && Data.DataOptions.majorFacet.Length > i) { list.Add(container_Sta[i]); } for (int i = 0; i < list.Count; ++i) list[i].Defrag(); }