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

A network player of a race. More...

#include <directplay.h>

Collaboration diagram for NetPlayerSlot:

Public Attributes

HANDLE hMutex
DPID dpidOwner
DWORD dwLastUpdateTime
unsigned adwSnapshotTimes [8]
int dwState
int nStatusValue
unsigned char bStatusOptionA
unsigned char bStatusOptionB
unsigned char bStatusOptionC
unsigned adwSnapshotTypes [8]
KeyframeState aSnapshots [8]
int nCurrentSnapshot
char szPlayerName [0x400]
unsigned dwLastTimeSync
unsigned dwRaceTime
unsigned dwTimeSyncValue
unsigned dwFinishTime

Detailed Description

A network player of a race.

Member Data Documentation

◆ hMutex

HANDLE NetPlayerSlot::hMutex

The mutex of the slot.

◆ dpidOwner

DPID NetPlayerSlot::dpidOwner

The player of the session that controls the slot.

◆ dwLastUpdateTime

DWORD NetPlayerSlot::dwLastUpdateTime

The time of the latest update.

◆ adwSnapshotTimes

unsigned NetPlayerSlot::adwSnapshotTimes[8]

The timestamps of buffered snapshots.

◆ dwState

int NetPlayerSlot::dwState

The state of the slot in its low 6 bits, 0 for free.

◆ nStatusValue

int NetPlayerSlot::nStatusValue

The network status value.

◆ bStatusOptionA

unsigned char NetPlayerSlot::bStatusOptionA

The first status option.

◆ bStatusOptionB

unsigned char NetPlayerSlot::bStatusOptionB

The second status option.

◆ bStatusOptionC

unsigned char NetPlayerSlot::bStatusOptionC

The third status option.

◆ adwSnapshotTypes

unsigned NetPlayerSlot::adwSnapshotTypes[8]

The type of each buffered snapshot.

◆ aSnapshots

KeyframeState NetPlayerSlot::aSnapshots[8]

The buffered car states.

◆ nCurrentSnapshot

int NetPlayerSlot::nCurrentSnapshot

The current snapshot index.

◆ szPlayerName

char NetPlayerSlot::szPlayerName[0x400]

The player's displayed name.

◆ dwLastTimeSync

unsigned NetPlayerSlot::dwLastTimeSync

The time of the latest clock synchronisation.

◆ dwRaceTime

unsigned NetPlayerSlot::dwRaceTime

The player's race time.

◆ dwTimeSyncValue

unsigned NetPlayerSlot::dwTimeSyncValue

The value of the latest clock synchronisation.

◆ dwFinishTime

unsigned NetPlayerSlot::dwFinishTime

The player's finish time.


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