protected override void ClientItemHotbarSelectionChanged(ClientHotbarItemData data) { if (data.IsSelected && this.ObjectExplosiveProto.IsActivatesRaidModeForLandClaim) { RaidingProtectionSystem.ClientShowNotificationRaidingNotAvailableIfNecessary(); } ClientExplosivePlacerHelper.Setup(data.Item, data.IsSelected); }
public void ClientOnActionCompleted(IItem item, bool isCancelled) { var isSelected = item == Client.Characters.CurrentPlayerCharacter.SharedGetPlayerSelectedHotbarItem(); ClientExplosivePlacerHelper.Setup(item, isSelected: isSelected); }
protected override void ClientItemHotbarSelectionChanged(ClientHotbarItemData data) { ClientExplosivePlacerHelper.Setup(data.Item, data.IsSelected); }