IVSmoke 1.0
Loading...
Searching...
No Matches
FIVSmokeServerState Struct Reference

#include <IVSmokeVoxelVolume.h>

Collaboration diagram for FIVSmokeServerState:
Collaboration graph

Public Attributes

EIVSmokeVoxelVolumeState State = EIVSmokeVoxelVolumeState::Idle
 
float ExpansionStartTime = 0.0f
 
float SustainStartTime = 0.0f
 
float DissipationStartTime = 0.0f
 
int32 RandomSeed = 0
 
uint8 Generation = 0
 

Detailed Description

Replicated state structure to synchronize simulation timing and random seeds across the network.

Definition at line 47 of file IVSmokeVoxelVolume.h.

Member Data Documentation

◆ DissipationStartTime

float FIVSmokeServerState::DissipationStartTime = 0.0f

World time (synced) when the dissipation phase began.

Definition at line 65 of file IVSmokeVoxelVolume.h.

◆ ExpansionStartTime

float FIVSmokeServerState::ExpansionStartTime = 0.0f

World time (synced) when the expansion phase began.

Definition at line 57 of file IVSmokeVoxelVolume.h.

◆ Generation

uint8 FIVSmokeServerState::Generation = 0

Increments every time the simulation resets. Used to force clients (including late-joiners) to reset their local state and resync with the server.

Definition at line 76 of file IVSmokeVoxelVolume.h.

◆ RandomSeed

int32 FIVSmokeServerState::RandomSeed = 0

Seed for deterministic procedural generation across clients.

Definition at line 69 of file IVSmokeVoxelVolume.h.

◆ State

EIVSmokeVoxelVolumeState FIVSmokeServerState::State = EIVSmokeVoxelVolumeState::Idle

Current phase of the simulation state machine.

Definition at line 53 of file IVSmokeVoxelVolume.h.

◆ SustainStartTime

float FIVSmokeServerState::SustainStartTime = 0.0f

World time (synced) when the sustain phase began.

Definition at line 61 of file IVSmokeVoxelVolume.h.


The documentation for this struct was generated from the following file: