void MakeNew() { this.imgGroupType = (CornerWallHeight)0x0; this.imgRef01 = new TGIBlock(kRecommendedApiVersion, null, TGIBlock.Order.ITG); this.imgRef02 = new TGIBlock(kRecommendedApiVersion, null, TGIBlock.Order.ITG); this.imgRef03 = new TGIBlock(kRecommendedApiVersion, null, TGIBlock.Order.ITG); }
public WallImgGroupEntry(int APIversion, EventHandler handler, CornerWallHeight imgGroupType, TGIBlock imgRef01, TGIBlock imgRef02, TGIBlock imgRef03) : base(APIversion, handler) { this.imgGroupType = imgGroupType; this.imgRef01 = new TGIBlock(kRecommendedApiVersion, handler, TGIBlock.Order.ITG, imgRef01); this.imgRef02 = new TGIBlock(kRecommendedApiVersion, handler, TGIBlock.Order.ITG, imgRef02); this.imgRef03 = new TGIBlock(kRecommendedApiVersion, handler, TGIBlock.Order.ITG, imgRef03); }
void Parse(Stream s) { var br = new BinaryReader(s); this.imgGroupType = (CornerWallHeight)br.ReadByte(); this.imgRef01 = new TGIBlock(1, null, TGIBlock.Order.ITG, s); this.imgRef02 = new TGIBlock(1, null, TGIBlock.Order.ITG, s); this.imgRef03 = new TGIBlock(1, null, TGIBlock.Order.ITG, s); }