Pyrogenesis  trunk
Public Attributes | List of all members
PlayerAssignment Struct Reference

#include <NetHost.h>

Public Attributes

bool m_Enabled
 Whether the player is currently connected and active. More...
 
CStrW m_Name
 Player name. More...
 
i32 m_PlayerID
 The player that the given host controls, or -1 if none (observer) More...
 
u8 m_Status
 Status - Ready or not: 0 for not ready, 1 for ready, 2 to stay ready. More...
 

Member Data Documentation

◆ m_Enabled

bool PlayerAssignment::m_Enabled

Whether the player is currently connected and active.

(We retain information on disconnected players to support rejoining, but don't transmit these to other clients.)

◆ m_Name

CStrW PlayerAssignment::m_Name

Player name.

◆ m_PlayerID

i32 PlayerAssignment::m_PlayerID

The player that the given host controls, or -1 if none (observer)

◆ m_Status

u8 PlayerAssignment::m_Status

Status - Ready or not: 0 for not ready, 1 for ready, 2 to stay ready.


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