public override void Deserialize( GenericReader reader )
			{
				base.Deserialize( reader );
				int version = reader.ReadInt();
				switch (version)
				{
					case 0:
					{
						IsPartOf = reader.ReadItem() as YardTreeMulti;
						break;
					}
				}
			}
예제 #2
0
            public override void Deserialize(GenericReader reader)
            {
                base.Deserialize(reader);
                int version = reader.ReadInt();

                switch (version)
                {
                case 0:
                {
                    IsPartOf = reader.ReadItem() as YardTreeMulti;
                    break;
                }
                }
            }
예제 #3
0
 public TreePiece(int itemID, String name, YardTreeMulti ThisTree) : base(itemID)
 {
     Movable  = false;
     Name     = name;
     IsPartOf = ThisTree;
 }
			public TreePiece( int itemID, String name, YardTreeMulti ThisTree ) : base( itemID )
			{
				Movable = false;
				Name = name;
				IsPartOf=ThisTree;
			}