DDraceNetwork Docs
protocol7.h File Reference
#include <engine/message.h>
Include dependency graph for protocol7.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  protocol7::make_void< Ts >
 
struct  protocol7::is_sixup< T, typename >
 
struct  protocol7::is_sixup< T, void_t< typename T::is_sixup > >
 
struct  protocol7::CNetObj_PlayerInput
 
struct  protocol7::CNetObj_Projectile
 
struct  protocol7::CNetObj_Laser
 
struct  protocol7::CNetObj_Pickup
 
struct  protocol7::CNetObj_Flag
 
struct  protocol7::CNetObj_GameData
 
struct  protocol7::CNetObj_GameDataTeam
 
struct  protocol7::CNetObj_GameDataFlag
 
struct  protocol7::CNetObj_CharacterCore
 
struct  protocol7::CNetObj_Character
 
struct  protocol7::CNetObj_PlayerInfo
 
struct  protocol7::CNetObj_SpectatorInfo
 
struct  protocol7::CNetObj_De_ClientInfo
 
struct  protocol7::CNetObj_De_GameInfo
 
struct  protocol7::CNetObj_De_TuneParams
 
struct  protocol7::CNetEvent_Common
 
struct  protocol7::CNetEvent_Explosion
 
struct  protocol7::CNetEvent_Spawn
 
struct  protocol7::CNetEvent_HammerHit
 
struct  protocol7::CNetEvent_Death
 
struct  protocol7::CNetEvent_SoundWorld
 
struct  protocol7::CNetEvent_Damage
 
struct  protocol7::CNetObj_PlayerInfoRace
 
struct  protocol7::CNetObj_GameDataRace
 
struct  protocol7::CNetMsg_Sv_Motd
 
struct  protocol7::CNetMsg_Sv_Broadcast
 
struct  protocol7::CNetMsg_Sv_Chat
 
struct  protocol7::CNetMsg_Sv_Team
 
struct  protocol7::CNetMsg_Sv_KillMsg
 
struct  protocol7::CNetMsg_Sv_TuneParams
 
struct  protocol7::CNetMsg_Sv_ExtraProjectile
 
struct  protocol7::CNetMsg_Sv_ReadyToEnter
 
struct  protocol7::CNetMsg_Sv_WeaponPickup
 
struct  protocol7::CNetMsg_Sv_Emoticon
 
struct  protocol7::CNetMsg_Sv_VoteClearOptions
 
struct  protocol7::CNetMsg_Sv_VoteOptionListAdd
 
struct  protocol7::CNetMsg_Sv_VoteOptionAdd
 
struct  protocol7::CNetMsg_Sv_VoteOptionRemove
 
struct  protocol7::CNetMsg_Sv_VoteSet
 
struct  protocol7::CNetMsg_Sv_VoteStatus
 
struct  protocol7::CNetMsg_Sv_ServerSettings
 
struct  protocol7::CNetMsg_Sv_ClientInfo
 
struct  protocol7::CNetMsg_Sv_GameInfo
 
struct  protocol7::CNetMsg_Sv_ClientDrop
 
struct  protocol7::CNetMsg_Sv_GameMsg
 
struct  protocol7::CNetMsg_De_ClientEnter
 
struct  protocol7::CNetMsg_De_ClientLeave
 
struct  protocol7::CNetMsg_Cl_Say
 
struct  protocol7::CNetMsg_Cl_SetTeam
 
struct  protocol7::CNetMsg_Cl_SetSpectatorMode
 
struct  protocol7::CNetMsg_Cl_StartInfo
 
struct  protocol7::CNetMsg_Cl_Kill
 
struct  protocol7::CNetMsg_Cl_ReadyChange
 
struct  protocol7::CNetMsg_Cl_Emoticon
 
struct  protocol7::CNetMsg_Cl_Vote
 
struct  protocol7::CNetMsg_Cl_CallVote
 
struct  protocol7::CNetMsg_Sv_SkinChange
 
struct  protocol7::CNetMsg_Cl_SkinChange
 
struct  protocol7::CNetMsg_Sv_RaceFinish
 
struct  protocol7::CNetMsg_Sv_Checkpoint
 
struct  protocol7::CNetMsg_Sv_CommandInfo
 
struct  protocol7::CNetMsg_Sv_CommandInfoRemove
 
struct  protocol7::CNetMsg_Cl_Command
 
class  protocol7::CNetObjHandler
 

Namespaces

namespace  protocol7
 

Typedefs

template<typename... Ts>
using protocol7::void_t = typename make_void< Ts... >::type
 

Enumerations

enum  { protocol7::INPUT_STATE_MASK =0x3f }
 
enum  {
  protocol7::TEAM_SPECTATORS =-1 , protocol7::TEAM_RED , protocol7::TEAM_BLUE , protocol7::NUM_TEAMS ,
  protocol7::FLAG_MISSING =-3 , protocol7::FLAG_ATSTAND , protocol7::FLAG_TAKEN , protocol7::SPEC_FREEVIEW =0 ,
  protocol7::SPEC_PLAYER , protocol7::SPEC_FLAGRED , protocol7::SPEC_FLAGBLUE , protocol7::NUM_SPECMODES ,
  protocol7::SKINPART_BODY = 0 , protocol7::SKINPART_MARKING , protocol7::SKINPART_DECORATION , protocol7::SKINPART_HANDS ,
  protocol7::SKINPART_FEET , protocol7::SKINPART_EYES , protocol7::NUM_SKINPARTS
}
 
enum  {
  protocol7::PICKUP_HEALTH =0 , protocol7::PICKUP_ARMOR , protocol7::PICKUP_GRENADE , protocol7::PICKUP_SHOTGUN ,
  protocol7::PICKUP_LASER , protocol7::PICKUP_NINJA , protocol7::PICKUP_GUN , protocol7::PICKUP_HAMMER ,
  protocol7::NUM_PICKUPS
}
 
enum  {
  protocol7::EMOTE_NORMAL =0 , protocol7::EMOTE_PAIN , protocol7::EMOTE_HAPPY , protocol7::EMOTE_SURPRISE ,
  protocol7::EMOTE_ANGRY , protocol7::EMOTE_BLINK , protocol7::NUM_EMOTES
}
 
enum  {
  protocol7::EMOTICON_OOP =0 , protocol7::EMOTICON_EXCLAMATION , protocol7::EMOTICON_HEARTS , protocol7::EMOTICON_DROP ,
  protocol7::EMOTICON_DOTDOT , protocol7::EMOTICON_MUSIC , protocol7::EMOTICON_SORRY , protocol7::EMOTICON_GHOST ,
  protocol7::EMOTICON_SUSHI , protocol7::EMOTICON_SPLATTEE , protocol7::EMOTICON_DEVILTEE , protocol7::EMOTICON_ZOMG ,
  protocol7::EMOTICON_ZZZ , protocol7::EMOTICON_WTF , protocol7::EMOTICON_EYES , protocol7::EMOTICON_QUESTION ,
  protocol7::NUM_EMOTICONS
}
 
enum  {
  protocol7::VOTE_UNKNOWN =0 , protocol7::VOTE_START_OP , protocol7::VOTE_START_KICK , protocol7::VOTE_START_SPEC ,
  protocol7::VOTE_END_ABORT , protocol7::VOTE_END_PASS , protocol7::VOTE_END_FAIL , protocol7::NUM_VOTES
}
 
enum  {
  protocol7::CHAT_NONE =0 , protocol7::CHAT_ALL , protocol7::CHAT_TEAM , protocol7::CHAT_WHISPER ,
  protocol7::NUM_CHATS
}
 
enum  {
  protocol7::GAMEMSG_TEAM_SWAP =0 , protocol7::GAMEMSG_SPEC_INVALIDID , protocol7::GAMEMSG_TEAM_SHUFFLE , protocol7::GAMEMSG_TEAM_BALANCE ,
  protocol7::GAMEMSG_CTF_DROP , protocol7::GAMEMSG_CTF_RETURN , protocol7::GAMEMSG_TEAM_ALL , protocol7::GAMEMSG_TEAM_BALANCE_VICTIM ,
  protocol7::GAMEMSG_CTF_GRAB , protocol7::GAMEMSG_CTF_CAPTURE , protocol7::GAMEMSG_GAME_PAUSED , protocol7::NUM_GAMEMSGS
}
 
enum  {
  protocol7::PLAYERFLAG_ADMIN = 1<<0 , protocol7::PLAYERFLAG_CHATTING = 1<<1 , protocol7::PLAYERFLAG_SCOREBOARD = 1<<2 , protocol7::PLAYERFLAG_READY = 1<<3 ,
  protocol7::PLAYERFLAG_DEAD = 1<<4 , protocol7::PLAYERFLAG_WATCHING = 1<<5 , protocol7::PLAYERFLAG_BOT = 1<<6 , protocol7::PLAYERFLAG_AIM = 1<<7
}
 
enum  { protocol7::GAMEFLAG_TEAMS = 1<<0 , protocol7::GAMEFLAG_FLAGS = 1<<1 , protocol7::GAMEFLAG_SURVIVAL = 1<<2 , protocol7::GAMEFLAG_RACE = 1<<3 }
 
enum  {
  protocol7::GAMESTATEFLAG_WARMUP = 1<<0 , protocol7::GAMESTATEFLAG_SUDDENDEATH = 1<<1 , protocol7::GAMESTATEFLAG_ROUNDOVER = 1<<2 , protocol7::GAMESTATEFLAG_GAMEOVER = 1<<3 ,
  protocol7::GAMESTATEFLAG_PAUSED = 1<<4 , protocol7::GAMESTATEFLAG_STARTCOUNTDOWN = 1<<5
}
 
enum  {
  protocol7::COREEVENTFLAG_GROUND_JUMP = 1<<0 , protocol7::COREEVENTFLAG_AIR_JUMP = 1<<1 , protocol7::COREEVENTFLAG_HOOK_ATTACH_PLAYER = 1<<2 , protocol7::COREEVENTFLAG_HOOK_ATTACH_GROUND = 1<<3 ,
  protocol7::COREEVENTFLAG_HOOK_HIT_NOHOOK = 1<<4
}
 
enum  { protocol7::RACEFLAG_HIDE_KILLMSG = 1<<0 , protocol7::RACEFLAG_FINISHMSG_AS_CHAT = 1<<1 , protocol7::RACEFLAG_KEEP_WANTED_WEAPON = 1<<2 }
 
enum  {
  protocol7::NETOBJ_INVALID =0 , protocol7::NETOBJTYPE_PLAYERINPUT , protocol7::NETOBJTYPE_PROJECTILE , protocol7::NETOBJTYPE_LASER ,
  protocol7::NETOBJTYPE_PICKUP , protocol7::NETOBJTYPE_FLAG , protocol7::NETOBJTYPE_GAMEDATA , protocol7::NETOBJTYPE_GAMEDATATEAM ,
  protocol7::NETOBJTYPE_GAMEDATAFLAG , protocol7::NETOBJTYPE_CHARACTERCORE , protocol7::NETOBJTYPE_CHARACTER , protocol7::NETOBJTYPE_PLAYERINFO ,
  protocol7::NETOBJTYPE_SPECTATORINFO , protocol7::NETOBJTYPE_DE_CLIENTINFO , protocol7::NETOBJTYPE_DE_GAMEINFO , protocol7::NETOBJTYPE_DE_TUNEPARAMS ,
  protocol7::NETEVENTTYPE_COMMON , protocol7::NETEVENTTYPE_EXPLOSION , protocol7::NETEVENTTYPE_SPAWN , protocol7::NETEVENTTYPE_HAMMERHIT ,
  protocol7::NETEVENTTYPE_DEATH , protocol7::NETEVENTTYPE_SOUNDWORLD , protocol7::NETEVENTTYPE_DAMAGE , protocol7::NETOBJTYPE_PLAYERINFORACE ,
  protocol7::NETOBJTYPE_GAMEDATARACE , protocol7::NUM_NETOBJTYPES
}
 
enum  {
  protocol7::NETMSG_INVALID =0 , protocol7::NETMSGTYPE_SV_MOTD , protocol7::NETMSGTYPE_SV_BROADCAST , protocol7::NETMSGTYPE_SV_CHAT ,
  protocol7::NETMSGTYPE_SV_TEAM , protocol7::NETMSGTYPE_SV_KILLMSG , protocol7::NETMSGTYPE_SV_TUNEPARAMS , protocol7::NETMSGTYPE_SV_EXTRAPROJECTILE ,
  protocol7::NETMSGTYPE_SV_READYTOENTER , protocol7::NETMSGTYPE_SV_WEAPONPICKUP , protocol7::NETMSGTYPE_SV_EMOTICON , protocol7::NETMSGTYPE_SV_VOTECLEAROPTIONS ,
  protocol7::NETMSGTYPE_SV_VOTEOPTIONLISTADD , protocol7::NETMSGTYPE_SV_VOTEOPTIONADD , protocol7::NETMSGTYPE_SV_VOTEOPTIONREMOVE , protocol7::NETMSGTYPE_SV_VOTESET ,
  protocol7::NETMSGTYPE_SV_VOTESTATUS , protocol7::NETMSGTYPE_SV_SERVERSETTINGS , protocol7::NETMSGTYPE_SV_CLIENTINFO , protocol7::NETMSGTYPE_SV_GAMEINFO ,
  protocol7::NETMSGTYPE_SV_CLIENTDROP , protocol7::NETMSGTYPE_SV_GAMEMSG , protocol7::NETMSGTYPE_DE_CLIENTENTER , protocol7::NETMSGTYPE_DE_CLIENTLEAVE ,
  protocol7::NETMSGTYPE_CL_SAY , protocol7::NETMSGTYPE_CL_SETTEAM , protocol7::NETMSGTYPE_CL_SETSPECTATORMODE , protocol7::NETMSGTYPE_CL_STARTINFO ,
  protocol7::NETMSGTYPE_CL_KILL , protocol7::NETMSGTYPE_CL_READYCHANGE , protocol7::NETMSGTYPE_CL_EMOTICON , protocol7::NETMSGTYPE_CL_VOTE ,
  protocol7::NETMSGTYPE_CL_CALLVOTE , protocol7::NETMSGTYPE_SV_SKINCHANGE , protocol7::NETMSGTYPE_CL_SKINCHANGE , protocol7::NETMSGTYPE_SV_RACEFINISH ,
  protocol7::NETMSGTYPE_SV_CHECKPOINT , protocol7::NETMSGTYPE_SV_COMMANDINFO , protocol7::NETMSGTYPE_SV_COMMANDINFOREMOVE , protocol7::NETMSGTYPE_CL_COMMAND ,
  protocol7::NUM_NETMSGTYPES
}
 
enum  {
  protocol7::SOUND_GUN_FIRE =0 , protocol7::SOUND_SHOTGUN_FIRE , protocol7::SOUND_GRENADE_FIRE , protocol7::SOUND_HAMMER_FIRE ,
  protocol7::SOUND_HAMMER_HIT , protocol7::SOUND_NINJA_FIRE , protocol7::SOUND_GRENADE_EXPLODE , protocol7::SOUND_NINJA_HIT ,
  protocol7::SOUND_LASER_FIRE , protocol7::SOUND_LASER_BOUNCE , protocol7::SOUND_WEAPON_SWITCH , protocol7::SOUND_PLAYER_PAIN_SHORT ,
  protocol7::SOUND_PLAYER_PAIN_LONG , protocol7::SOUND_BODY_LAND , protocol7::SOUND_PLAYER_AIRJUMP , protocol7::SOUND_PLAYER_JUMP ,
  protocol7::SOUND_PLAYER_DIE , protocol7::SOUND_PLAYER_SPAWN , protocol7::SOUND_PLAYER_SKID , protocol7::SOUND_TEE_CRY ,
  protocol7::SOUND_HOOK_LOOP , protocol7::SOUND_HOOK_ATTACH_GROUND , protocol7::SOUND_HOOK_ATTACH_PLAYER , protocol7::SOUND_HOOK_NOATTACH ,
  protocol7::SOUND_PICKUP_HEALTH , protocol7::SOUND_PICKUP_ARMOR , protocol7::SOUND_PICKUP_GRENADE , protocol7::SOUND_PICKUP_SHOTGUN ,
  protocol7::SOUND_PICKUP_NINJA , protocol7::SOUND_WEAPON_SPAWN , protocol7::SOUND_WEAPON_NOAMMO , protocol7::SOUND_HIT ,
  protocol7::SOUND_CHAT_SERVER , protocol7::SOUND_CHAT_CLIENT , protocol7::SOUND_CHAT_HIGHLIGHT , protocol7::SOUND_CTF_DROP ,
  protocol7::SOUND_CTF_RETURN , protocol7::SOUND_CTF_GRAB_PL , protocol7::SOUND_CTF_GRAB_EN , protocol7::SOUND_CTF_CAPTURE ,
  protocol7::SOUND_MENU , protocol7::NUM_SOUNDS
}
 
enum  {
  protocol7::WEAPON_HAMMER =0 , protocol7::WEAPON_GUN , protocol7::WEAPON_SHOTGUN , protocol7::WEAPON_GRENADE ,
  protocol7::WEAPON_LASER , protocol7::WEAPON_NINJA , protocol7::NUM_WEAPONS
}