/// <summary> /// ChangeC4ToBag /// </summary> /// <param name="playerEntity"></param> /// <param name="weaponId"></param> public static void UnmoutC4(this ICharacterAppearance Appearance, Utils.CharacterState.Sex sex) { Appearance.UnmountWeaponInPackage(WeaponInPackage.TacticWeapon); var c4ResId = SingletonManager.Get <RoleAvatarConfigManager>().GetResId(RoleAvatarConfigManager.C4, sex); Appearance.ChangeAvatar(c4ResId); }
public static void RemoveC4(this ICharacterAppearance Appearance) { Appearance.UnmountWeaponInPackage(WeaponInPackage.TacticWeapon); Appearance.ClearAvatar(Wardrobe.Bag); }