public LinkedGateBag( string name )
		{
			LinkedGate gateA = new LinkedGate();
			LinkedGate gateB = new LinkedGate();
			gateA.MateGate = gateB;
			gateB.MateGate = gateA;
			gateA.Name = name;
			gateB.Name = name;
			DropItem( gateA );
			DropItem( gateB );
		}
Esempio n. 2
0
        public LinkedGateBag(string name)
        {
            LinkedGate gateA = new LinkedGate();
            LinkedGate gateB = new LinkedGate();

            gateA.MateGate = gateB;
            gateB.MateGate = gateA;
            gateA.Name     = name;
            gateB.Name     = name;
            DropItem(gateA);
            DropItem(gateB);
        }
Esempio n. 3
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);

            int version = reader.ReadInt();

            switch (version)
            {
            case 2:
            {
                showWarning = reader.ReadBool();
                goto case 1;
            }

            case 1:
            {
                mateGate = reader.ReadItem() as LinkedGate;
                break;
            }
            }
        }
Esempio n. 4
0
        public override void Deserialize( GenericReader reader )
        {
            base.Deserialize( reader );

            int version = reader.ReadInt();

            switch ( version )
            {
                case 2:
                {
                    showWarning = reader.ReadBool();
                    goto case 1;
                }
                case 1:
                {
                    mateGate = reader.ReadItem() as LinkedGate;
                    break;
                }
            }
        }