public void MountWeaponInPackage(WeaponInPackage pos, int id) { if ((int)pos < (int)WeaponInPackage.EndOfTheWorld) { WeaponControllerBaseImpl.MountWeaponToPackage(pos, id); } else { Logger.ErrorFormat("error slot : slot id {0}", pos); } }