Skip to content

Commit

Permalink
Add GameTimeToBeat (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
illarionov authored Jan 15, 2025
1 parent 240cb5e commit 9841cd0
Show file tree
Hide file tree
Showing 7 changed files with 210 additions and 2 deletions.
82 changes: 82 additions & 0 deletions igdbclient-core/api/android/igdbclient-core.api
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public final class ru/pixnews/igdbclient/IgdbClientKt {
public static final fun getGameEngines (Lru/pixnews/igdbclient/IgdbClient;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static final fun getGameLocalizations (Lru/pixnews/igdbclient/IgdbClient;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static final fun getGameModes (Lru/pixnews/igdbclient/IgdbClient;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static final fun getGameTimeToBeat (Lru/pixnews/igdbclient/IgdbClient;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static final fun getGameVersionFeatureValues (Lru/pixnews/igdbclient/IgdbClient;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static final fun getGameVersionFeatures (Lru/pixnews/igdbclient/IgdbClient;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static final fun getGameVersions (Lru/pixnews/igdbclient/IgdbClient;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
Expand Down Expand Up @@ -115,6 +116,7 @@ public final class ru/pixnews/igdbclient/IgdbEndpoint$Companion {
public final fun getGAME_ENGINE_LOGO ()Lru/pixnews/igdbclient/IgdbEndpoint;
public final fun getGAME_LOCALIZATION ()Lru/pixnews/igdbclient/IgdbEndpoint;
public final fun getGAME_MODE ()Lru/pixnews/igdbclient/IgdbEndpoint;
public final fun getGAME_TIME_TO_BEAT ()Lru/pixnews/igdbclient/IgdbEndpoint;
public final fun getGAME_VERSION ()Lru/pixnews/igdbclient/IgdbEndpoint;
public final fun getGAME_VERSION_FEATURE ()Lru/pixnews/igdbclient/IgdbEndpoint;
public final fun getGAME_VERSION_FEATURE_VALUE ()Lru/pixnews/igdbclient/IgdbEndpoint;
Expand Down Expand Up @@ -859,6 +861,23 @@ public final class ru/pixnews/igdbclient/dsl/field/GameModeFieldDslKt {
public static final fun getField (Lru/pixnews/igdbclient/model/GameMode$Companion;)Lru/pixnews/igdbclient/dsl/field/GameModeFieldDsl;
}

public final class ru/pixnews/igdbclient/dsl/field/GameTimeToBeatFieldDsl : ru/pixnews/igdbclient/dsl/field/IgdbRequestFieldDsl {
public fun <init> ()V
public final fun getChecksum ()Lru/pixnews/igdbclient/dsl/field/IgdbRequestField;
public final fun getCompletely ()Lru/pixnews/igdbclient/dsl/field/IgdbRequestField;
public final fun getCount ()Lru/pixnews/igdbclient/dsl/field/IgdbRequestField;
public final fun getCreated_at ()Lru/pixnews/igdbclient/dsl/field/IgdbRequestField;
public final fun getGame_id ()Lru/pixnews/igdbclient/dsl/field/IgdbRequestField;
public final fun getHastily ()Lru/pixnews/igdbclient/dsl/field/IgdbRequestField;
public final fun getId ()Lru/pixnews/igdbclient/dsl/field/IgdbRequestField;
public final fun getNormally ()Lru/pixnews/igdbclient/dsl/field/IgdbRequestField;
public final fun getUpdated_at ()Lru/pixnews/igdbclient/dsl/field/IgdbRequestField;
}

public final class ru/pixnews/igdbclient/dsl/field/GameTimeToBeatFieldDslKt {
public static final fun getField (Lru/pixnews/igdbclient/model/GameTimeToBeat$Companion;)Lru/pixnews/igdbclient/dsl/field/GameTimeToBeatFieldDsl;
}

public final class ru/pixnews/igdbclient/dsl/field/GameVersionFeatureFieldDsl : ru/pixnews/igdbclient/dsl/field/IgdbRequestFieldDsl {
public fun <init> ()V
public final fun getCategory ()Lru/pixnews/igdbclient/dsl/field/IgdbRequestField;
Expand Down Expand Up @@ -3029,6 +3048,52 @@ public final class ru/pixnews/igdbclient/model/GameStatusEnum$Companion {
public final fun fromValue (I)Lru/pixnews/igdbclient/model/GameStatusEnum;
}

public final class ru/pixnews/igdbclient/model/GameTimeToBeat : com/squareup/wire/Message {
public static final field ADAPTER Lcom/squareup/wire/ProtoAdapter;
public static final field Companion Lru/pixnews/igdbclient/model/GameTimeToBeat$Companion;
public fun <init> ()V
public fun <init> (JIIIIILjava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Lokio/ByteString;)V
public synthetic fun <init> (JIIIIILjava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Lokio/ByteString;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun copy (JIIIIILjava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Lokio/ByteString;)Lru/pixnews/igdbclient/model/GameTimeToBeat;
public static synthetic fun copy$default (Lru/pixnews/igdbclient/model/GameTimeToBeat;JIIIIILjava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Lokio/ByteString;ILjava/lang/Object;)Lru/pixnews/igdbclient/model/GameTimeToBeat;
public fun equals (Ljava/lang/Object;)Z
public final fun getChecksum ()Ljava/lang/String;
public final fun getCompletely ()I
public final fun getCount ()I
public final fun getCreated_at ()Ljava/time/Instant;
public final fun getGame_id ()I
public final fun getHastily ()I
public final fun getId ()J
public final fun getNormally ()I
public final fun getUpdated_at ()Ljava/time/Instant;
public fun hashCode ()I
public synthetic fun newBuilder ()Lcom/squareup/wire/Message$Builder;
public synthetic fun newBuilder ()Ljava/lang/Void;
public fun toString ()Ljava/lang/String;
}

public final class ru/pixnews/igdbclient/model/GameTimeToBeat$Companion {
}

public final class ru/pixnews/igdbclient/model/GameTimeToBeatResult : com/squareup/wire/Message {
public static final field ADAPTER Lcom/squareup/wire/ProtoAdapter;
public static final field Companion Lru/pixnews/igdbclient/model/GameTimeToBeatResult$Companion;
public fun <init> ()V
public fun <init> (Ljava/util/List;Lokio/ByteString;)V
public synthetic fun <init> (Ljava/util/List;Lokio/ByteString;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun copy (Ljava/util/List;Lokio/ByteString;)Lru/pixnews/igdbclient/model/GameTimeToBeatResult;
public static synthetic fun copy$default (Lru/pixnews/igdbclient/model/GameTimeToBeatResult;Ljava/util/List;Lokio/ByteString;ILjava/lang/Object;)Lru/pixnews/igdbclient/model/GameTimeToBeatResult;
public fun equals (Ljava/lang/Object;)Z
public final fun getGametimetobeats ()Ljava/util/List;
public fun hashCode ()I
public synthetic fun newBuilder ()Lcom/squareup/wire/Message$Builder;
public synthetic fun newBuilder ()Ljava/lang/Void;
public fun toString ()Ljava/lang/String;
}

public final class ru/pixnews/igdbclient/model/GameTimeToBeatResult$Companion {
}

public final class ru/pixnews/igdbclient/model/GameVersion : com/squareup/wire/Message {
public static final field ADAPTER Lcom/squareup/wire/ProtoAdapter;
public static final field Companion Lru/pixnews/igdbclient/model/GameVersion$Companion;
Expand Down Expand Up @@ -5187,6 +5252,23 @@ public final class ru/pixnews/igdbclient/scheme/field/GameModeField : java/lang/
public static fun values ()[Lru/pixnews/igdbclient/scheme/field/GameModeField;
}

public final class ru/pixnews/igdbclient/scheme/field/GameTimeToBeatField : java/lang/Enum, ru/pixnews/igdbclient/scheme/field/IgdbField {
public static final field CHECKSUM Lru/pixnews/igdbclient/scheme/field/GameTimeToBeatField;
public static final field COMPLETELY Lru/pixnews/igdbclient/scheme/field/GameTimeToBeatField;
public static final field COUNT Lru/pixnews/igdbclient/scheme/field/GameTimeToBeatField;
public static final field CREATED_AT Lru/pixnews/igdbclient/scheme/field/GameTimeToBeatField;
public static final field GAME_ID Lru/pixnews/igdbclient/scheme/field/GameTimeToBeatField;
public static final field HASTILY Lru/pixnews/igdbclient/scheme/field/GameTimeToBeatField;
public static final field ID Lru/pixnews/igdbclient/scheme/field/GameTimeToBeatField;
public static final field NORMALLY Lru/pixnews/igdbclient/scheme/field/GameTimeToBeatField;
public static final field UPDATED_AT Lru/pixnews/igdbclient/scheme/field/GameTimeToBeatField;
public static fun getEntries ()Lkotlin/enums/EnumEntries;
public fun getIgdbName ()Ljava/lang/String;
public fun toString ()Ljava/lang/String;
public static fun valueOf (Ljava/lang/String;)Lru/pixnews/igdbclient/scheme/field/GameTimeToBeatField;
public static fun values ()[Lru/pixnews/igdbclient/scheme/field/GameTimeToBeatField;
}

public final class ru/pixnews/igdbclient/scheme/field/GameVersionFeatureField : java/lang/Enum, ru/pixnews/igdbclient/scheme/field/IgdbField {
public static final field CATEGORY Lru/pixnews/igdbclient/scheme/field/GameVersionFeatureField;
public static final field CHECKSUM Lru/pixnews/igdbclient/scheme/field/GameVersionFeatureField;
Expand Down
82 changes: 82 additions & 0 deletions igdbclient-core/api/jvm/igdbclient-core.api
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public final class ru/pixnews/igdbclient/IgdbClientKt {
public static final fun getGameEngines (Lru/pixnews/igdbclient/IgdbClient;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static final fun getGameLocalizations (Lru/pixnews/igdbclient/IgdbClient;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static final fun getGameModes (Lru/pixnews/igdbclient/IgdbClient;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static final fun getGameTimeToBeat (Lru/pixnews/igdbclient/IgdbClient;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static final fun getGameVersionFeatureValues (Lru/pixnews/igdbclient/IgdbClient;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static final fun getGameVersionFeatures (Lru/pixnews/igdbclient/IgdbClient;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static final fun getGameVersions (Lru/pixnews/igdbclient/IgdbClient;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
Expand Down Expand Up @@ -115,6 +116,7 @@ public final class ru/pixnews/igdbclient/IgdbEndpoint$Companion {
public final fun getGAME_ENGINE_LOGO ()Lru/pixnews/igdbclient/IgdbEndpoint;
public final fun getGAME_LOCALIZATION ()Lru/pixnews/igdbclient/IgdbEndpoint;
public final fun getGAME_MODE ()Lru/pixnews/igdbclient/IgdbEndpoint;
public final fun getGAME_TIME_TO_BEAT ()Lru/pixnews/igdbclient/IgdbEndpoint;
public final fun getGAME_VERSION ()Lru/pixnews/igdbclient/IgdbEndpoint;
public final fun getGAME_VERSION_FEATURE ()Lru/pixnews/igdbclient/IgdbEndpoint;
public final fun getGAME_VERSION_FEATURE_VALUE ()Lru/pixnews/igdbclient/IgdbEndpoint;
Expand Down Expand Up @@ -859,6 +861,23 @@ public final class ru/pixnews/igdbclient/dsl/field/GameModeFieldDslKt {
public static final fun getField (Lru/pixnews/igdbclient/model/GameMode$Companion;)Lru/pixnews/igdbclient/dsl/field/GameModeFieldDsl;
}

public final class ru/pixnews/igdbclient/dsl/field/GameTimeToBeatFieldDsl : ru/pixnews/igdbclient/dsl/field/IgdbRequestFieldDsl {
public fun <init> ()V
public final fun getChecksum ()Lru/pixnews/igdbclient/dsl/field/IgdbRequestField;
public final fun getCompletely ()Lru/pixnews/igdbclient/dsl/field/IgdbRequestField;
public final fun getCount ()Lru/pixnews/igdbclient/dsl/field/IgdbRequestField;
public final fun getCreated_at ()Lru/pixnews/igdbclient/dsl/field/IgdbRequestField;
public final fun getGame_id ()Lru/pixnews/igdbclient/dsl/field/IgdbRequestField;
public final fun getHastily ()Lru/pixnews/igdbclient/dsl/field/IgdbRequestField;
public final fun getId ()Lru/pixnews/igdbclient/dsl/field/IgdbRequestField;
public final fun getNormally ()Lru/pixnews/igdbclient/dsl/field/IgdbRequestField;
public final fun getUpdated_at ()Lru/pixnews/igdbclient/dsl/field/IgdbRequestField;
}

public final class ru/pixnews/igdbclient/dsl/field/GameTimeToBeatFieldDslKt {
public static final fun getField (Lru/pixnews/igdbclient/model/GameTimeToBeat$Companion;)Lru/pixnews/igdbclient/dsl/field/GameTimeToBeatFieldDsl;
}

public final class ru/pixnews/igdbclient/dsl/field/GameVersionFeatureFieldDsl : ru/pixnews/igdbclient/dsl/field/IgdbRequestFieldDsl {
public fun <init> ()V
public final fun getCategory ()Lru/pixnews/igdbclient/dsl/field/IgdbRequestField;
Expand Down Expand Up @@ -3029,6 +3048,52 @@ public final class ru/pixnews/igdbclient/model/GameStatusEnum$Companion {
public final fun fromValue (I)Lru/pixnews/igdbclient/model/GameStatusEnum;
}

public final class ru/pixnews/igdbclient/model/GameTimeToBeat : com/squareup/wire/Message {
public static final field ADAPTER Lcom/squareup/wire/ProtoAdapter;
public static final field Companion Lru/pixnews/igdbclient/model/GameTimeToBeat$Companion;
public fun <init> ()V
public fun <init> (JIIIIILjava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Lokio/ByteString;)V
public synthetic fun <init> (JIIIIILjava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Lokio/ByteString;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun copy (JIIIIILjava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Lokio/ByteString;)Lru/pixnews/igdbclient/model/GameTimeToBeat;
public static synthetic fun copy$default (Lru/pixnews/igdbclient/model/GameTimeToBeat;JIIIIILjava/time/Instant;Ljava/time/Instant;Ljava/lang/String;Lokio/ByteString;ILjava/lang/Object;)Lru/pixnews/igdbclient/model/GameTimeToBeat;
public fun equals (Ljava/lang/Object;)Z
public final fun getChecksum ()Ljava/lang/String;
public final fun getCompletely ()I
public final fun getCount ()I
public final fun getCreated_at ()Ljava/time/Instant;
public final fun getGame_id ()I
public final fun getHastily ()I
public final fun getId ()J
public final fun getNormally ()I
public final fun getUpdated_at ()Ljava/time/Instant;
public fun hashCode ()I
public synthetic fun newBuilder ()Lcom/squareup/wire/Message$Builder;
public synthetic fun newBuilder ()Ljava/lang/Void;
public fun toString ()Ljava/lang/String;
}

public final class ru/pixnews/igdbclient/model/GameTimeToBeat$Companion {
}

public final class ru/pixnews/igdbclient/model/GameTimeToBeatResult : com/squareup/wire/Message {
public static final field ADAPTER Lcom/squareup/wire/ProtoAdapter;
public static final field Companion Lru/pixnews/igdbclient/model/GameTimeToBeatResult$Companion;
public fun <init> ()V
public fun <init> (Ljava/util/List;Lokio/ByteString;)V
public synthetic fun <init> (Ljava/util/List;Lokio/ByteString;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun copy (Ljava/util/List;Lokio/ByteString;)Lru/pixnews/igdbclient/model/GameTimeToBeatResult;
public static synthetic fun copy$default (Lru/pixnews/igdbclient/model/GameTimeToBeatResult;Ljava/util/List;Lokio/ByteString;ILjava/lang/Object;)Lru/pixnews/igdbclient/model/GameTimeToBeatResult;
public fun equals (Ljava/lang/Object;)Z
public final fun getGametimetobeats ()Ljava/util/List;
public fun hashCode ()I
public synthetic fun newBuilder ()Lcom/squareup/wire/Message$Builder;
public synthetic fun newBuilder ()Ljava/lang/Void;
public fun toString ()Ljava/lang/String;
}

public final class ru/pixnews/igdbclient/model/GameTimeToBeatResult$Companion {
}

public final class ru/pixnews/igdbclient/model/GameVersion : com/squareup/wire/Message {
public static final field ADAPTER Lcom/squareup/wire/ProtoAdapter;
public static final field Companion Lru/pixnews/igdbclient/model/GameVersion$Companion;
Expand Down Expand Up @@ -5187,6 +5252,23 @@ public final class ru/pixnews/igdbclient/scheme/field/GameModeField : java/lang/
public static fun values ()[Lru/pixnews/igdbclient/scheme/field/GameModeField;
}

public final class ru/pixnews/igdbclient/scheme/field/GameTimeToBeatField : java/lang/Enum, ru/pixnews/igdbclient/scheme/field/IgdbField {
public static final field CHECKSUM Lru/pixnews/igdbclient/scheme/field/GameTimeToBeatField;
public static final field COMPLETELY Lru/pixnews/igdbclient/scheme/field/GameTimeToBeatField;
public static final field COUNT Lru/pixnews/igdbclient/scheme/field/GameTimeToBeatField;
public static final field CREATED_AT Lru/pixnews/igdbclient/scheme/field/GameTimeToBeatField;
public static final field GAME_ID Lru/pixnews/igdbclient/scheme/field/GameTimeToBeatField;
public static final field HASTILY Lru/pixnews/igdbclient/scheme/field/GameTimeToBeatField;
public static final field ID Lru/pixnews/igdbclient/scheme/field/GameTimeToBeatField;
public static final field NORMALLY Lru/pixnews/igdbclient/scheme/field/GameTimeToBeatField;
public static final field UPDATED_AT Lru/pixnews/igdbclient/scheme/field/GameTimeToBeatField;
public static fun getEntries ()Lkotlin/enums/EnumEntries;
public fun getIgdbName ()Ljava/lang/String;
public fun toString ()Ljava/lang/String;
public static fun valueOf (Ljava/lang/String;)Lru/pixnews/igdbclient/scheme/field/GameTimeToBeatField;
public static fun values ()[Lru/pixnews/igdbclient/scheme/field/GameTimeToBeatField;
}

public final class ru/pixnews/igdbclient/scheme/field/GameVersionFeatureField : java/lang/Enum, ru/pixnews/igdbclient/scheme/field/IgdbField {
public static final field CATEGORY Lru/pixnews/igdbclient/scheme/field/GameVersionFeatureField;
public static final field CHECKSUM Lru/pixnews/igdbclient/scheme/field/GameVersionFeatureField;
Expand Down
7 changes: 7 additions & 0 deletions igdbclient-core/src/commonMain/kotlin/IgdbClient.kt
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ import ru.pixnews.igdbclient.model.GameEngineResult
import ru.pixnews.igdbclient.model.GameLocalizationResult
import ru.pixnews.igdbclient.model.GameModeResult
import ru.pixnews.igdbclient.model.GameResult
import ru.pixnews.igdbclient.model.GameTimeToBeatResult
import ru.pixnews.igdbclient.model.GameVersionFeatureResult
import ru.pixnews.igdbclient.model.GameVersionFeatureValueResult
import ru.pixnews.igdbclient.model.GameVersionResult
Expand Down Expand Up @@ -293,6 +294,12 @@ public suspend fun IgdbClient.getGameLocalizations(builder: ApicalypseQueryBuild
public suspend fun IgdbClient.getGameModes(builder: ApicalypseQueryBuilder.() -> Unit): GameModeResult =
executeOrThrow(IgdbEndpoint.GAME_MODE, apicalypseQuery(builder))

/**
* Average time to beat times for a game
*/
public suspend fun IgdbClient.getGameTimeToBeat(builder: ApicalypseQueryBuilder.() -> Unit): GameTimeToBeatResult =
executeOrThrow(IgdbEndpoint.GAME_TIME_TO_BEAT, apicalypseQuery(builder))

/**
* Details about game editions and versions
*/
Expand Down
11 changes: 11 additions & 0 deletions igdbclient-core/src/commonMain/kotlin/IgdbEndpoint.kt
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ import ru.pixnews.igdbclient.model.GameLocalizationResult
import ru.pixnews.igdbclient.model.GameMode
import ru.pixnews.igdbclient.model.GameModeResult
import ru.pixnews.igdbclient.model.GameResult
import ru.pixnews.igdbclient.model.GameTimeToBeat
import ru.pixnews.igdbclient.model.GameTimeToBeatResult
import ru.pixnews.igdbclient.model.GameVersion
import ru.pixnews.igdbclient.model.GameVersionFeature
import ru.pixnews.igdbclient.model.GameVersionFeatureResult
Expand Down Expand Up @@ -379,6 +381,15 @@ public open class IgdbEndpoint<out R : Any>(
GameMode.ADAPTER::decode,
)

/**
* Average time to beat times for a game
*/
public val GAME_TIME_TO_BEAT: IgdbEndpoint<GameTimeToBeatResult> = IgdbEndpoint(
"game_time_to_beats",
GameTimeToBeatResult.ADAPTER::decode,
GameTimeToBeat.ADAPTER::decode,
)

/**
* Details about game editions and versions
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class ApicalypseQueryBuilder {
* Use [Game.field][ru.pixnews.igdbclient.model.Game.Companion.field] extension function to start building a
* field request for the Game object.
*
* For example, you can use `Game.Companion.field.all` to query all fields
* For example, you can use `Game.field.all` to query all fields
*
* See [https://api-docs.igdb.com/#fields](https://api-docs.igdb.com/#fields)
*/
Expand Down
18 changes: 17 additions & 1 deletion igdbclient-core/src/commonMain/proto/igdbapi.proto
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ message Game {
repeated Artwork artworks = 6;
repeated Game bundles = 7;
GameCategoryEnum category = 8;
Collection collection = 9;
Collection collection = 9 [deprecated = true];
Cover cover = 10;
google.protobuf.Timestamp created_at = 11;
repeated Game dlcs = 12;
Expand Down Expand Up @@ -747,6 +747,22 @@ message GameMode {
string checksum = 7;
}

message GameTimeToBeatResult {
repeated GameTimeToBeat gametimetobeats = 1;
}

message GameTimeToBeat {
uint64 id = 1;
int32 game_id = 2;
int32 hastily = 3;
int32 normally = 4;
int32 completely = 5;
int32 count = 6;
google.protobuf.Timestamp created_at = 7;
google.protobuf.Timestamp updated_at = 8;
string checksum = 9;
}

message GameVersionResult {
repeated GameVersion gameversions = 1;
}
Expand Down
Loading

0 comments on commit 9841cd0

Please sign in to comment.