Support Game Events (#5087)

This commit is contained in:
Zach H 2024-08-24 17:31:20 -07:00 committed by GitHub
parent bbe125beee
commit 248ea82573
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 77 additions and 3 deletions

View file

@ -0,0 +1,12 @@
import { PlayerGamePropertiesData } from '../events/session/interfaces';
import { LeaveGameReason } from '../../types';
export class GamePersistence {
static joinGame(playerGamePropertiesData: PlayerGamePropertiesData) {
console.log('joinGame', playerGamePropertiesData);
}
static leaveGame(reason: LeaveGameReason) {
console.log('leaveGame', reason);
}
}