Home > @esengine/ecs-framework-monorepo > IRoomStateMessage > data
IRoomStateMessage.data property
Signature:
typescript
data: {
roomId: string;
state: string;
players: Array<{
id: string;
name: string;
isHost: boolean;
customData?: Record<string, any>;
}>;
settings?: Record<string, any>;
};
1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11