SEGS  0.6.1-develop [d2cac982]
Super Entity Game Server
Public Member Functions | Public Attributes | List of all members
InputState Class Reference

#include <StateStorage.h>

Collaboration diagram for InputState:
Collaboration graph

Public Member Functions

 InputState ()
 
template<class Archive >
void serialize (Archive &ar)
 

Public Attributes

uint8_t m_csc_deltabits = 0
 
uint16_t m_send_id = 0
 
uint8_t m_every_4_ticks = 0
 
bool m_full_timeupdate = 0
 
uint8_t m_updated_bit_pos = 7
 
uint16_t m_control_bits [6] = {0}
 
glm::vec3 m_camera_pyr = {0.0f, 0.0f, 0.0f}
 
glm::vec3 m_orientation_pyr
 
glm::quat m_direction
 
int m_time_diff1 = 0
 
int m_time_diff2 = 0
 
float m_velocity_scale = 1.0f
 
float m_speed_scale = 1.0f
 
bool m_no_collision = false
 
bool m_controls_disabled = false
 
bool m_full_input_packet = 0
 
bool m_input_received = false
 
bool m_pos_delta_valid [3] = {false}
 
bool m_pyr_valid [3] = {false}
 
glm::vec3 m_pos_delta = {0.0f, 0.0f, 0.0f}
 
std::chrono::steady_clock::time_point m_keypress_start [6]
 
FloatDuration m_svr_keypress_time [6]
 
float m_keypress_time [6] = {0}
 
float m_move_time = 0.0f
 
float m_ms_since_prev
 
bool m_following = false
 
glm::vec3 m_pos_start = {0.0f, 0.0f, 0.0f}
 
glm::vec3 m_pos_end = {0.0f, 0.0f, 0.0f}
 
int m_landing_recovery_time = {0}
 
bool m_has_target
 
uint32_t m_target_idx
 
uint32_t m_assist_target_idx
 
TimeState m_time_state
 

Constructor & Destructor Documentation

◆ InputState()

InputState::InputState ( )
inline

Member Function Documentation

◆ serialize()

template<class Archive >
void InputState::serialize ( Archive &  ar)
inline

Member Data Documentation

◆ m_assist_target_idx

uint32_t InputState::m_assist_target_idx

◆ m_camera_pyr

glm::vec3 InputState::m_camera_pyr = {0.0f, 0.0f, 0.0f}

◆ m_control_bits

uint16_t InputState::m_control_bits[6] = {0}

◆ m_controls_disabled

bool InputState::m_controls_disabled = false

◆ m_csc_deltabits

uint8_t InputState::m_csc_deltabits = 0

◆ m_direction

glm::quat InputState::m_direction

◆ m_every_4_ticks

uint8_t InputState::m_every_4_ticks = 0

◆ m_following

bool InputState::m_following = false

◆ m_full_input_packet

bool InputState::m_full_input_packet = 0

◆ m_full_timeupdate

bool InputState::m_full_timeupdate = 0

◆ m_has_target

bool InputState::m_has_target

◆ m_input_received

bool InputState::m_input_received = false

◆ m_keypress_start

std::chrono::steady_clock::time_point InputState::m_keypress_start[6]

◆ m_keypress_time

float InputState::m_keypress_time[6] = {0}

◆ m_landing_recovery_time

int InputState::m_landing_recovery_time = {0}

◆ m_move_time

float InputState::m_move_time = 0.0f

◆ m_ms_since_prev

float InputState::m_ms_since_prev

◆ m_no_collision

bool InputState::m_no_collision = false

◆ m_orientation_pyr

glm::vec3 InputState::m_orientation_pyr

◆ m_pos_delta

glm::vec3 InputState::m_pos_delta = {0.0f, 0.0f, 0.0f}

◆ m_pos_delta_valid

bool InputState::m_pos_delta_valid[3] = {false}

◆ m_pos_end

glm::vec3 InputState::m_pos_end = {0.0f, 0.0f, 0.0f}

◆ m_pos_start

glm::vec3 InputState::m_pos_start = {0.0f, 0.0f, 0.0f}

◆ m_pyr_valid

bool InputState::m_pyr_valid[3] = {false}

◆ m_send_id

uint16_t InputState::m_send_id = 0

◆ m_speed_scale

float InputState::m_speed_scale = 1.0f

◆ m_svr_keypress_time

FloatDuration InputState::m_svr_keypress_time[6]

◆ m_target_idx

uint32_t InputState::m_target_idx

◆ m_time_diff1

int InputState::m_time_diff1 = 0

◆ m_time_diff2

int InputState::m_time_diff2 = 0

◆ m_time_state

TimeState InputState::m_time_state

◆ m_updated_bit_pos

uint8_t InputState::m_updated_bit_pos = 7

◆ m_velocity_scale

float InputState::m_velocity_scale = 1.0f

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