Current scope: tibiakt-core| all classes
|
com.galarzaa.tibiakt.core.section.community.killstatistics.model
Coverage Summary for Class: KillsStatisticEntry (com.galarzaa.tibiakt.core.section.community.killstatistics.model)
| Class | Method, % | Branch, % | Line, % | Instruction, % |
|---|---|---|---|---|
| KillsStatisticEntry | 50% (1/2) | 0% (0/2) | 83.3% (5/6) | 31.4% (22/70) |
| KillsStatisticEntry$Companion | 0% (0/1) | 0% (0/1) | 0% (0/2) | |
| Total | 33.3% (1/3) | 0% (0/2) | 71.4% (5/7) | 30.6% (22/72) |
/*
* Copyright © 2025 Allan Galarza
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.galarzaa.tibiakt.core.section.community.killstatistics.model
import kotlinx.serialization.Serializable
/**
* The kill statistics for a given entry.
*
* @property lastDayKilledPlayers The number of players killed by this race in the last day.
* @property lastDayKilledByPlayers The number of this race killed in the last day.
* @property lastWeekKilledPlayers The number of players killed by this race in the last week.
* @property lastWeekKilledByPlayers The number of this race killed in the last week.
*/
@Serializable
public data class KillsStatisticEntry(
val lastDayKilledPlayers: Int,
val lastDayKilledByPlayers: Int,
val lastWeekKilledPlayers: Int,
val lastWeekKilledByPlayers: Int,
)