예제 #1
0
        public static TileartPropItem ReadProp(BinaryReader r)
        {
            TileartPropItem p = new TileartPropItem();

            p.prop  = (TileArtProperties)r.ReadByte();
            p.value = r.ReadInt32();
            return(p);
        }
예제 #2
0
        private static TileartPropItem[] ReadProps(Tileart t, BinaryReader r)
        {
            byte count1 = r.ReadByte();

            TileartPropItem[] props = new TileartPropItem[count1];
            for (int i = 0; i < count1; ++i)
            {
                props[i] = TileartPropItem.ReadProp(r);
            }
            return(props);
        }
예제 #3
0
		private static TileartPropItem[] ReadProps(Tileart t, BinaryReader r) {
			byte count1 = r.ReadByte();
			TileartPropItem[] props = new TileartPropItem[count1];
			for (int i = 0; i < count1; ++i) {
				props[i] = TileartPropItem.ReadProp(r);
			}
			return props;
		}
예제 #4
0
		public static TileartPropItem ReadProp(BinaryReader r) {
			TileartPropItem p = new TileartPropItem();
			p.prop = (TileArtProperties)r.ReadByte();
			p.value = r.ReadInt32();
			return p;
		}