public void OnOptionSelected(Mobile from, int choice) { m_HorseBardingType = (HorseBardingType)choice; if (!Deleted) { base.OnDoubleClick(from); } }
public HorseBardingAddon(HorseBardingType type) { m_HorseBardingType = type; switch (type) { case HorseBardingType.South: AddComponent(new AddonComponent(4984), 0, 0, 0); AddComponent(new AddonComponent(4985), 0, -1, 0); break; case HorseBardingType.East: AddComponent(new AddonComponent(4983), 0, 0, 0); AddComponent(new AddonComponent(4982), -1, 0, 0); break; } }
public HorseBardingAddon( HorseBardingType type ) { m_HorseBardingType = type; switch ( type ) { case HorseBardingType.South: AddComponent( new AddonComponent( 4984 ), 0, 0, 0 ); AddComponent( new AddonComponent( 4985 ), 0, -1, 0 ); break; case HorseBardingType.East: AddComponent( new AddonComponent( 4983 ), 0, 0, 0 ); AddComponent( new AddonComponent( 4982 ), -1, 0, 0 ); break; } }
public void OnOptionSelected( Mobile from, int choice ) { m_HorseBardingType = (HorseBardingType) choice; if ( !Deleted ) base.OnDoubleClick( from ); }