Interface INetcodeSessionInfo
- Namespace
- Backdash
- Assembly
- Backdash.dll
Contract for managing a netcode session.
public interface INetcodeSessionInfo
Properties
CurrentChecksum
Returns the checksum of the current saved state.
uint CurrentChecksum { get; }
Property Value
CurrentFrame
Returns the current session Frame.
Frame CurrentFrame { get; }
Property Value
CurrentStateSize
Returns the size of the current saved state.
ByteSize CurrentStateSize { get; }
Property Value
FixedFrameRate
Returns the configured frame rate.
int FixedFrameRate { get; }
Property Value
FramesBehind
Returns the number of frames the client is behind.
FrameSpan FramesBehind { get; }
Property Value
- See Also
IsInRollback
Returns true if the session is in rollback state
bool IsInRollback { get; }
Property Value
LocalPort
Returns the current TCP local port.
int LocalPort { get; }
Property Value
Mode
Returns the current SessionMode.
SessionMode Mode { get; }
Property Value
NumberOfPlayers
Returns the number of player in the current session.
int NumberOfPlayers { get; }
Property Value
NumberOfSpectators
Returns the number of spectators in the current session.
int NumberOfSpectators { get; }
Property Value
RollbackFrames
Returns the number of current rollback frames.
FrameSpan RollbackFrames { get; }
Property Value
- See Also
Methods
GetCurrentSavedFrame()
Returns the last saved state.
SavedFrame GetCurrentSavedFrame()