mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 00:54:53 -07:00
Implement game layer from protobuf to redux
This commit is contained in:
parent
d96d5e1589
commit
74803442d2
82 changed files with 2455 additions and 88 deletions
|
|
@ -0,0 +1,6 @@
|
|||
import { GameEventMeta, PlayerProperties } from 'types';
|
||||
import { GamePersistence } from '../../persistence';
|
||||
|
||||
export function playerPropertiesChanged(data: { playerProperties: PlayerProperties }, meta: GameEventMeta): void {
|
||||
GamePersistence.playerPropertiesChanged(meta.gameId, meta.playerId, data.playerProperties);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue