games.mythical.saga.sdk.proto.streams.playerwallet.PlayerWalletStatusUpdateKt.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of saga-sdk-proto Show documentation
Show all versions of saga-sdk-proto Show documentation
Saga SDK for Java game servers
//Generated by the protocol buffer compiler. DO NOT EDIT!
// source: streams/playerwallet/definition.proto
package games.mythical.saga.sdk.proto.streams.playerwallet;
@kotlin.jvm.JvmName("-initializeplayerWalletStatusUpdate")
inline fun playerWalletStatusUpdate(block: games.mythical.saga.sdk.proto.streams.playerwallet.PlayerWalletStatusUpdateKt.Dsl.() -> kotlin.Unit): games.mythical.saga.sdk.proto.streams.playerwallet.PlayerWalletStatusUpdate =
games.mythical.saga.sdk.proto.streams.playerwallet.PlayerWalletStatusUpdateKt.Dsl._create(games.mythical.saga.sdk.proto.streams.playerwallet.PlayerWalletStatusUpdate.newBuilder()).apply { block() }._build()
object PlayerWalletStatusUpdateKt {
@kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
@com.google.protobuf.kotlin.ProtoDslMarker
class Dsl private constructor(
private val _builder: games.mythical.saga.sdk.proto.streams.playerwallet.PlayerWalletStatusUpdate.Builder
) {
companion object {
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _create(builder: games.mythical.saga.sdk.proto.streams.playerwallet.PlayerWalletStatusUpdate.Builder): Dsl = Dsl(builder)
}
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _build(): games.mythical.saga.sdk.proto.streams.playerwallet.PlayerWalletStatusUpdate = _builder.build()
/**
*
* Wallet owner OAuth ID
*
*
* string oauth_id = 1;
*/
var oauthId: kotlin.String
@JvmName("getOauthId")
get() = _builder.getOauthId()
@JvmName("setOauthId")
set(value) {
_builder.setOauthId(value)
}
/**
*
* Wallet owner OAuth ID
*
*
* string oauth_id = 1;
*/
fun clearOauthId() {
_builder.clearOauthId()
}
}
}
@kotlin.jvm.JvmSynthetic
inline fun games.mythical.saga.sdk.proto.streams.playerwallet.PlayerWalletStatusUpdate.copy(block: games.mythical.saga.sdk.proto.streams.playerwallet.PlayerWalletStatusUpdateKt.Dsl.() -> kotlin.Unit): games.mythical.saga.sdk.proto.streams.playerwallet.PlayerWalletStatusUpdate =
games.mythical.saga.sdk.proto.streams.playerwallet.PlayerWalletStatusUpdateKt.Dsl._create(this.toBuilder()).apply { block() }._build()