Files
galaxy-game/pkg/schema/fbs/notification.fbs
T
2026-04-22 08:49:45 +02:00

39 lines
691 B
Plaintext

// notification contains shared FlatBuffers payloads published by
// Notification Service toward the gateway client event stream.
namespace notification;
table GameTurnReadyEvent {
game_id:string;
turn_number:int64;
}
table GameFinishedEvent {
game_id:string;
final_turn_number:int64;
}
table LobbyApplicationSubmittedEvent {
game_id:string;
applicant_user_id:string;
}
table LobbyMembershipApprovedEvent {
game_id:string;
}
table LobbyMembershipRejectedEvent {
game_id:string;
}
table LobbyInviteCreatedEvent {
game_id:string;
inviter_user_id:string;
}
table LobbyInviteRedeemedEvent {
game_id:string;
invitee_user_id:string;
}
root_type GameTurnReadyEvent;