All Downloads are FREE. Search and download functionalities are using the official Maven repository.

games.mythical.saga.sdk.proto.api.item.BurnItemRequestKt.kt Maven / Gradle / Ivy

There is a newer version: 1.1.30
Show newest version
//Generated by the protocol buffer compiler. DO NOT EDIT!
// source: api/item/definition.proto

package games.mythical.saga.sdk.proto.api.item;

@kotlin.jvm.JvmName("-initializeburnItemRequest")
inline fun burnItemRequest(block: games.mythical.saga.sdk.proto.api.item.BurnItemRequestKt.Dsl.() -> kotlin.Unit): games.mythical.saga.sdk.proto.api.item.BurnItemRequest =
  games.mythical.saga.sdk.proto.api.item.BurnItemRequestKt.Dsl._create(games.mythical.saga.sdk.proto.api.item.BurnItemRequest.newBuilder()).apply { block() }._build()
object BurnItemRequestKt {
  @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.api.item.BurnItemRequest.Builder
  ) {
    companion object {
      @kotlin.jvm.JvmSynthetic
      @kotlin.PublishedApi
      internal fun _create(builder: games.mythical.saga.sdk.proto.api.item.BurnItemRequest.Builder): Dsl = Dsl(builder)
    }

    @kotlin.jvm.JvmSynthetic
    @kotlin.PublishedApi
    internal fun _build(): games.mythical.saga.sdk.proto.api.item.BurnItemRequest = _builder.build()

    /**
     * 
     * Game's id for the Item to burn 
     * 
* * string inventory_id = 1; */ var inventoryId: kotlin.String @JvmName("getInventoryId") get() = _builder.getInventoryId() @JvmName("setInventoryId") set(value) { _builder.setInventoryId(value) } /** *
     * Game's id for the Item to burn 
     * 
* * string inventory_id = 1; */ fun clearInventoryId() { _builder.clearInventoryId() } /** * bool prefund_gas = 2; */ var prefundGas: kotlin.Boolean @JvmName("getPrefundGas") get() = _builder.getPrefundGas() @JvmName("setPrefundGas") set(value) { _builder.setPrefundGas(value) } /** * bool prefund_gas = 2; */ fun clearPrefundGas() { _builder.clearPrefundGas() } } } @kotlin.jvm.JvmSynthetic inline fun games.mythical.saga.sdk.proto.api.item.BurnItemRequest.copy(block: games.mythical.saga.sdk.proto.api.item.BurnItemRequestKt.Dsl.() -> kotlin.Unit): games.mythical.saga.sdk.proto.api.item.BurnItemRequest = games.mythical.saga.sdk.proto.api.item.BurnItemRequestKt.Dsl._create(this.toBuilder()).apply { block() }._build()




© 2015 - 2024 Weber Informatics LLC | Privacy Policy