|
|
|
|
@ -743,14 +743,15 @@ open class Session : RealmObject(), Savable, RowUpdatable, RowRepresentable, Tim |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
fun duplicate() : Session { |
|
|
|
|
fun duplicate(): Session { |
|
|
|
|
|
|
|
|
|
val copy = newInstance(this.realm, this.isTournament(), this.bankroll) |
|
|
|
|
|
|
|
|
|
copy.game = this.game |
|
|
|
|
copy.limit = this.limit |
|
|
|
|
copy.cgBiggestBet = this.cgBiggestBet |
|
|
|
|
copy.cgBlinds = this.cgBlinds |
|
|
|
|
copy.cgAnte = this.cgAnte |
|
|
|
|
copy.location = this.location |
|
|
|
|
copy.tournamentEntryFee = this.tournamentEntryFee |
|
|
|
|
copy.tournamentFeatures = this.tournamentFeatures |
|
|
|
|
copy.tournamentName = this.tournamentName |
|
|
|
|
|