Class AGKFogOfWarTeam

Inheritance Relationships

Base Type

  • public AInfo

Class Documentation

class AGKFogOfWarTeam : public AInfo

Team Fog information, this needs to be an actor for replication purposes. It is only replicated to teammates

Public Functions

AGKFogOfWarTeam()
bool IsNetRelevantFor(const AActor *RealViewer, const AActor *ViewTarget, const FVector &SrcLocation) const override
void GetLifetimeReplicatedProps(TArray<FLifetimeProperty> &OutLifetimeProps) const override
TArray<class UGKFogOfWarComponent*> const &GetBlocking()

Public Members

void *Buffer
class UTexture *Exploration

Exploration Texture.

class UTexture *Vision

Vision Texture.

class UTexture *PreviousFrameVision

Previous Frame Vision.

class UTexture *UpScaledVision

Upscaled TExture.

bool bDiscrete

Using discrete algorithm.

FName Name

Team Name.

FGenericTeamId TeamId

TeamId.

TSet<class UGKFogOfWarComponent*> Visible

Used to avoid double insert inside Visible Enenmies not need to replicate this

TArray<class UGKFogOfWarComponent*> Allies
TArray<class UGKFogOfWarComponent*> Blocking