ShipKillsAchievement

abstract class ShipKillsAchievement(val playerShipHullIds: List<String>, val killCount: Float, val rewardedPaintjobIds: List<String>)

Abstract class for achievements that require the player to kill a certain number of ships.

Usage:

public class MyAchievement extends ShipKillsAchievement {
public MyAchievement() {
super(Collections.singletonList("onslaught"), 25, Collections.singletonList("paintjobId"));
}
}

@property playerShipHullIds Hull IDs of ships that count towards this achievement.
@property killCount Number of ships the player must kill to complete this achievement.
@property rewardedPaintjobIds Paintjob IDs to unlock when this achievement is completed.

Constructors

Link copied to clipboard
constructor(playerShipHullIds: List<String>, killCount: Float, rewardedPaintjobIds: List<String>)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open fun advanceInCombat(amount: Float, events: MutableList<<Error class: unknown class>>?, isSimulation: Boolean)
Link copied to clipboard
open fun applyShipListeners(shipsInCombat: List<<Error class: unknown class>>)
Link copied to clipboard
Link copied to clipboard
open fun getMaxProgress(): Float
Link copied to clipboard
open fun onCompleted(completedByPlayer: <Error class: unknown class>?)
Link copied to clipboard
open fun onDestroyed()
Link copied to clipboard
open fun onSaveGameLoaded(isComplete: Boolean)
Link copied to clipboard
open fun processKill(damageInfoPerShipId: SharedCombatDamageListener.DamageInfo?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard