|
coastline 0.0.4
|
A peer of a network game. More...
#include <directplay.h>

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 |
A peer of a network game.
The layout is not recovered past the members below.
| HANDLE NetPeerSlot::hMutex |
The lock protecting the peer record.
| DPID NetPeerSlot::dpidPlayer |
The peer's DirectPlay identifier.
| unsigned NetPeerSlot::dwLastUpdateTime |
The time of the latest update.
| unsigned NetPeerSlot::adwSnapshotTimes[8] |
The timestamps of buffered snapshots.
| int NetPeerSlot::dwStatus |
The peer status.
| int NetPeerSlot::nCar |
The selected car.
| unsigned char NetPeerSlot::color[3] |
The car's red, green, and blue colour.
| unsigned NetPeerSlot::adwSnapshotTypes[8] |
The type of each buffered snapshot.
| KeyframeState NetPeerSlot::aSnapshots[8] |
The buffered car states.
| unsigned NetPeerSlot::nSnapshotCount |
The number of buffered snapshots.
| int NetPeerSlot::nCurrentSnapshot |
The current snapshot index.
| int NetPeerSlot::nAppliedSnapshot |
The last applied snapshot index.
| unsigned NetPeerSlot::dwPredictionFrame |
The frame being predicted.
| int NetPeerSlot::nRepeatedSnapshotFrames |
The number of repeated snapshot frames.
| int NetPeerSlot::nLateSnapshotFrames |
The number of late snapshot frames.
| char NetPeerSlot::szName[0x400] |
The peer's displayed name.
| unsigned NetPeerSlot::dwRaceTime |
The peer's race time.
| int NetPeerSlot::dwPingMs |
The measured latency in milliseconds.