Chore : start buyCard login

This commit is contained in:
2024-07-05 09:56:09 +02:00
parent 345332922c
commit 3b5701bbc2
2 changed files with 43 additions and 3 deletions
+10
View File
@@ -85,4 +85,14 @@ export class TurnService {
await effectRunner(game, effect, player, card, this.eventEmitter);
await game.save({ session });
}
@WithTransaction
async buyCard(
game: Document<Game> & Game,
player: Player,
card: Card,
session?: mongoose.mongo.ClientSession,
) {
return;
}
}