#include "FortClientAnnouncement.h" #include "Net/UnrealNetwork.h" void AFortClientAnnouncement::StopClientAnnouncement() { } int32 AFortClientAnnouncement::GetPriority() { return 0; } void AFortClientAnnouncement::CancelClientAnnouncement() { } void AFortClientAnnouncement::GetLifetimeReplicatedProps(TArray& OutLifetimeProps) const { Super::GetLifetimeReplicatedProps(OutLifetimeProps); DOREPLIFETIME(AFortClientAnnouncement, AnnouncementID); DOREPLIFETIME(AFortClientAnnouncement, Priority); DOREPLIFETIME(AFortClientAnnouncement, RecipientControllers); } AFortClientAnnouncement::AFortClientAnnouncement() { this->DisplayWidget = NULL; this->TimeToLive = -1.00f; this->bRetrigger = false; this->bDestroyOnAllClientsStopped = false; this->Channel = EFortAnnouncementChannel::Primary; this->Priority = 10; this->ClientDeliveryStatus = EFortAnnouncementDelivery::Created; this->ClientDeliveryTime = -1.00f; }