コード例 #1
0
        private void AddCannonComponent(int itemID, int x, int y, int z)
        {
            AddonComponent component = new CannonComponent(itemID, this);

            component.Name = "cannon";
            m_CCom         = (CannonComponent)component;
            AddComponent(component, x, y, z);
        }
コード例 #2
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);

            int version = reader.ReadInt();

            m_Owner = reader.ReadMobile();
            m_CCom  = (CannonComponent)reader.ReadItem();
        }
コード例 #3
0
		public override void Deserialize( GenericReader reader )
		{
			base.Deserialize( reader );
			
			int version = reader.ReadInt();
			m_Owner = reader.ReadMobile();
			m_CCom = (CannonComponent)reader.ReadItem();
		}
コード例 #4
0
		private void AddCannonComponent( int itemID, int x, int y, int z )
		{
			AddonComponent component = new CannonComponent( itemID, this );
			component.Name = "cannon";
			m_CCom = (CannonComponent)component;
			AddComponent( component, x, y, z );
		}
コード例 #5
0
			public InternalTarget( CannonComponent comp ) : base( 20, true, TargetFlags.None )
			{
				m_comp = comp;
			}
コード例 #6
0
			public Fix( CannonComponent cannon ) : base( 2014, 3 )
			{
				m_Cannon = cannon;
			}
コード例 #7
0
 public InternalTarget(CannonComponent comp) : base(20, true, TargetFlags.None)
 {
     m_comp = comp;
 }
コード例 #8
0
 public Fix(CannonComponent cannon) : base(2014, 3)
 {
     m_Cannon = cannon;
 }