Files
galaxy-game/pkg/schema/fbs/notification.fbs
T
2026-04-25 23:20:55 +02:00

55 lines
969 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 LobbyMembershipBlockedEvent {
game_id:string;
membership_user_id:string;
reason:string;
}
table LobbyInviteCreatedEvent {
game_id:string;
inviter_user_id:string;
}
table LobbyInviteRedeemedEvent {
game_id:string;
invitee_user_id:string;
}
table LobbyRaceNameRegistrationEligibleEvent {
game_id:string;
race_name:string;
eligible_until_ms:int64;
}
table LobbyRaceNameRegisteredEvent {
race_name:string;
}
root_type GameTurnReadyEvent;