|
GekkoNet 1.0
C/C++ Peer to Peer Game Networking SDK
|
#include <backend.h>

Public Member Functions | |
| Player (Handle phandle, GekkoPlayerType type, NetAddress *addr, u32 magic=0) | |
| GekkoPlayerType | GetType () |
| PlayerStatus | GetStatus () |
| void | SetStatus (PlayerStatus type) |
| void | SetChecksum (Frame frame, u32 checksum) |
Public Attributes | |
| Handle | handle |
| u8 | sync_num |
| u16 | session_magic |
| NetStats | stats |
| NetAddress | address |
| std::map< Frame, u32 > | session_health |
| InputCache | input_cache |
| u64 | last_input_send_time = 0 |
| u8 | disconnect_msgs_left = 0 |
| u64 | last_disconnect_msg_time = 0 |
| bool | requires_spectator_state = false |
| bool | spectator_state_configured = false |
| bool | spectator_state_acked = true |
| Frame | spectator_state_frame = GameInput::NULL_FRAME |
| std::vector< u8 > | spectator_state |
| u64 | last_spectator_state_send_time = 0 |
| std::map< Handle, Frame > | peer_claims |
| std::map< Handle, Frame > | peer_claims_sent |
| Frame | disconnect_frame = INT32_MAX |
| Frame | applied_disconnect_frame = INT32_MAX |
| u64 | last_claim_sent_time = 0 |
| u64 | last_claim_raise_time = 0 |
| AdvantageHistory | adv_history |
Private Attributes | |
| GekkoPlayerType | _type |
| PlayerStatus | _status |
| Gekko::Player::Player | ( | Handle | phandle, |
| GekkoPlayerType | type, | ||
| NetAddress * | addr, | ||
| u32 | magic = 0 ) |
Definition at line 3 of file player.cpp.
| Gekko::PlayerStatus Gekko::Player::GetStatus | ( | ) |
| GekkoPlayerType Gekko::Player::GetType | ( | ) |
Definition at line 20 of file player.cpp.
Definition at line 35 of file player.cpp.
| void Gekko::Player::SetStatus | ( | PlayerStatus | type | ) |
|
private |
|
private |
| NetAddress Gekko::Player::address |
| AdvantageHistory Gekko::Player::adv_history |
| InputCache Gekko::Player::input_cache |
| Frame Gekko::Player::spectator_state_frame = GameInput::NULL_FRAME |