PRooFPS-dd Dev Doc 1.0
PRooFPS-dd Developer Documentation
Loading...
Searching...
No Matches
proofps_dd::MsgUserCmdFromClient Struct Reference

Detailed Description

Definition at line 464 of file PRooFPS-dd-packet.h.

#include <PRooFPS-dd-packet.h>

Static Public Member Functions

static bool initPkt (pge_network::PgePacket &pkt, proofps_dd::Strafe strafe, bool bAttack, bool bCrouch, TPureFloat fPlayerAngleY, TPureFloat fWeaponAngleZ)
 
static void setKeybd (pge_network::PgePacket &pkt, const Strafe &strafe, bool bJump, bool bSwitchToRunning, bool bCrouch, bool bRequestReload, unsigned char cWeaponSwitch)
 
static unsigned char getWeaponSwitch (const pge_network::PgePacket &pkt)
 
static void SetWeaponSwitch (pge_network::PgePacket &pkt, unsigned char cTargetWpnKey)
 
static bool getReloadRequest (const pge_network::PgePacket &pkt)
 
static void setMouse (pge_network::PgePacket &pkt, bool bShootAction)
 
static void setAngleY (pge_network::PgePacket &pkt, TPureFloat fPlayerAngleY)
 
static void setWpnAngles (pge_network::PgePacket &pkt, TPureFloat fWpnAngleZ)
 
static bool shouldSend (const pge_network::PgePacket &pkt)
 

Public Attributes

bool m_bShouldSend
 
Strafe m_strafe
 
bool m_bJumpAction
 
bool m_bSendSwitchToRunning
 
bool m_bRequestReload
 
unsigned char m_cWeaponSwitch
 
bool m_bShootAction
 
bool m_bCrouch
 
TPureFloat m_fPlayerAngleY
 
TPureFloat m_fWpnAngleZ
 

Static Public Attributes

static const PRooFPSappMsgId id = PRooFPSappMsgId::UserCmdFromClient
 

Member Function Documentation

◆ getReloadRequest()

static bool proofps_dd::MsgUserCmdFromClient::getReloadRequest ( const pge_network::PgePacket & pkt)
inlinestatic

Definition at line 535 of file PRooFPS-dd-packet.h.

◆ getWeaponSwitch()

static unsigned char proofps_dd::MsgUserCmdFromClient::getWeaponSwitch ( const pge_network::PgePacket & pkt)
inlinestatic

Definition at line 520 of file PRooFPS-dd-packet.h.

◆ initPkt()

static bool proofps_dd::MsgUserCmdFromClient::initPkt ( pge_network::PgePacket & pkt,
proofps_dd::Strafe strafe,
bool bAttack,
bool bCrouch,
TPureFloat fPlayerAngleY,
TPureFloat fWeaponAngleZ )
inlinestatic

Definition at line 468 of file PRooFPS-dd-packet.h.

◆ setAngleY()

static void proofps_dd::MsgUserCmdFromClient::setAngleY ( pge_network::PgePacket & pkt,
TPureFloat fPlayerAngleY )
inlinestatic

Definition at line 552 of file PRooFPS-dd-packet.h.

◆ setKeybd()

static void proofps_dd::MsgUserCmdFromClient::setKeybd ( pge_network::PgePacket & pkt,
const Strafe & strafe,
bool bJump,
bool bSwitchToRunning,
bool bCrouch,
bool bRequestReload,
unsigned char cWeaponSwitch )
inlinestatic

Definition at line 500 of file PRooFPS-dd-packet.h.

◆ setMouse()

static void proofps_dd::MsgUserCmdFromClient::setMouse ( pge_network::PgePacket & pkt,
bool bShootAction )
inlinestatic

Definition at line 542 of file PRooFPS-dd-packet.h.

◆ SetWeaponSwitch()

static void proofps_dd::MsgUserCmdFromClient::SetWeaponSwitch ( pge_network::PgePacket & pkt,
unsigned char cTargetWpnKey )
inlinestatic

Definition at line 527 of file PRooFPS-dd-packet.h.

◆ setWpnAngles()

static void proofps_dd::MsgUserCmdFromClient::setWpnAngles ( pge_network::PgePacket & pkt,
TPureFloat fWpnAngleZ )
inlinestatic

Definition at line 562 of file PRooFPS-dd-packet.h.

◆ shouldSend()

static bool proofps_dd::MsgUserCmdFromClient::shouldSend ( const pge_network::PgePacket & pkt)
inlinestatic

Definition at line 572 of file PRooFPS-dd-packet.h.

Member Data Documentation

◆ id

const PRooFPSappMsgId proofps_dd::MsgUserCmdFromClient::id = PRooFPSappMsgId::UserCmdFromClient
static

Definition at line 466 of file PRooFPS-dd-packet.h.

◆ m_bCrouch

bool proofps_dd::MsgUserCmdFromClient::m_bCrouch

Definition at line 587 of file PRooFPS-dd-packet.h.

◆ m_bJumpAction

bool proofps_dd::MsgUserCmdFromClient::m_bJumpAction

Definition at line 582 of file PRooFPS-dd-packet.h.

◆ m_bRequestReload

bool proofps_dd::MsgUserCmdFromClient::m_bRequestReload

Definition at line 584 of file PRooFPS-dd-packet.h.

◆ m_bSendSwitchToRunning

bool proofps_dd::MsgUserCmdFromClient::m_bSendSwitchToRunning

Definition at line 583 of file PRooFPS-dd-packet.h.

◆ m_bShootAction

bool proofps_dd::MsgUserCmdFromClient::m_bShootAction

Definition at line 586 of file PRooFPS-dd-packet.h.

◆ m_bShouldSend

bool proofps_dd::MsgUserCmdFromClient::m_bShouldSend

Definition at line 580 of file PRooFPS-dd-packet.h.

◆ m_cWeaponSwitch

unsigned char proofps_dd::MsgUserCmdFromClient::m_cWeaponSwitch

Definition at line 585 of file PRooFPS-dd-packet.h.

◆ m_fPlayerAngleY

TPureFloat proofps_dd::MsgUserCmdFromClient::m_fPlayerAngleY

Definition at line 588 of file PRooFPS-dd-packet.h.

◆ m_fWpnAngleZ

TPureFloat proofps_dd::MsgUserCmdFromClient::m_fWpnAngleZ

Definition at line 589 of file PRooFPS-dd-packet.h.

◆ m_strafe

Strafe proofps_dd::MsgUserCmdFromClient::m_strafe

Definition at line 581 of file PRooFPS-dd-packet.h.


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