/// <summary> /// ChangeBagToC4 /// </summary> /// <param name="Appearance"></param> /// <param name="weaponId"></param> public static void MountC4(this ICharacterAppearance Appearance, int weaponId) { var c4AvatarId = SingletonManager.Get <WeaponResourceConfigManager>().GetAvatarByWeaponId(weaponId); Appearance.MountWeaponInPackage(WeaponInPackage.TacticWeapon, c4AvatarId); Appearance.ClearAvatar(Wardrobe.Bag); }
public static void RemoveC4(this ICharacterAppearance Appearance) { Appearance.UnmountWeaponInPackage(WeaponInPackage.TacticWeapon); Appearance.ClearAvatar(Wardrobe.Bag); }