coastline 0.0.4
Loading...
Searching...
No Matches
NetPeerSlot Struct Reference

A peer of a network game. More...

#include <directplay.h>

Collaboration diagram for NetPeerSlot:

Public Attributes

HANDLE hMutex
DPID dpidPlayer
unsigned dwLastUpdateTime
unsigned adwSnapshotTimes [8]
int dwStatus
int nCar
unsigned char color [3]
unsigned adwSnapshotTypes [8]
KeyframeState aSnapshots [8]
unsigned nSnapshotCount
int nCurrentSnapshot
int nAppliedSnapshot
unsigned dwPredictionFrame
int nRepeatedSnapshotFrames
int nLateSnapshotFrames
char szName [0x400]
unsigned dwRaceTime
int dwPingMs

Detailed Description

A peer of a network game.

The layout is not recovered past the members below.

Member Data Documentation

◆ hMutex

HANDLE NetPeerSlot::hMutex

The lock protecting the peer record.

◆ dpidPlayer

DPID NetPeerSlot::dpidPlayer

The peer's DirectPlay identifier.

◆ dwLastUpdateTime

unsigned NetPeerSlot::dwLastUpdateTime

The time of the latest update.

◆ adwSnapshotTimes

unsigned NetPeerSlot::adwSnapshotTimes[8]

The timestamps of buffered snapshots.

◆ dwStatus

int NetPeerSlot::dwStatus

The peer status.

◆ nCar

int NetPeerSlot::nCar

The selected car.

◆ color

unsigned char NetPeerSlot::color[3]

The car's red, green, and blue colour.

◆ adwSnapshotTypes

unsigned NetPeerSlot::adwSnapshotTypes[8]

The type of each buffered snapshot.

◆ aSnapshots

KeyframeState NetPeerSlot::aSnapshots[8]

The buffered car states.

◆ nSnapshotCount

unsigned NetPeerSlot::nSnapshotCount

The number of buffered snapshots.

◆ nCurrentSnapshot

int NetPeerSlot::nCurrentSnapshot

The current snapshot index.

◆ nAppliedSnapshot

int NetPeerSlot::nAppliedSnapshot

The last applied snapshot index.

◆ dwPredictionFrame

unsigned NetPeerSlot::dwPredictionFrame

The frame being predicted.

◆ nRepeatedSnapshotFrames

int NetPeerSlot::nRepeatedSnapshotFrames

The number of repeated snapshot frames.

◆ nLateSnapshotFrames

int NetPeerSlot::nLateSnapshotFrames

The number of late snapshot frames.

◆ szName

char NetPeerSlot::szName[0x400]

The peer's displayed name.

◆ dwRaceTime

unsigned NetPeerSlot::dwRaceTime

The peer's race time.

◆ dwPingMs

int NetPeerSlot::dwPingMs

The measured latency in milliseconds.


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