The Host Reservation
What is The Host Reservation
When To Use The Host Reservation
Setting The Host Reservation

#include "KronosReservationManager.h"// Get the reservation manager.
UKronosReservationManager* ReservationManager = UKronosReservationManager::Get(this);
if (ReservationManager->IsReservationHost())
{
// Get the reservations that we want to register.
// Here we are making a copy of the current reservations to keep all players
// reservations intact when changing maps.
// Note that this reservation is still data only, it needs to be registered!
const TArray<FKronosReservation> Reservations = ReservationManager->CopyRegisteredReservations();
// Register the reservations.
ReservationManager->SetHostReservations(Reservations);
}Last updated