diff --git a/plugin/build.gradle.kts b/plugin/build.gradle.kts index e4b299b..49919de 100644 --- a/plugin/build.gradle.kts +++ b/plugin/build.gradle.kts @@ -88,7 +88,7 @@ tasks.dokkaHtmlPartial { dokkaSourceSets.configureEach { perPackageOption { - matchingRegex.set(".*signin|.*utils") + matchingRegex.set(".*signin|.*utils|.*snapshots|.*games") suppress.set(true) } } diff --git a/plugin/src/main/java/com/jacobibanez/plugin/android/godotplaygameservices/games/GameMapper.kt b/plugin/src/main/java/com/jacobibanez/plugin/android/godotplaygameservices/games/GameMapper.kt index bd5daed..572f6a8 100644 --- a/plugin/src/main/java/com/jacobibanez/plugin/android/godotplaygameservices/games/GameMapper.kt +++ b/plugin/src/main/java/com/jacobibanez/plugin/android/godotplaygameservices/games/GameMapper.kt @@ -5,7 +5,6 @@ import com.jacobibanez.plugin.android.godotplaygameservices.utils.toStringAndSav import org.godotengine.godot.Dictionary import org.godotengine.godot.Godot -/** @suppress */ fun fromGame(godot: Godot, game: Game) = Dictionary().apply { put("areSnapshotsEnabled", game.areSnapshotsEnabled()) put("achievementTotalCount", game.achievementTotalCount) diff --git a/plugin/src/main/java/com/jacobibanez/plugin/android/godotplaygameservices/snapshots/SnapshotMapper.kt b/plugin/src/main/java/com/jacobibanez/plugin/android/godotplaygameservices/snapshots/SnapshotMapper.kt index 3ec4214..a16d619 100644 --- a/plugin/src/main/java/com/jacobibanez/plugin/android/godotplaygameservices/snapshots/SnapshotMapper.kt +++ b/plugin/src/main/java/com/jacobibanez/plugin/android/godotplaygameservices/snapshots/SnapshotMapper.kt @@ -9,20 +9,17 @@ import com.jacobibanez.plugin.android.godotplaygameservices.utils.toStringAndSav import org.godotengine.godot.Dictionary import org.godotengine.godot.Godot -/** @suppress */ fun fromConflict(godot: Godot, conflict: SnapshotConflict) = Dictionary().apply { put("conflictId", conflict.conflictId) put("conflictingSnapshot", fromSnapshot(godot, conflict.conflictingSnapshot)) put("serverSnapshot", fromSnapshot(godot, conflict.snapshot)) } -/** @suppress */ fun fromSnapshot(godot: Godot, snapshot: Snapshot) = Dictionary().apply { put("content", snapshot.snapshotContents.readFully()) put("metadata", fromSnapshotMetadata(godot, snapshot.metadata)) } -/** @suppress */ fun fromSnapshotMetadata(godot: Godot, metadata: SnapshotMetadata) = Dictionary().apply { put("snapshotId", metadata.snapshotId) put("uniqueName", metadata.uniqueName) diff --git a/plugin/src/main/java/com/jacobibanez/plugin/android/godotplaygameservices/snapshots/SnapshotsProxy.kt b/plugin/src/main/java/com/jacobibanez/plugin/android/godotplaygameservices/snapshots/SnapshotsProxy.kt index 5b0f8e4..79c8b49 100644 --- a/plugin/src/main/java/com/jacobibanez/plugin/android/godotplaygameservices/snapshots/SnapshotsProxy.kt +++ b/plugin/src/main/java/com/jacobibanez/plugin/android/godotplaygameservices/snapshots/SnapshotsProxy.kt @@ -19,8 +19,6 @@ import com.jacobibanez.plugin.android.godotplaygameservices.signals.SnapshotSign import org.godotengine.godot.Godot import org.godotengine.godot.plugin.GodotPlugin.emitSignal - -/** @suppress */ class SnapshotsProxy( private val godot: Godot, private val snapshotsClient: SnapshotsClient = PlayGames.getSnapshotsClient(godot.getActivity()!!)