Updated protos and regenerated code.

This commit is contained in:
Nicholas Hastings 2013-02-04 08:39:37 -05:00
parent 0de159bb09
commit 19e11d6d60
6 changed files with 765 additions and 180 deletions

View File

@ -180,6 +180,9 @@ const ::google::protobuf::internal::GeneratedMessageReflection*
const ::google::protobuf::Descriptor* CSVCMsg_CmdKeyValues_descriptor_ = NULL; const ::google::protobuf::Descriptor* CSVCMsg_CmdKeyValues_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection* const ::google::protobuf::internal::GeneratedMessageReflection*
CSVCMsg_CmdKeyValues_reflection_ = NULL; CSVCMsg_CmdKeyValues_reflection_ = NULL;
const ::google::protobuf::Descriptor* CSVCMsg_EncryptedData_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
CSVCMsg_EncryptedData_reflection_ = NULL;
const ::google::protobuf::EnumDescriptor* NET_Messages_descriptor_ = NULL; const ::google::protobuf::EnumDescriptor* NET_Messages_descriptor_ = NULL;
const ::google::protobuf::EnumDescriptor* CLC_Messages_descriptor_ = NULL; const ::google::protobuf::EnumDescriptor* CLC_Messages_descriptor_ = NULL;
const ::google::protobuf::EnumDescriptor* ESplitScreenMessageType_descriptor_ = NULL; const ::google::protobuf::EnumDescriptor* ESplitScreenMessageType_descriptor_ = NULL;
@ -1173,6 +1176,22 @@ void protobuf_AssignDesc_netmessages_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(), ::google::protobuf::MessageFactory::generated_factory(),
sizeof(CSVCMsg_CmdKeyValues)); sizeof(CSVCMsg_CmdKeyValues));
CSVCMsg_EncryptedData_descriptor_ = file->message_type(49);
static const int CSVCMsg_EncryptedData_offsets_[2] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_EncryptedData, encrypted_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_EncryptedData, key_type_),
};
CSVCMsg_EncryptedData_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
CSVCMsg_EncryptedData_descriptor_,
CSVCMsg_EncryptedData::default_instance_,
CSVCMsg_EncryptedData_offsets_,
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_EncryptedData, _has_bits_[0]),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_EncryptedData, _unknown_fields_),
-1,
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(CSVCMsg_EncryptedData));
NET_Messages_descriptor_ = file->enum_type(0); NET_Messages_descriptor_ = file->enum_type(0);
CLC_Messages_descriptor_ = file->enum_type(1); CLC_Messages_descriptor_ = file->enum_type(1);
ESplitScreenMessageType_descriptor_ = file->enum_type(2); ESplitScreenMessageType_descriptor_ = file->enum_type(2);
@ -1301,6 +1320,8 @@ void protobuf_RegisterTypes(const ::std::string&) {
CSVCMsg_EntityMsg_descriptor_, &CSVCMsg_EntityMsg::default_instance()); CSVCMsg_EntityMsg_descriptor_, &CSVCMsg_EntityMsg::default_instance());
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
CSVCMsg_CmdKeyValues_descriptor_, &CSVCMsg_CmdKeyValues::default_instance()); CSVCMsg_CmdKeyValues_descriptor_, &CSVCMsg_CmdKeyValues::default_instance());
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
CSVCMsg_EncryptedData_descriptor_, &CSVCMsg_EncryptedData::default_instance());
} }
} // namespace } // namespace
@ -1418,6 +1439,8 @@ void protobuf_ShutdownFile_netmessages_2eproto() {
delete CSVCMsg_EntityMsg_reflection_; delete CSVCMsg_EntityMsg_reflection_;
delete CSVCMsg_CmdKeyValues::default_instance_; delete CSVCMsg_CmdKeyValues::default_instance_;
delete CSVCMsg_CmdKeyValues_reflection_; delete CSVCMsg_CmdKeyValues_reflection_;
delete CSVCMsg_EncryptedData::default_instance_;
delete CSVCMsg_EncryptedData_reflection_;
} }
void protobuf_AddDesc_netmessages_2eproto() { void protobuf_AddDesc_netmessages_2eproto() {
@ -1558,35 +1581,37 @@ void protobuf_AddDesc_netmessages_2eproto() {
"\021 \001(\010\"J\n\021CSVCMsg_EntityMsg\022\021\n\tent_index\030" "\021 \001(\010\"J\n\021CSVCMsg_EntityMsg\022\021\n\tent_index\030"
"\001 \001(\005\022\020\n\010class_id\030\002 \001(\005\022\020\n\010ent_data\030\003 \001(" "\001 \001(\005\022\020\n\010class_id\030\002 \001(\005\022\020\n\010ent_data\030\003 \001("
"\014\")\n\024CSVCMsg_CmdKeyValues\022\021\n\tkeyvalues\030\001" "\014\")\n\024CSVCMsg_CmdKeyValues\022\021\n\tkeyvalues\030\001"
" \001(\014*\273\001\n\014NET_Messages\022\013\n\007net_NOP\020\000\022\022\n\016ne" " \001(\014\"<\n\025CSVCMsg_EncryptedData\022\021\n\tencrypt"
"t_Disconnect\020\001\022\014\n\010net_File\020\002\022\032\n\026net_Last" "ed\030\001 \001(\014\022\020\n\010key_type\030\002 \001(\005*\273\001\n\014NET_Messa"
"ControlMessage\020\002\022\027\n\023net_SplitScreenUser\020" "ges\022\013\n\007net_NOP\020\000\022\022\n\016net_Disconnect\020\001\022\014\n\010"
"\003\022\014\n\010net_Tick\020\004\022\021\n\rnet_StringCmd\020\005\022\021\n\rne" "net_File\020\002\022\032\n\026net_LastControlMessage\020\002\022\027"
"t_SetConVar\020\006\022\023\n\017net_SignonState\020\007*\200\002\n\014C" "\n\023net_SplitScreenUser\020\003\022\014\n\010net_Tick\020\004\022\021\n"
"LC_Messages\022\022\n\016clc_ClientInfo\020\010\022\014\n\010clc_M" "\rnet_StringCmd\020\005\022\021\n\rnet_SetConVar\020\006\022\023\n\017n"
"ove\020\t\022\021\n\rclc_VoiceData\020\n\022\023\n\017clc_Baseline" "et_SignonState\020\007*\200\002\n\014CLC_Messages\022\022\n\016clc"
"Ack\020\013\022\024\n\020clc_ListenEvents\020\014\022\030\n\024clc_Respo" "_ClientInfo\020\010\022\014\n\010clc_Move\020\t\022\021\n\rclc_Voice"
"ndCvarValue\020\r\022\024\n\020clc_FileCRCCheck\020\016\022\027\n\023c" "Data\020\n\022\023\n\017clc_BaselineAck\020\013\022\024\n\020clc_Liste"
"lc_LoadingProgress\020\017\022\032\n\026clc_SplitPlayerC" "nEvents\020\014\022\030\n\024clc_RespondCvarValue\020\r\022\024\n\020c"
"onnect\020\020\022\025\n\021clc_ClientMessage\020\021\022\024\n\020clc_C" "lc_FileCRCCheck\020\016\022\027\n\023clc_LoadingProgress"
"mdKeyValues\020\022*u\n\027ESplitScreenMessageType" "\020\017\022\032\n\026clc_SplitPlayerConnect\020\020\022\025\n\021clc_Cl"
"\022\033\n\027MSG_SPLITSCREEN_ADDUSER\020\000\022\036\n\032MSG_SPL" "ientMessage\020\021\022\024\n\020clc_CmdKeyValues\020\022*u\n\027E"
"ITSCREEN_REMOVEUSER\020\001\022\035\n\031MSG_SPLITSCREEN" "SplitScreenMessageType\022\033\n\027MSG_SPLITSCREE"
"_TYPE_BITS\020\001*\235\004\n\014SVC_Messages\022\022\n\016svc_Ser" "N_ADDUSER\020\000\022\036\n\032MSG_SPLITSCREEN_REMOVEUSE"
"verInfo\020\010\022\021\n\rsvc_SendTable\020\t\022\021\n\rsvc_Clas" "R\020\001\022\035\n\031MSG_SPLITSCREEN_TYPE_BITS\020\001*\264\004\n\014S"
"sInfo\020\n\022\020\n\014svc_SetPause\020\013\022\031\n\025svc_CreateS" "VC_Messages\022\022\n\016svc_ServerInfo\020\010\022\021\n\rsvc_S"
"tringTable\020\014\022\031\n\025svc_UpdateStringTable\020\r\022" "endTable\020\t\022\021\n\rsvc_ClassInfo\020\n\022\020\n\014svc_Set"
"\021\n\rsvc_VoiceInit\020\016\022\021\n\rsvc_VoiceData\020\017\022\r\n" "Pause\020\013\022\031\n\025svc_CreateStringTable\020\014\022\031\n\025sv"
"\tsvc_Print\020\020\022\016\n\nsvc_Sounds\020\021\022\017\n\013svc_SetV" "c_UpdateStringTable\020\r\022\021\n\rsvc_VoiceInit\020\016"
"iew\020\022\022\020\n\014svc_FixAngle\020\023\022\026\n\022svc_Crosshair" "\022\021\n\rsvc_VoiceData\020\017\022\r\n\tsvc_Print\020\020\022\016\n\nsv"
"Angle\020\024\022\020\n\014svc_BSPDecal\020\025\022\023\n\017svc_SplitSc" "c_Sounds\020\021\022\017\n\013svc_SetView\020\022\022\020\n\014svc_FixAn"
"reen\020\026\022\023\n\017svc_UserMessage\020\027\022\025\n\021svc_Entit" "gle\020\023\022\026\n\022svc_CrosshairAngle\020\024\022\020\n\014svc_BSP"
"yMessage\020\030\022\021\n\rsvc_GameEvent\020\031\022\026\n\022svc_Pac" "Decal\020\025\022\023\n\017svc_SplitScreen\020\026\022\023\n\017svc_User"
"ketEntities\020\032\022\024\n\020svc_TempEntities\020\033\022\020\n\014s" "Message\020\027\022\025\n\021svc_EntityMessage\020\030\022\021\n\rsvc_"
"vc_Prefetch\020\034\022\014\n\010svc_Menu\020\035\022\025\n\021svc_GameE" "GameEvent\020\031\022\026\n\022svc_PacketEntities\020\032\022\024\n\020s"
"ventList\020\036\022\024\n\020svc_GetCvarValue\020\037\022\024\n\020svc_" "vc_TempEntities\020\033\022\020\n\014svc_Prefetch\020\034\022\014\n\010s"
"PaintmapData\020!\022\024\n\020svc_CmdKeyValues\020\"B\003\200\001" "vc_Menu\020\035\022\025\n\021svc_GameEventList\020\036\022\024\n\020svc_"
"\000", 6321); "GetCvarValue\020\037\022\024\n\020svc_PaintmapData\020!\022\024\n\020"
"svc_CmdKeyValues\020\"\022\025\n\021svc_EncryptedData\020"
"#B\003\200\001\000", 6406);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"netmessages.proto", &protobuf_RegisterTypes); "netmessages.proto", &protobuf_RegisterTypes);
CMsgVector::default_instance_ = new CMsgVector(); CMsgVector::default_instance_ = new CMsgVector();
@ -1645,6 +1670,7 @@ void protobuf_AddDesc_netmessages_2eproto() {
CSVCMsg_Sounds_sounddata_t::default_instance_ = new CSVCMsg_Sounds_sounddata_t(); CSVCMsg_Sounds_sounddata_t::default_instance_ = new CSVCMsg_Sounds_sounddata_t();
CSVCMsg_EntityMsg::default_instance_ = new CSVCMsg_EntityMsg(); CSVCMsg_EntityMsg::default_instance_ = new CSVCMsg_EntityMsg();
CSVCMsg_CmdKeyValues::default_instance_ = new CSVCMsg_CmdKeyValues(); CSVCMsg_CmdKeyValues::default_instance_ = new CSVCMsg_CmdKeyValues();
CSVCMsg_EncryptedData::default_instance_ = new CSVCMsg_EncryptedData();
CMsgVector::default_instance_->InitAsDefaultInstance(); CMsgVector::default_instance_->InitAsDefaultInstance();
CMsgVector2D::default_instance_->InitAsDefaultInstance(); CMsgVector2D::default_instance_->InitAsDefaultInstance();
CMsgQAngle::default_instance_->InitAsDefaultInstance(); CMsgQAngle::default_instance_->InitAsDefaultInstance();
@ -1701,6 +1727,7 @@ void protobuf_AddDesc_netmessages_2eproto() {
CSVCMsg_Sounds_sounddata_t::default_instance_->InitAsDefaultInstance(); CSVCMsg_Sounds_sounddata_t::default_instance_->InitAsDefaultInstance();
CSVCMsg_EntityMsg::default_instance_->InitAsDefaultInstance(); CSVCMsg_EntityMsg::default_instance_->InitAsDefaultInstance();
CSVCMsg_CmdKeyValues::default_instance_->InitAsDefaultInstance(); CSVCMsg_CmdKeyValues::default_instance_->InitAsDefaultInstance();
CSVCMsg_EncryptedData::default_instance_->InitAsDefaultInstance();
::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_netmessages_2eproto); ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_netmessages_2eproto);
} }
@ -1800,6 +1827,7 @@ bool SVC_Messages_IsValid(int value) {
case 31: case 31:
case 33: case 33:
case 34: case 34:
case 35:
return true; return true;
default: default:
return false; return false;
@ -19591,6 +19619,262 @@ void CSVCMsg_CmdKeyValues::Swap(CSVCMsg_CmdKeyValues* other) {
} }
// ===================================================================
const ::std::string CSVCMsg_EncryptedData::_default_encrypted_;
#ifndef _MSC_VER
const int CSVCMsg_EncryptedData::kEncryptedFieldNumber;
const int CSVCMsg_EncryptedData::kKeyTypeFieldNumber;
#endif // !_MSC_VER
CSVCMsg_EncryptedData::CSVCMsg_EncryptedData()
: ::google::protobuf::Message() {
SharedCtor();
}
void CSVCMsg_EncryptedData::InitAsDefaultInstance() {
}
CSVCMsg_EncryptedData::CSVCMsg_EncryptedData(const CSVCMsg_EncryptedData& from)
: ::google::protobuf::Message() {
SharedCtor();
MergeFrom(from);
}
void CSVCMsg_EncryptedData::SharedCtor() {
_cached_size_ = 0;
encrypted_ = const_cast< ::std::string*>(&_default_encrypted_);
key_type_ = 0;
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
CSVCMsg_EncryptedData::~CSVCMsg_EncryptedData() {
SharedDtor();
}
void CSVCMsg_EncryptedData::SharedDtor() {
if (encrypted_ != &_default_encrypted_) {
delete encrypted_;
}
if (this != default_instance_) {
}
}
void CSVCMsg_EncryptedData::SetCachedSize(int size) const {
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* CSVCMsg_EncryptedData::descriptor() {
protobuf_AssignDescriptorsOnce();
return CSVCMsg_EncryptedData_descriptor_;
}
const CSVCMsg_EncryptedData& CSVCMsg_EncryptedData::default_instance() {
if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_;
}
CSVCMsg_EncryptedData* CSVCMsg_EncryptedData::default_instance_ = NULL;
CSVCMsg_EncryptedData* CSVCMsg_EncryptedData::New() const {
return new CSVCMsg_EncryptedData;
}
void CSVCMsg_EncryptedData::Clear() {
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
if (_has_bit(0)) {
if (encrypted_ != &_default_encrypted_) {
encrypted_->clear();
}
}
key_type_ = 0;
}
::memset(_has_bits_, 0, sizeof(_has_bits_));
mutable_unknown_fields()->Clear();
}
bool CSVCMsg_EncryptedData::MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
::google::protobuf::uint32 tag;
while ((tag = input->ReadTag()) != 0) {
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
// optional bytes encrypted = 1;
case 1: {
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
input, this->mutable_encrypted()));
} else {
goto handle_uninterpreted;
}
if (input->ExpectTag(16)) goto parse_key_type;
break;
}
// optional int32 key_type = 2;
case 2: {
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
parse_key_type:
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &key_type_)));
_set_bit(1);
} else {
goto handle_uninterpreted;
}
if (input->ExpectAtEnd()) return true;
break;
}
default: {
handle_uninterpreted:
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
return true;
}
DO_(::google::protobuf::internal::WireFormat::SkipField(
input, tag, mutable_unknown_fields()));
break;
}
}
}
return true;
#undef DO_
}
void CSVCMsg_EncryptedData::SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const {
// optional bytes encrypted = 1;
if (_has_bit(0)) {
::google::protobuf::internal::WireFormatLite::WriteBytes(
1, this->encrypted(), output);
}
// optional int32 key_type = 2;
if (_has_bit(1)) {
::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->key_type(), output);
}
if (!unknown_fields().empty()) {
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
unknown_fields(), output);
}
}
::google::protobuf::uint8* CSVCMsg_EncryptedData::SerializeWithCachedSizesToArray(
::google::protobuf::uint8* target) const {
// optional bytes encrypted = 1;
if (_has_bit(0)) {
target =
::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
1, this->encrypted(), target);
}
// optional int32 key_type = 2;
if (_has_bit(1)) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->key_type(), target);
}
if (!unknown_fields().empty()) {
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
unknown_fields(), target);
}
return target;
}
int CSVCMsg_EncryptedData::ByteSize() const {
int total_size = 0;
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
// optional bytes encrypted = 1;
if (has_encrypted()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::BytesSize(
this->encrypted());
}
// optional int32 key_type = 2;
if (has_key_type()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->key_type());
}
}
if (!unknown_fields().empty()) {
total_size +=
::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
unknown_fields());
}
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = total_size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
return total_size;
}
void CSVCMsg_EncryptedData::MergeFrom(const ::google::protobuf::Message& from) {
GOOGLE_CHECK_NE(&from, this);
const CSVCMsg_EncryptedData* source =
::google::protobuf::internal::dynamic_cast_if_available<const CSVCMsg_EncryptedData*>(
&from);
if (source == NULL) {
::google::protobuf::internal::ReflectionOps::Merge(from, this);
} else {
MergeFrom(*source);
}
}
void CSVCMsg_EncryptedData::MergeFrom(const CSVCMsg_EncryptedData& from) {
GOOGLE_CHECK_NE(&from, this);
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
if (from._has_bit(0)) {
set_encrypted(from.encrypted());
}
if (from._has_bit(1)) {
set_key_type(from.key_type());
}
}
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}
void CSVCMsg_EncryptedData::CopyFrom(const ::google::protobuf::Message& from) {
if (&from == this) return;
Clear();
MergeFrom(from);
}
void CSVCMsg_EncryptedData::CopyFrom(const CSVCMsg_EncryptedData& from) {
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool CSVCMsg_EncryptedData::IsInitialized() const {
return true;
}
void CSVCMsg_EncryptedData::Swap(CSVCMsg_EncryptedData* other) {
if (other != this) {
std::swap(encrypted_, other->encrypted_);
std::swap(key_type_, other->key_type_);
std::swap(_has_bits_[0], other->_has_bits_[0]);
_unknown_fields_.Swap(&other->_unknown_fields_);
std::swap(_cached_size_, other->_cached_size_);
}
}
::google::protobuf::Metadata CSVCMsg_EncryptedData::GetMetadata() const {
protobuf_AssignDescriptorsOnce();
::google::protobuf::Metadata metadata;
metadata.descriptor = CSVCMsg_EncryptedData_descriptor_;
metadata.reflection = CSVCMsg_EncryptedData_reflection_;
return metadata;
}
// @@protoc_insertion_point(namespace_scope) // @@protoc_insertion_point(namespace_scope)
// @@protoc_insertion_point(global_scope) // @@protoc_insertion_point(global_scope)

View File

@ -87,6 +87,7 @@ class CSVCMsg_Sounds;
class CSVCMsg_Sounds_sounddata_t; class CSVCMsg_Sounds_sounddata_t;
class CSVCMsg_EntityMsg; class CSVCMsg_EntityMsg;
class CSVCMsg_CmdKeyValues; class CSVCMsg_CmdKeyValues;
class CSVCMsg_EncryptedData;
enum NET_Messages { enum NET_Messages {
net_NOP = 0, net_NOP = 0,
@ -188,11 +189,12 @@ enum SVC_Messages {
svc_GameEventList = 30, svc_GameEventList = 30,
svc_GetCvarValue = 31, svc_GetCvarValue = 31,
svc_PaintmapData = 33, svc_PaintmapData = 33,
svc_CmdKeyValues = 34 svc_CmdKeyValues = 34,
svc_EncryptedData = 35
}; };
bool SVC_Messages_IsValid(int value); bool SVC_Messages_IsValid(int value);
const SVC_Messages SVC_Messages_MIN = svc_ServerInfo; const SVC_Messages SVC_Messages_MIN = svc_ServerInfo;
const SVC_Messages SVC_Messages_MAX = svc_CmdKeyValues; const SVC_Messages SVC_Messages_MAX = svc_EncryptedData;
const int SVC_Messages_ARRAYSIZE = SVC_Messages_MAX + 1; const int SVC_Messages_ARRAYSIZE = SVC_Messages_MAX + 1;
const ::google::protobuf::EnumDescriptor* SVC_Messages_descriptor(); const ::google::protobuf::EnumDescriptor* SVC_Messages_descriptor();
@ -6544,6 +6546,107 @@ class CSVCMsg_CmdKeyValues : public ::google::protobuf::Message {
void InitAsDefaultInstance(); void InitAsDefaultInstance();
static CSVCMsg_CmdKeyValues* default_instance_; static CSVCMsg_CmdKeyValues* default_instance_;
}; };
// -------------------------------------------------------------------
class CSVCMsg_EncryptedData : public ::google::protobuf::Message {
public:
CSVCMsg_EncryptedData();
virtual ~CSVCMsg_EncryptedData();
CSVCMsg_EncryptedData(const CSVCMsg_EncryptedData& from);
inline CSVCMsg_EncryptedData& operator=(const CSVCMsg_EncryptedData& from) {
CopyFrom(from);
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
return _unknown_fields_;
}
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
return &_unknown_fields_;
}
static const ::google::protobuf::Descriptor* descriptor();
static const CSVCMsg_EncryptedData& default_instance();
void Swap(CSVCMsg_EncryptedData* other);
// implements Message ----------------------------------------------
CSVCMsg_EncryptedData* New() const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const CSVCMsg_EncryptedData& from);
void MergeFrom(const CSVCMsg_EncryptedData& from);
void Clear();
bool IsInitialized() const;
int ByteSize() const;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input);
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const;
::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
int GetCachedSize() const { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
public:
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// optional bytes encrypted = 1;
inline bool has_encrypted() const;
inline void clear_encrypted();
static const int kEncryptedFieldNumber = 1;
inline const ::std::string& encrypted() const;
inline void set_encrypted(const ::std::string& value);
inline void set_encrypted(const char* value);
inline void set_encrypted(const void* value, size_t size);
inline ::std::string* mutable_encrypted();
// optional int32 key_type = 2;
inline bool has_key_type() const;
inline void clear_key_type();
static const int kKeyTypeFieldNumber = 2;
inline ::google::protobuf::int32 key_type() const;
inline void set_key_type(::google::protobuf::int32 value);
// @@protoc_insertion_point(class_scope:CSVCMsg_EncryptedData)
private:
::google::protobuf::UnknownFieldSet _unknown_fields_;
mutable int _cached_size_;
::std::string* encrypted_;
static const ::std::string _default_encrypted_;
::google::protobuf::int32 key_type_;
friend void protobuf_AddDesc_netmessages_2eproto();
friend void protobuf_AssignDesc_netmessages_2eproto();
friend void protobuf_ShutdownFile_netmessages_2eproto();
::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
// WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
inline bool _has_bit(int index) const {
return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
}
inline void _set_bit(int index) {
_has_bits_[index / 32] |= (1u << (index % 32));
}
inline void _clear_bit(int index) {
_has_bits_[index / 32] &= ~(1u << (index % 32));
}
void InitAsDefaultInstance();
static CSVCMsg_EncryptedData* default_instance_;
};
// =================================================================== // ===================================================================
@ -11150,6 +11253,68 @@ inline ::std::string* CSVCMsg_CmdKeyValues::mutable_keyvalues() {
return keyvalues_; return keyvalues_;
} }
// -------------------------------------------------------------------
// CSVCMsg_EncryptedData
// optional bytes encrypted = 1;
inline bool CSVCMsg_EncryptedData::has_encrypted() const {
return _has_bit(0);
}
inline void CSVCMsg_EncryptedData::clear_encrypted() {
if (encrypted_ != &_default_encrypted_) {
encrypted_->clear();
}
_clear_bit(0);
}
inline const ::std::string& CSVCMsg_EncryptedData::encrypted() const {
return *encrypted_;
}
inline void CSVCMsg_EncryptedData::set_encrypted(const ::std::string& value) {
_set_bit(0);
if (encrypted_ == &_default_encrypted_) {
encrypted_ = new ::std::string;
}
encrypted_->assign(value);
}
inline void CSVCMsg_EncryptedData::set_encrypted(const char* value) {
_set_bit(0);
if (encrypted_ == &_default_encrypted_) {
encrypted_ = new ::std::string;
}
encrypted_->assign(value);
}
inline void CSVCMsg_EncryptedData::set_encrypted(const void* value, size_t size) {
_set_bit(0);
if (encrypted_ == &_default_encrypted_) {
encrypted_ = new ::std::string;
}
encrypted_->assign(reinterpret_cast<const char*>(value), size);
}
inline ::std::string* CSVCMsg_EncryptedData::mutable_encrypted() {
_set_bit(0);
if (encrypted_ == &_default_encrypted_) {
encrypted_ = new ::std::string;
}
return encrypted_;
}
// optional int32 key_type = 2;
inline bool CSVCMsg_EncryptedData::has_key_type() const {
return _has_bit(1);
}
inline void CSVCMsg_EncryptedData::clear_key_type() {
key_type_ = 0;
_clear_bit(1);
}
inline ::google::protobuf::int32 CSVCMsg_EncryptedData::key_type() const {
return key_type_;
}
inline void CSVCMsg_EncryptedData::set_key_type(::google::protobuf::int32 value) {
_set_bit(1);
key_type_ = value;
}
// @@protoc_insertion_point(namespace_scope) // @@protoc_insertion_point(namespace_scope)

View File

@ -324,6 +324,7 @@ enum SVC_Messages
svc_GetCvarValue = 31; // Server wants to know the value of a cvar on the client svc_GetCvarValue = 31; // Server wants to know the value of a cvar on the client
svc_PaintmapData = 33; svc_PaintmapData = 33;
svc_CmdKeyValues = 34; // Server submits KeyValues command for the client svc_CmdKeyValues = 34; // Server submits KeyValues command for the client
svc_EncryptedData = 35;
} }
message CSVCMsg_ServerInfo message CSVCMsg_ServerInfo
@ -583,4 +584,10 @@ message CSVCMsg_EntityMsg
message CSVCMsg_CmdKeyValues message CSVCMsg_CmdKeyValues
{ {
optional bytes keyvalues = 1; optional bytes keyvalues = 1;
}
message CSVCMsg_EncryptedData
{
optional bytes encrypted = 1;
optional int32 key_type = 2;
} }

View File

@ -288,10 +288,11 @@ void protobuf_AssignDesc_cstrike15_5fusermessages_2eproto() {
::google::protobuf::MessageFactory::generated_factory(), ::google::protobuf::MessageFactory::generated_factory(),
sizeof(CCSUsrMsg_HudText)); sizeof(CCSUsrMsg_HudText));
CCSUsrMsg_SayText_descriptor_ = file->message_type(4); CCSUsrMsg_SayText_descriptor_ = file->message_type(4);
static const int CCSUsrMsg_SayText_offsets_[3] = { static const int CCSUsrMsg_SayText_offsets_[4] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SayText, ent_idx_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SayText, ent_idx_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SayText, text_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SayText, text_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SayText, chat_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SayText, chat_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SayText, textallchat_),
}; };
CCSUsrMsg_SayText_reflection_ = CCSUsrMsg_SayText_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection( new ::google::protobuf::internal::GeneratedMessageReflection(
@ -305,11 +306,12 @@ void protobuf_AssignDesc_cstrike15_5fusermessages_2eproto() {
::google::protobuf::MessageFactory::generated_factory(), ::google::protobuf::MessageFactory::generated_factory(),
sizeof(CCSUsrMsg_SayText)); sizeof(CCSUsrMsg_SayText));
CCSUsrMsg_SayText2_descriptor_ = file->message_type(5); CCSUsrMsg_SayText2_descriptor_ = file->message_type(5);
static const int CCSUsrMsg_SayText2_offsets_[4] = { static const int CCSUsrMsg_SayText2_offsets_[5] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SayText2, ent_idx_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SayText2, ent_idx_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SayText2, chat_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SayText2, chat_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SayText2, msg_name_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SayText2, msg_name_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SayText2, params_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SayText2, params_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SayText2, textallchat_),
}; };
CCSUsrMsg_SayText2_reflection_ = CCSUsrMsg_SayText2_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection( new ::google::protobuf::internal::GeneratedMessageReflection(
@ -1514,151 +1516,152 @@ void protobuf_AddDesc_cstrike15_5fusermessages_2eproto() {
"\001(\t\022\013\n\003str\030\002 \001(\t\"!\n\020CCSUsrMsg_Geiger\022\r\n\005" "\001(\t\022\013\n\003str\030\002 \001(\t\"!\n\020CCSUsrMsg_Geiger\022\r\n\005"
"range\030\001 \001(\005\" \n\017CCSUsrMsg_Train\022\r\n\005train\030" "range\030\001 \001(\005\" \n\017CCSUsrMsg_Train\022\r\n\005train\030"
"\001 \001(\005\"!\n\021CCSUsrMsg_HudText\022\014\n\004text\030\001 \001(\t" "\001 \001(\005\"!\n\021CCSUsrMsg_HudText\022\014\n\004text\030\001 \001(\t"
"\"@\n\021CCSUsrMsg_SayText\022\017\n\007ent_idx\030\001 \001(\005\022\014" "\"U\n\021CCSUsrMsg_SayText\022\017\n\007ent_idx\030\001 \001(\005\022\014"
"\n\004text\030\002 \001(\t\022\014\n\004chat\030\003 \001(\010\"U\n\022CCSUsrMsg_" "\n\004text\030\002 \001(\t\022\014\n\004chat\030\003 \001(\010\022\023\n\013textallcha"
"SayText2\022\017\n\007ent_idx\030\001 \001(\005\022\014\n\004chat\030\002 \001(\010\022" "t\030\004 \001(\010\"j\n\022CCSUsrMsg_SayText2\022\017\n\007ent_idx"
"\020\n\010msg_name\030\003 \001(\t\022\016\n\006params\030\004 \003(\t\"4\n\021CCS" "\030\001 \001(\005\022\014\n\004chat\030\002 \001(\010\022\020\n\010msg_name\030\003 \001(\t\022\016"
"UsrMsg_TextMsg\022\017\n\007msg_dst\030\001 \001(\005\022\016\n\006param" "\n\006params\030\004 \003(\t\022\023\n\013textallchat\030\005 \001(\010\"4\n\021C"
"s\030\003 \003(\t\"\340\001\n\020CCSUsrMsg_HudMsg\022\017\n\007channel\030" "CSUsrMsg_TextMsg\022\017\n\007msg_dst\030\001 \001(\005\022\016\n\006par"
"\001 \001(\005\022\032\n\003pos\030\002 \001(\0132\r.CMsgVector2D\022\027\n\004clr" "ams\030\003 \003(\t\"\340\001\n\020CCSUsrMsg_HudMsg\022\017\n\007channe"
"1\030\003 \001(\0132\t.CMsgRGBA\022\027\n\004clr2\030\004 \001(\0132\t.CMsgR" "l\030\001 \001(\005\022\032\n\003pos\030\002 \001(\0132\r.CMsgVector2D\022\027\n\004c"
"GBA\022\016\n\006effect\030\005 \001(\005\022\024\n\014fade_in_time\030\006 \001(" "lr1\030\003 \001(\0132\t.CMsgRGBA\022\027\n\004clr2\030\004 \001(\0132\t.CMs"
"\002\022\025\n\rfade_out_time\030\007 \001(\002\022\021\n\thold_time\030\t " "gRGBA\022\016\n\006effect\030\005 \001(\005\022\024\n\014fade_in_time\030\006 "
"\001(\002\022\017\n\007fx_time\030\n \001(\002\022\014\n\004text\030\013 \001(\t\"`\n\017CC" "\001(\002\022\025\n\rfade_out_time\030\007 \001(\002\022\021\n\thold_time\030"
"SUsrMsg_Shake\022\017\n\007command\030\001 \001(\005\022\027\n\017local_" "\t \001(\002\022\017\n\007fx_time\030\n \001(\002\022\014\n\004text\030\013 \001(\t\"`\n\017"
"amplitude\030\002 \001(\002\022\021\n\tfrequency\030\003 \001(\002\022\020\n\010du" "CCSUsrMsg_Shake\022\017\n\007command\030\001 \001(\005\022\027\n\017loca"
"ration\030\004 \001(\002\"\\\n\016CCSUsrMsg_Fade\022\020\n\010durati" "l_amplitude\030\002 \001(\002\022\021\n\tfrequency\030\003 \001(\002\022\020\n\010"
"on\030\001 \001(\005\022\021\n\thold_time\030\002 \001(\005\022\r\n\005flags\030\003 \001" "duration\030\004 \001(\002\"\\\n\016CCSUsrMsg_Fade\022\020\n\010dura"
"(\005\022\026\n\003clr\030\004 \001(\0132\t.CMsgRGBA\">\n\020CCSUsrMsg_" "tion\030\001 \001(\005\022\021\n\thold_time\030\002 \001(\005\022\r\n\005flags\030\003"
"Rumble\022\r\n\005index\030\001 \001(\005\022\014\n\004data\030\002 \001(\005\022\r\n\005f" " \001(\005\022\026\n\003clr\030\004 \001(\0132\t.CMsgRGBA\">\n\020CCSUsrMs"
"lags\030\003 \001(\005\"M\n\026CCSUsrMsg_CloseCaption\022\014\n\004" "g_Rumble\022\r\n\005index\030\001 \001(\005\022\014\n\004data\030\002 \001(\005\022\r\n"
"hash\030\001 \001(\r\022\020\n\010duration\030\002 \001(\005\022\023\n\013from_pla" "\005flags\030\003 \001(\005\"M\n\026CCSUsrMsg_CloseCaption\022\014"
"yer\030\003 \001(\010\"S\n\034CCSUsrMsg_CloseCaptionDirec" "\n\004hash\030\001 \001(\r\022\020\n\010duration\030\002 \001(\005\022\023\n\013from_p"
"t\022\014\n\004hash\030\001 \001(\r\022\020\n\010duration\030\002 \001(\005\022\023\n\013fro" "layer\030\003 \001(\010\"S\n\034CCSUsrMsg_CloseCaptionDir"
"m_player\030\003 \001(\010\"*\n\023CCSUsrMsg_SendAudio\022\023\n" "ect\022\014\n\004hash\030\001 \001(\r\022\020\n\010duration\030\002 \001(\005\022\023\n\013f"
"\013radio_sound\030\001 \001(\t\"]\n\022CCSUsrMsg_RawAudio" "rom_player\030\003 \001(\010\"*\n\023CCSUsrMsg_SendAudio\022"
"\022\r\n\005pitch\030\001 \001(\005\022\016\n\006entidx\030\002 \001(\005\022\020\n\010durat" "\023\n\013radio_sound\030\001 \001(\t\"]\n\022CCSUsrMsg_RawAud"
"ion\030\003 \001(\002\022\026\n\016voice_filename\030\004 \001(\t\"\241\001\n\023CC" "io\022\r\n\005pitch\030\001 \001(\005\022\016\n\006entidx\030\002 \001(\005\022\020\n\010dur"
"SUsrMsg_VoiceMask\0225\n\014player_masks\030\001 \003(\0132" "ation\030\003 \001(\002\022\026\n\016voice_filename\030\004 \001(\t\"\241\001\n\023"
"\037.CCSUsrMsg_VoiceMask.PlayerMask\022\031\n\021play" "CCSUsrMsg_VoiceMask\0225\n\014player_masks\030\001 \003("
"er_mod_enable\030\002 \001(\010\0328\n\nPlayerMask\022\027\n\017gam" "\0132\037.CCSUsrMsg_VoiceMask.PlayerMask\022\031\n\021pl"
"e_rules_mask\030\001 \001(\005\022\021\n\tban_masks\030\002 \001(\005\"L\n" "ayer_mod_enable\030\002 \001(\010\0328\n\nPlayerMask\022\027\n\017g"
"\020CCSUsrMsg_Damage\022\016\n\006amount\030\001 \001(\005\022(\n\023inf" "ame_rules_mask\030\001 \001(\005\022\021\n\tban_masks\030\002 \001(\005\""
"lictor_world_pos\030\002 \001(\0132\013.CMsgVector\"X\n\023C" "L\n\020CCSUsrMsg_Damage\022\016\n\006amount\030\001 \001(\005\022(\n\023i"
"CSUsrMsg_RadioText\022\017\n\007msg_dst\030\001 \001(\005\022\016\n\006c" "nflictor_world_pos\030\002 \001(\0132\013.CMsgVector\"X\n"
"lient\030\002 \001(\005\022\020\n\010msg_name\030\003 \001(\t\022\016\n\006params\030" "\023CCSUsrMsg_RadioText\022\017\n\007msg_dst\030\001 \001(\005\022\016\n"
"\004 \003(\t\"\"\n\022CCSUsrMsg_HintText\022\014\n\004text\030\001 \001(" "\006client\030\002 \001(\005\022\020\n\010msg_name\030\003 \001(\t\022\016\n\006param"
"\t\"&\n\025CCSUsrMsg_KeyHintText\022\r\n\005hints\030\001 \003(" "s\030\004 \003(\t\"\"\n\022CCSUsrMsg_HintText\022\014\n\004text\030\001 "
"\t\"\326\002\n$CCSUsrMsg_ProcessSpottedEntityUpda" "\001(\t\"&\n\025CCSUsrMsg_KeyHintText\022\r\n\005hints\030\001 "
"te\022\022\n\nnew_update\030\001 \001(\010\022Q\n\016entity_updates" "\003(\t\"\326\002\n$CCSUsrMsg_ProcessSpottedEntityUp"
"\030\002 \003(\01329.CCSUsrMsg_ProcessSpottedEntityU" "date\022\022\n\nnew_update\030\001 \001(\010\022Q\n\016entity_updat"
"pdate.SpottedEntityUpdate\032\306\001\n\023SpottedEnt" "es\030\002 \003(\01329.CCSUsrMsg_ProcessSpottedEntit"
"ityUpdate\022\022\n\nentity_idx\030\001 \001(\005\022\020\n\010class_i" "yUpdate.SpottedEntityUpdate\032\306\001\n\023SpottedE"
"d\030\002 \001(\005\022\020\n\010origin_x\030\003 \001(\005\022\020\n\010origin_y\030\004 " "ntityUpdate\022\022\n\nentity_idx\030\001 \001(\005\022\020\n\010class"
"\001(\005\022\020\n\010origin_z\030\005 \001(\005\022\017\n\007angle_y\030\006 \001(\005\022\017" "_id\030\002 \001(\005\022\020\n\010origin_x\030\003 \001(\005\022\020\n\010origin_y\030"
"\n\007defuser\030\007 \001(\010\022\032\n\022player_has_defuser\030\010 " "\004 \001(\005\022\020\n\010origin_z\030\005 \001(\005\022\017\n\007angle_y\030\006 \001(\005"
"\001(\010\022\025\n\rplayer_has_c4\030\t \001(\010\"(\n\026CCSUsrMsg_" "\022\017\n\007defuser\030\007 \001(\010\022\032\n\022player_has_defuser\030"
"ReloadEffect\022\016\n\006entidx\030\001 \001(\005\"\'\n\025CCSUsrMs" "\010 \001(\010\022\025\n\rplayer_has_c4\030\t \001(\010\"(\n\026CCSUsrMs"
"g_AdjustMoney\022\016\n\006amount\030\001 \001(\005\"R\n\021CCSUsrM" "g_ReloadEffect\022\016\n\006entidx\030\001 \001(\005\"\'\n\025CCSUsr"
"sg_KillCam\022\020\n\010obs_mode\030\001 \001(\005\022\024\n\014first_ta" "Msg_AdjustMoney\022\016\n\006amount\030\001 \001(\005\"R\n\021CCSUs"
"rget\030\002 \001(\005\022\025\n\rsecond_target\030\003 \001(\005\"\213\001\n\032CC" "rMsg_KillCam\022\020\n\010obs_mode\030\001 \001(\005\022\024\n\014first_"
"SUsrMsg_DesiredTimescale\022\031\n\021desired_time" "target\030\002 \001(\005\022\025\n\rsecond_target\030\003 \001(\005\"\213\001\n\032"
"scale\030\001 \001(\002\022\035\n\025duration_realtime_sec\030\002 \001" "CCSUsrMsg_DesiredTimescale\022\031\n\021desired_ti"
"(\002\022\031\n\021interpolator_type\030\003 \001(\005\022\030\n\020start_b" "mescale\030\001 \001(\002\022\035\n\025duration_realtime_sec\030\002"
"lend_time\030\004 \001(\002\"3\n\032CCSUsrMsg_CurrentTime" " \001(\002\022\031\n\021interpolator_type\030\003 \001(\005\022\030\n\020start"
"scale\022\025\n\rcur_timescale\030\001 \001(\002\"Q\n\032CCSUsrMs" "_blend_time\030\004 \001(\002\"3\n\032CCSUsrMsg_CurrentTi"
"g_AchievementEvent\022\023\n\013achievement\030\001 \001(\005\022" "mescale\022\025\n\rcur_timescale\030\001 \001(\002\"Q\n\032CCSUsr"
"\r\n\005count\030\002 \001(\005\022\017\n\007user_id\030\003 \001(\005\"r\n\034CCSUs" "Msg_AchievementEvent\022\023\n\013achievement\030\001 \001("
"rMsg_MatchEndConditions\022\021\n\tfraglimit\030\001 \001" "\005\022\r\n\005count\030\002 \001(\005\022\017\n\007user_id\030\003 \001(\005\"r\n\034CCS"
"(\005\022\024\n\014mp_maxrounds\030\002 \001(\005\022\023\n\013mp_winlimit\030" "UsrMsg_MatchEndConditions\022\021\n\tfraglimit\030\001"
"\003 \001(\005\022\024\n\014mp_timelimit\030\004 \001(\005\"\273\001\n\033CCSUsrMs" " \001(\005\022\024\n\014mp_maxrounds\030\002 \001(\005\022\023\n\013mp_winlimi"
"g_PlayerStatsUpdate\022\017\n\007version\030\001 \001(\005\022\027\n\017" "t\030\003 \001(\005\022\024\n\014mp_timelimit\030\004 \001(\005\"\273\001\n\033CCSUsr"
"official_server\030\002 \001(\005\0220\n\005stats\030\004 \003(\0132!.C" "Msg_PlayerStatsUpdate\022\017\n\007version\030\001 \001(\005\022\027"
"CSUsrMsg_PlayerStatsUpdate.Stat\022\017\n\007user_" "\n\017official_server\030\002 \001(\005\0220\n\005stats\030\004 \003(\0132!"
"id\030\005 \001(\005\022\013\n\003crc\030\006 \001(\005\032\"\n\004Stat\022\013\n\003idx\030\001 \001" ".CCSUsrMsg_PlayerStatsUpdate.Stat\022\017\n\007use"
"(\005\022\r\n\005delta\030\002 \001(\005\"-\n\032CCSUsrMsg_DisplayIn" "r_id\030\005 \001(\005\022\013\n\003crc\030\006 \001(\005\032\"\n\004Stat\022\013\n\003idx\030\001"
"ventory\022\017\n\007display\030\001 \001(\010\":\n\022CCSUsrMsg_XR" " \001(\005\022\r\n\005delta\030\002 \001(\005\"-\n\032CCSUsrMsg_Display"
"ankGet\022\020\n\010mode_idx\030\001 \001(\005\022\022\n\ncontroller\030\002" "Inventory\022\017\n\007display\030\001 \001(\010\":\n\022CCSUsrMsg_"
" \001(\005\"K\n\022CCSUsrMsg_XRankUpd\022\020\n\010mode_idx\030\001" "XRankGet\022\020\n\010mode_idx\030\001 \001(\005\022\022\n\ncontroller"
" \001(\005\022\022\n\ncontroller\030\002 \001(\005\022\017\n\007ranking\030\003 \001(" "\030\002 \001(\005\"K\n\022CCSUsrMsg_XRankUpd\022\020\n\010mode_idx"
"\005\"7\n$CCSUsrMsg_SetPlayerEloDisplayBracke" "\030\001 \001(\005\022\022\n\ncontroller\030\002 \001(\005\022\017\n\007ranking\030\003 "
"t\022\017\n\007bracket\030\001 \001(\005\"2\n\037CCSUsrMsg_RequestE" "\001(\005\"7\n$CCSUsrMsg_SetPlayerEloDisplayBrac"
"loBracketInfo\022\017\n\007bracket\030\001 \001(\005\"}\n\033CCSUsr" "ket\022\017\n\007bracket\030\001 \001(\005\"2\n\037CCSUsrMsg_Reques"
"Msg_SetEloBracketInfo\022\021\n\tgame_mode\030\001 \001(\005" "tEloBracketInfo\022\017\n\007bracket\030\001 \001(\005\"}\n\033CCSU"
"\022\027\n\017display_bracket\030\002 \001(\005\022\024\n\014prev_bracke" "srMsg_SetEloBracketInfo\022\021\n\tgame_mode\030\001 \001"
"t\030\003 \001(\005\022\034\n\024num_games_in_bracket\030\004 \001(\005\"8\n" "(\005\022\027\n\017display_bracket\030\002 \001(\005\022\024\n\014prev_brac"
"\030CCSUsrMsg_CallVoteFailed\022\016\n\006reason\030\001 \001(" "ket\030\003 \001(\005\022\034\n\024num_games_in_bracket\030\004 \001(\005\""
"\005\022\014\n\004time\030\002 \001(\005\"\236\001\n\023CCSUsrMsg_VoteStart\022" "8\n\030CCSUsrMsg_CallVoteFailed\022\016\n\006reason\030\001 "
"\014\n\004team\030\001 \001(\005\022\017\n\007ent_idx\030\002 \001(\005\022\021\n\tvote_t" "\001(\005\022\014\n\004time\030\002 \001(\005\"\236\001\n\023CCSUsrMsg_VoteStar"
"ype\030\003 \001(\005\022\020\n\010disp_str\030\004 \001(\t\022\023\n\013details_s" "t\022\014\n\004team\030\001 \001(\005\022\017\n\007ent_idx\030\002 \001(\005\022\021\n\tvote"
"tr\030\005 \001(\t\022\026\n\016other_team_str\030\006 \001(\t\022\026\n\016is_y" "_type\030\003 \001(\005\022\020\n\010disp_str\030\004 \001(\t\022\023\n\013details"
"es_no_vote\030\007 \001(\010\"\\\n\022CCSUsrMsg_VotePass\022\014" "_str\030\005 \001(\t\022\026\n\016other_team_str\030\006 \001(\t\022\026\n\016is"
"\n\004team\030\001 \001(\005\022\021\n\tvote_type\030\002 \001(\005\022\020\n\010disp_" "_yes_no_vote\030\007 \001(\010\"\\\n\022CCSUsrMsg_VotePass"
"str\030\003 \001(\t\022\023\n\013details_str\030\004 \001(\t\"4\n\024CCSUsr" "\022\014\n\004team\030\001 \001(\005\022\021\n\tvote_type\030\002 \001(\005\022\020\n\010dis"
"Msg_VoteFailed\022\014\n\004team\030\001 \001(\005\022\016\n\006reason\030\002" "p_str\030\003 \001(\t\022\023\n\013details_str\030\004 \001(\t\"4\n\024CCSU"
" \001(\005\"/\n\023CCSUsrMsg_VoteSetup\022\030\n\020potential" "srMsg_VoteFailed\022\014\n\004team\030\001 \001(\005\022\016\n\006reason"
"_issues\030\001 \003(\t\"\204\001\n&CCSUsrMsg_SendLastKill" "\030\002 \001(\005\"/\n\023CCSUsrMsg_VoteSetup\022\030\n\020potenti"
"erDamageToClient\022\026\n\016num_hits_given\030\001 \001(\005" "al_issues\030\001 \003(\t\"\204\001\n&CCSUsrMsg_SendLastKi"
"\022\024\n\014damage_given\030\002 \001(\005\022\026\n\016num_hits_taken" "llerDamageToClient\022\026\n\016num_hits_given\030\001 \001"
"\030\003 \001(\005\022\024\n\014damage_taken\030\004 \001(\005\"\306\001\n\032CCSUsrM" "(\005\022\024\n\014damage_given\030\002 \001(\005\022\026\n\016num_hits_tak"
"sg_ServerRankUpdate\022;\n\013rank_update\030\001 \003(\013" "en\030\003 \001(\005\022\024\n\014damage_taken\030\004 \001(\005\"\306\001\n\032CCSUs"
"2&.CCSUsrMsg_ServerRankUpdate.RankUpdate" "rMsg_ServerRankUpdate\022;\n\013rank_update\030\001 \003"
"\032k\n\nRankUpdate\022\022\n\naccount_id\030\001 \001(\005\022\020\n\010ra" "(\0132&.CCSUsrMsg_ServerRankUpdate.RankUpda"
"nk_old\030\002 \001(\005\022\020\n\010rank_new\030\003 \001(\005\022\020\n\010num_wi" "te\032k\n\nRankUpdate\022\022\n\naccount_id\030\001 \001(\005\022\020\n\010"
"ns\030\004 \001(\005\022\023\n\013rank_change\030\005 \001(\002\"$\n\024CCSUsrM" "rank_old\030\002 \001(\005\022\020\n\010rank_new\030\003 \001(\005\022\020\n\010num_"
"sg_ItemPickup\022\014\n\004item\030\001 \001(\t\"Y\n\022CCSUsrMsg" "wins\030\004 \001(\005\022\023\n\013rank_change\030\005 \001(\002\"$\n\024CCSUs"
"_ShowMenu\022\030\n\020bits_valid_slots\030\001 \001(\005\022\024\n\014d" "rMsg_ItemPickup\022\014\n\004item\030\001 \001(\t\"Y\n\022CCSUsrM"
"isplay_time\030\002 \001(\005\022\023\n\013menu_string\030\003 \001(\t\"!" "sg_ShowMenu\022\030\n\020bits_valid_slots\030\001 \001(\005\022\024\n"
"\n\021CCSUsrMsg_BarTime\022\014\n\004time\030\001 \001(\t\"\'\n\024CCS" "\014display_time\030\002 \001(\005\022\023\n\013menu_string\030\003 \001(\t"
"UsrMsg_AmmoDenied\022\017\n\007ammoIdx\030\001 \001(\005\"0\n\031CC" "\"!\n\021CCSUsrMsg_BarTime\022\014\n\004time\030\001 \001(\t\"\'\n\024C"
"SUsrMsg_MarkAchievement\022\023\n\013achievement\030\001" "CSUsrMsg_AmmoDenied\022\017\n\007ammoIdx\030\001 \001(\005\"0\n\031"
" \001(\t\",\n\032CCSUsrMsg_MatchStatsUpdate\022\016\n\006up" "CCSUsrMsg_MarkAchievement\022\023\n\013achievement"
"date\030\001 \001(\t\"3\n\022CCSUsrMsg_ItemDrop\022\016\n\006item" "\030\001 \001(\t\",\n\032CCSUsrMsg_MatchStatsUpdate\022\016\n\006"
"id\030\001 \001(\003\022\r\n\005death\030\002 \001(\010\"#\n\022CCSUsrMsg_Res" "update\030\001 \001(\t\"3\n\022CCSUsrMsg_ItemDrop\022\016\n\006it"
"etHud\022\r\n\005reset\030\001 \001(\010\"$\n\023CCSUsrMsg_GameTi" "emid\030\001 \001(\003\022\r\n\005death\030\002 \001(\010\"#\n\022CCSUsrMsg_R"
"tle\022\r\n\005dummy\030\001 \001(\005\"\'\n\026CCSUsrMsg_RequestS" "esetHud\022\r\n\005reset\030\001 \001(\010\"$\n\023CCSUsrMsg_Game"
"tate\022\r\n\005dummy\030\001 \001(\005\",\n\033CCSUsrMsg_StopSpe" "Title\022\r\n\005dummy\030\001 \001(\005\"\'\n\026CCSUsrMsg_Reques"
"ctatorMode\022\r\n\005dummy\030\001 \001(\005\",\n\033CCSUsrMsg_D" "tState\022\r\n\005dummy\030\001 \001(\005\",\n\033CCSUsrMsg_StopS"
"isconnectToLobby\022\r\n\005dummy\030\001 \001(\005\")\n\030CCSUs" "pectatorMode\022\r\n\005dummy\030\001 \001(\005\",\n\033CCSUsrMsg"
"rMsg_WarmupHasEnded\022\r\n\005dummy\030\001 \001(\005\"%\n\024CC" "_DisconnectToLobby\022\r\n\005dummy\030\001 \001(\005\")\n\030CCS"
"SUsrMsg_ClientInfo\022\r\n\005dummy\030\001 \001(\005\".\n\035CCS" "UsrMsg_WarmupHasEnded\022\r\n\005dummy\030\001 \001(\005\"%\n\024"
"UsrMsg_ServerRankRevealAll\022\r\n\005dummy\030\001 \001(" "CCSUsrMsg_ClientInfo\022\r\n\005dummy\030\001 \001(\005\".\n\035C"
"\005*\373\n\n\026ECstrike15UserMessages\022\022\n\016CS_UM_VG" "CSUsrMsg_ServerRankRevealAll\022\r\n\005dummy\030\001 "
"UIMenu\020\001\022\020\n\014CS_UM_Geiger\020\002\022\017\n\013CS_UM_Trai" "\001(\005*\373\n\n\026ECstrike15UserMessages\022\022\n\016CS_UM_"
"n\020\003\022\021\n\rCS_UM_HudText\020\004\022\021\n\rCS_UM_SayText\020" "VGUIMenu\020\001\022\020\n\014CS_UM_Geiger\020\002\022\017\n\013CS_UM_Tr"
"\005\022\022\n\016CS_UM_SayText2\020\006\022\021\n\rCS_UM_TextMsg\020\007" "ain\020\003\022\021\n\rCS_UM_HudText\020\004\022\021\n\rCS_UM_SayTex"
"\022\020\n\014CS_UM_HudMsg\020\010\022\022\n\016CS_UM_ResetHud\020\t\022\023" "t\020\005\022\022\n\016CS_UM_SayText2\020\006\022\021\n\rCS_UM_TextMsg"
"\n\017CS_UM_GameTitle\020\n\022\017\n\013CS_UM_Shake\020\014\022\016\n\n" "\020\007\022\020\n\014CS_UM_HudMsg\020\010\022\022\n\016CS_UM_ResetHud\020\t"
"CS_UM_Fade\020\r\022\020\n\014CS_UM_Rumble\020\016\022\026\n\022CS_UM_" "\022\023\n\017CS_UM_GameTitle\020\n\022\017\n\013CS_UM_Shake\020\014\022\016"
"CloseCaption\020\017\022\034\n\030CS_UM_CloseCaptionDire" "\n\nCS_UM_Fade\020\r\022\020\n\014CS_UM_Rumble\020\016\022\026\n\022CS_U"
"ct\020\020\022\023\n\017CS_UM_SendAudio\020\021\022\022\n\016CS_UM_RawAu" "M_CloseCaption\020\017\022\034\n\030CS_UM_CloseCaptionDi"
"dio\020\022\022\023\n\017CS_UM_VoiceMask\020\023\022\026\n\022CS_UM_Requ" "rect\020\020\022\023\n\017CS_UM_SendAudio\020\021\022\022\n\016CS_UM_Raw"
"estState\020\024\022\020\n\014CS_UM_Damage\020\025\022\023\n\017CS_UM_Ra" "Audio\020\022\022\023\n\017CS_UM_VoiceMask\020\023\022\026\n\022CS_UM_Re"
"dioText\020\026\022\022\n\016CS_UM_HintText\020\027\022\025\n\021CS_UM_K" "questState\020\024\022\020\n\014CS_UM_Damage\020\025\022\023\n\017CS_UM_"
"eyHintText\020\030\022$\n CS_UM_ProcessSpottedEnti" "RadioText\020\026\022\022\n\016CS_UM_HintText\020\027\022\025\n\021CS_UM"
"tyUpdate\020\031\022\026\n\022CS_UM_ReloadEffect\020\032\022\025\n\021CS" "_KeyHintText\020\030\022$\n CS_UM_ProcessSpottedEn"
"_UM_AdjustMoney\020\033\022\031\n\025CS_UM_UpdateTeamMon" "tityUpdate\020\031\022\026\n\022CS_UM_ReloadEffect\020\032\022\025\n\021"
"ey\020\034\022\033\n\027CS_UM_StopSpectatorMode\020\035\022\021\n\rCS_" "CS_UM_AdjustMoney\020\033\022\031\n\025CS_UM_UpdateTeamM"
"UM_KillCam\020\036\022\032\n\026CS_UM_DesiredTimescale\020\037" "oney\020\034\022\033\n\027CS_UM_StopSpectatorMode\020\035\022\021\n\rC"
"\022\032\n\026CS_UM_CurrentTimescale\020 \022\032\n\026CS_UM_Ac" "S_UM_KillCam\020\036\022\032\n\026CS_UM_DesiredTimescale"
"hievementEvent\020!\022\034\n\030CS_UM_MatchEndCondit" "\020\037\022\032\n\026CS_UM_CurrentTimescale\020 \022\032\n\026CS_UM_"
"ions\020\"\022\033\n\027CS_UM_DisconnectToLobby\020#\022\033\n\027C" "AchievementEvent\020!\022\034\n\030CS_UM_MatchEndCond"
"S_UM_PlayerStatsUpdate\020$\022\032\n\026CS_UM_Displa" "itions\020\"\022\033\n\027CS_UM_DisconnectToLobby\020#\022\033\n"
"yInventory\020%\022\030\n\024CS_UM_WarmupHasEnded\020&\022\024" "\027CS_UM_PlayerStatsUpdate\020$\022\032\n\026CS_UM_Disp"
"\n\020CS_UM_ClientInfo\020\'\022\022\n\016CS_UM_XRankGet\020(" "layInventory\020%\022\030\n\024CS_UM_WarmupHasEnded\020&"
"\022\022\n\016CS_UM_XRankUpd\020)\022$\n CS_UM_SetPlayerE" "\022\024\n\020CS_UM_ClientInfo\020\'\022\022\n\016CS_UM_XRankGet"
"loDisplayBracket\020*\022\037\n\033CS_UM_RequestEloBr" "\020(\022\022\n\016CS_UM_XRankUpd\020)\022$\n CS_UM_SetPlaye"
"acketInfo\020+\022\033\n\027CS_UM_SetEloBracketInfo\020," "rEloDisplayBracket\020*\022\037\n\033CS_UM_RequestElo"
"\022\030\n\024CS_UM_CallVoteFailed\020-\022\023\n\017CS_UM_Vote" "BracketInfo\020+\022\033\n\027CS_UM_SetEloBracketInfo"
"Start\020.\022\022\n\016CS_UM_VotePass\020/\022\024\n\020CS_UM_Vot" "\020,\022\030\n\024CS_UM_CallVoteFailed\020-\022\023\n\017CS_UM_Vo"
"eFailed\0200\022\023\n\017CS_UM_VoteSetup\0201\022\035\n\031CS_UM_" "teStart\020.\022\022\n\016CS_UM_VotePass\020/\022\024\n\020CS_UM_V"
"ServerRankRevealAll\0202\022&\n\"CS_UM_SendLastK" "oteFailed\0200\022\023\n\017CS_UM_VoteSetup\0201\022\035\n\031CS_U"
"illerDamageToClient\0203\022\032\n\026CS_UM_ServerRan" "M_ServerRankRevealAll\0202\022&\n\"CS_UM_SendLas"
"kUpdate\0204\022\024\n\020CS_UM_ItemPickup\0205\022\022\n\016CS_UM" "tKillerDamageToClient\0203\022\032\n\026CS_UM_ServerR"
"_ShowMenu\0206\022\021\n\rCS_UM_BarTime\0207\022\024\n\020CS_UM_" "ankUpdate\0204\022\024\n\020CS_UM_ItemPickup\0205\022\022\n\016CS_"
"AmmoDenied\0208\022\031\n\025CS_UM_MarkAchievement\0209\022" "UM_ShowMenu\0206\022\021\n\rCS_UM_BarTime\0207\022\024\n\020CS_U"
"\032\n\026CS_UM_MatchStatsUpdate\020:\022\022\n\016CS_UM_Ite" "M_AmmoDenied\0208\022\031\n\025CS_UM_MarkAchievement\020"
"mDrop\020;B\005H\001\200\001\000", 6094); "9\022\032\n\026CS_UM_MatchStatsUpdate\020:\022\022\n\016CS_UM_I"
"temDrop\020;B\005H\001\200\001\000", 6136);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"cstrike15_usermessages.proto", &protobuf_RegisterTypes); "cstrike15_usermessages.proto", &protobuf_RegisterTypes);
CCSUsrMsg_VGUIMenu::default_instance_ = new CCSUsrMsg_VGUIMenu(); CCSUsrMsg_VGUIMenu::default_instance_ = new CCSUsrMsg_VGUIMenu();
@ -3098,6 +3101,7 @@ const ::std::string CCSUsrMsg_SayText::_default_text_;
const int CCSUsrMsg_SayText::kEntIdxFieldNumber; const int CCSUsrMsg_SayText::kEntIdxFieldNumber;
const int CCSUsrMsg_SayText::kTextFieldNumber; const int CCSUsrMsg_SayText::kTextFieldNumber;
const int CCSUsrMsg_SayText::kChatFieldNumber; const int CCSUsrMsg_SayText::kChatFieldNumber;
const int CCSUsrMsg_SayText::kTextallchatFieldNumber;
#endif // !_MSC_VER #endif // !_MSC_VER
CCSUsrMsg_SayText::CCSUsrMsg_SayText() CCSUsrMsg_SayText::CCSUsrMsg_SayText()
@ -3119,6 +3123,7 @@ void CCSUsrMsg_SayText::SharedCtor() {
ent_idx_ = 0; ent_idx_ = 0;
text_ = const_cast< ::std::string*>(&_default_text_); text_ = const_cast< ::std::string*>(&_default_text_);
chat_ = false; chat_ = false;
textallchat_ = false;
::memset(_has_bits_, 0, sizeof(_has_bits_)); ::memset(_has_bits_, 0, sizeof(_has_bits_));
} }
@ -3163,6 +3168,7 @@ void CCSUsrMsg_SayText::Clear() {
} }
} }
chat_ = false; chat_ = false;
textallchat_ = false;
} }
::memset(_has_bits_, 0, sizeof(_has_bits_)); ::memset(_has_bits_, 0, sizeof(_has_bits_));
mutable_unknown_fields()->Clear(); mutable_unknown_fields()->Clear();
@ -3218,6 +3224,22 @@ bool CCSUsrMsg_SayText::MergePartialFromCodedStream(
} else { } else {
goto handle_uninterpreted; goto handle_uninterpreted;
} }
if (input->ExpectTag(32)) goto parse_textallchat;
break;
}
// optional bool textallchat = 4;
case 4: {
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
parse_textallchat:
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
input, &textallchat_)));
_set_bit(3);
} else {
goto handle_uninterpreted;
}
if (input->ExpectAtEnd()) return true; if (input->ExpectAtEnd()) return true;
break; break;
} }
@ -3259,6 +3281,11 @@ void CCSUsrMsg_SayText::SerializeWithCachedSizes(
::google::protobuf::internal::WireFormatLite::WriteBool(3, this->chat(), output); ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->chat(), output);
} }
// optional bool textallchat = 4;
if (_has_bit(3)) {
::google::protobuf::internal::WireFormatLite::WriteBool(4, this->textallchat(), output);
}
if (!unknown_fields().empty()) { if (!unknown_fields().empty()) {
::google::protobuf::internal::WireFormat::SerializeUnknownFields( ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
unknown_fields(), output); unknown_fields(), output);
@ -3287,6 +3314,11 @@ void CCSUsrMsg_SayText::SerializeWithCachedSizes(
target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->chat(), target); target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->chat(), target);
} }
// optional bool textallchat = 4;
if (_has_bit(3)) {
target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->textallchat(), target);
}
if (!unknown_fields().empty()) { if (!unknown_fields().empty()) {
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
unknown_fields(), target); unknown_fields(), target);
@ -3317,6 +3349,11 @@ int CCSUsrMsg_SayText::ByteSize() const {
total_size += 1 + 1; total_size += 1 + 1;
} }
// optional bool textallchat = 4;
if (has_textallchat()) {
total_size += 1 + 1;
}
} }
if (!unknown_fields().empty()) { if (!unknown_fields().empty()) {
total_size += total_size +=
@ -3353,6 +3390,9 @@ void CCSUsrMsg_SayText::MergeFrom(const CCSUsrMsg_SayText& from) {
if (from._has_bit(2)) { if (from._has_bit(2)) {
set_chat(from.chat()); set_chat(from.chat());
} }
if (from._has_bit(3)) {
set_textallchat(from.textallchat());
}
} }
mutable_unknown_fields()->MergeFrom(from.unknown_fields()); mutable_unknown_fields()->MergeFrom(from.unknown_fields());
} }
@ -3379,6 +3419,7 @@ void CCSUsrMsg_SayText::Swap(CCSUsrMsg_SayText* other) {
std::swap(ent_idx_, other->ent_idx_); std::swap(ent_idx_, other->ent_idx_);
std::swap(text_, other->text_); std::swap(text_, other->text_);
std::swap(chat_, other->chat_); std::swap(chat_, other->chat_);
std::swap(textallchat_, other->textallchat_);
std::swap(_has_bits_[0], other->_has_bits_[0]); std::swap(_has_bits_[0], other->_has_bits_[0]);
_unknown_fields_.Swap(&other->_unknown_fields_); _unknown_fields_.Swap(&other->_unknown_fields_);
std::swap(_cached_size_, other->_cached_size_); std::swap(_cached_size_, other->_cached_size_);
@ -3402,6 +3443,7 @@ const int CCSUsrMsg_SayText2::kEntIdxFieldNumber;
const int CCSUsrMsg_SayText2::kChatFieldNumber; const int CCSUsrMsg_SayText2::kChatFieldNumber;
const int CCSUsrMsg_SayText2::kMsgNameFieldNumber; const int CCSUsrMsg_SayText2::kMsgNameFieldNumber;
const int CCSUsrMsg_SayText2::kParamsFieldNumber; const int CCSUsrMsg_SayText2::kParamsFieldNumber;
const int CCSUsrMsg_SayText2::kTextallchatFieldNumber;
#endif // !_MSC_VER #endif // !_MSC_VER
CCSUsrMsg_SayText2::CCSUsrMsg_SayText2() CCSUsrMsg_SayText2::CCSUsrMsg_SayText2()
@ -3423,6 +3465,7 @@ void CCSUsrMsg_SayText2::SharedCtor() {
ent_idx_ = 0; ent_idx_ = 0;
chat_ = false; chat_ = false;
msg_name_ = const_cast< ::std::string*>(&_default_msg_name_); msg_name_ = const_cast< ::std::string*>(&_default_msg_name_);
textallchat_ = false;
::memset(_has_bits_, 0, sizeof(_has_bits_)); ::memset(_has_bits_, 0, sizeof(_has_bits_));
} }
@ -3467,6 +3510,7 @@ void CCSUsrMsg_SayText2::Clear() {
msg_name_->clear(); msg_name_->clear();
} }
} }
textallchat_ = false;
} }
params_.Clear(); params_.Clear();
::memset(_has_bits_, 0, sizeof(_has_bits_)); ::memset(_has_bits_, 0, sizeof(_has_bits_));
@ -3541,6 +3585,22 @@ bool CCSUsrMsg_SayText2::MergePartialFromCodedStream(
goto handle_uninterpreted; goto handle_uninterpreted;
} }
if (input->ExpectTag(34)) goto parse_params; if (input->ExpectTag(34)) goto parse_params;
if (input->ExpectTag(40)) goto parse_textallchat;
break;
}
// optional bool textallchat = 5;
case 5: {
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
parse_textallchat:
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
input, &textallchat_)));
_set_bit(4);
} else {
goto handle_uninterpreted;
}
if (input->ExpectAtEnd()) return true; if (input->ExpectAtEnd()) return true;
break; break;
} }
@ -3591,6 +3651,11 @@ void CCSUsrMsg_SayText2::SerializeWithCachedSizes(
4, this->params(i), output); 4, this->params(i), output);
} }
// optional bool textallchat = 5;
if (_has_bit(4)) {
::google::protobuf::internal::WireFormatLite::WriteBool(5, this->textallchat(), output);
}
if (!unknown_fields().empty()) { if (!unknown_fields().empty()) {
::google::protobuf::internal::WireFormat::SerializeUnknownFields( ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
unknown_fields(), output); unknown_fields(), output);
@ -3628,6 +3693,11 @@ void CCSUsrMsg_SayText2::SerializeWithCachedSizes(
WriteStringToArray(4, this->params(i), target); WriteStringToArray(4, this->params(i), target);
} }
// optional bool textallchat = 5;
if (_has_bit(4)) {
target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->textallchat(), target);
}
if (!unknown_fields().empty()) { if (!unknown_fields().empty()) {
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
unknown_fields(), target); unknown_fields(), target);
@ -3658,6 +3728,11 @@ int CCSUsrMsg_SayText2::ByteSize() const {
this->msg_name()); this->msg_name());
} }
// optional bool textallchat = 5;
if (has_textallchat()) {
total_size += 1 + 1;
}
} }
// repeated string params = 4; // repeated string params = 4;
total_size += 1 * this->params_size(); total_size += 1 * this->params_size();
@ -3702,6 +3777,9 @@ void CCSUsrMsg_SayText2::MergeFrom(const CCSUsrMsg_SayText2& from) {
if (from._has_bit(2)) { if (from._has_bit(2)) {
set_msg_name(from.msg_name()); set_msg_name(from.msg_name());
} }
if (from._has_bit(4)) {
set_textallchat(from.textallchat());
}
} }
mutable_unknown_fields()->MergeFrom(from.unknown_fields()); mutable_unknown_fields()->MergeFrom(from.unknown_fields());
} }
@ -3729,6 +3807,7 @@ void CCSUsrMsg_SayText2::Swap(CCSUsrMsg_SayText2* other) {
std::swap(chat_, other->chat_); std::swap(chat_, other->chat_);
std::swap(msg_name_, other->msg_name_); std::swap(msg_name_, other->msg_name_);
params_.Swap(&other->params_); params_.Swap(&other->params_);
std::swap(textallchat_, other->textallchat_);
std::swap(_has_bits_[0], other->_has_bits_[0]); std::swap(_has_bits_[0], other->_has_bits_[0]);
_unknown_fields_.Swap(&other->_unknown_fields_); _unknown_fields_.Swap(&other->_unknown_fields_);
std::swap(_cached_size_, other->_cached_size_); std::swap(_cached_size_, other->_cached_size_);

View File

@ -742,6 +742,13 @@ class CCSUsrMsg_SayText : public ::google::protobuf::Message {
inline bool chat() const; inline bool chat() const;
inline void set_chat(bool value); inline void set_chat(bool value);
// optional bool textallchat = 4;
inline bool has_textallchat() const;
inline void clear_textallchat();
static const int kTextallchatFieldNumber = 4;
inline bool textallchat() const;
inline void set_textallchat(bool value);
// @@protoc_insertion_point(class_scope:CCSUsrMsg_SayText) // @@protoc_insertion_point(class_scope:CCSUsrMsg_SayText)
private: private:
::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::UnknownFieldSet _unknown_fields_;
@ -751,11 +758,12 @@ class CCSUsrMsg_SayText : public ::google::protobuf::Message {
::std::string* text_; ::std::string* text_;
static const ::std::string _default_text_; static const ::std::string _default_text_;
bool chat_; bool chat_;
bool textallchat_;
friend void protobuf_AddDesc_cstrike15_5fusermessages_2eproto(); friend void protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
friend void protobuf_AssignDesc_cstrike15_5fusermessages_2eproto(); friend void protobuf_AssignDesc_cstrike15_5fusermessages_2eproto();
friend void protobuf_ShutdownFile_cstrike15_5fusermessages_2eproto(); friend void protobuf_ShutdownFile_cstrike15_5fusermessages_2eproto();
::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
// WHY DOES & HAVE LOWER PRECEDENCE THAN != !? // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
inline bool _has_bit(int index) const { inline bool _has_bit(int index) const {
@ -867,6 +875,13 @@ class CCSUsrMsg_SayText2 : public ::google::protobuf::Message {
inline const ::google::protobuf::RepeatedPtrField< ::std::string>& params() const; inline const ::google::protobuf::RepeatedPtrField< ::std::string>& params() const;
inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_params(); inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_params();
// optional bool textallchat = 5;
inline bool has_textallchat() const;
inline void clear_textallchat();
static const int kTextallchatFieldNumber = 5;
inline bool textallchat() const;
inline void set_textallchat(bool value);
// @@protoc_insertion_point(class_scope:CCSUsrMsg_SayText2) // @@protoc_insertion_point(class_scope:CCSUsrMsg_SayText2)
private: private:
::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::UnknownFieldSet _unknown_fields_;
@ -877,11 +892,12 @@ class CCSUsrMsg_SayText2 : public ::google::protobuf::Message {
::std::string* msg_name_; ::std::string* msg_name_;
static const ::std::string _default_msg_name_; static const ::std::string _default_msg_name_;
::google::protobuf::RepeatedPtrField< ::std::string> params_; ::google::protobuf::RepeatedPtrField< ::std::string> params_;
bool textallchat_;
friend void protobuf_AddDesc_cstrike15_5fusermessages_2eproto(); friend void protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
friend void protobuf_AssignDesc_cstrike15_5fusermessages_2eproto(); friend void protobuf_AssignDesc_cstrike15_5fusermessages_2eproto();
friend void protobuf_ShutdownFile_cstrike15_5fusermessages_2eproto(); friend void protobuf_ShutdownFile_cstrike15_5fusermessages_2eproto();
::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
// WHY DOES & HAVE LOWER PRECEDENCE THAN != !? // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
inline bool _has_bit(int index) const { inline bool _has_bit(int index) const {
@ -6914,6 +6930,22 @@ inline void CCSUsrMsg_SayText::set_chat(bool value) {
chat_ = value; chat_ = value;
} }
// optional bool textallchat = 4;
inline bool CCSUsrMsg_SayText::has_textallchat() const {
return _has_bit(3);
}
inline void CCSUsrMsg_SayText::clear_textallchat() {
textallchat_ = false;
_clear_bit(3);
}
inline bool CCSUsrMsg_SayText::textallchat() const {
return textallchat_;
}
inline void CCSUsrMsg_SayText::set_textallchat(bool value) {
_set_bit(3);
textallchat_ = value;
}
// ------------------------------------------------------------------- // -------------------------------------------------------------------
// CCSUsrMsg_SayText2 // CCSUsrMsg_SayText2
@ -7036,6 +7068,22 @@ CCSUsrMsg_SayText2::mutable_params() {
return &params_; return &params_;
} }
// optional bool textallchat = 5;
inline bool CCSUsrMsg_SayText2::has_textallchat() const {
return _has_bit(4);
}
inline void CCSUsrMsg_SayText2::clear_textallchat() {
textallchat_ = false;
_clear_bit(4);
}
inline bool CCSUsrMsg_SayText2::textallchat() const {
return textallchat_;
}
inline void CCSUsrMsg_SayText2::set_textallchat(bool value) {
_set_bit(4);
textallchat_ = value;
}
// ------------------------------------------------------------------- // -------------------------------------------------------------------
// CCSUsrMsg_TextMsg // CCSUsrMsg_TextMsg

View File

@ -163,6 +163,7 @@ message CCSUsrMsg_SayText
optional int32 ent_idx = 1; optional int32 ent_idx = 1;
optional string text = 2; optional string text = 2;
optional bool chat = 3; optional bool chat = 3;
optional bool textallchat = 4;
} }
message CCSUsrMsg_SayText2 message CCSUsrMsg_SayText2
@ -171,6 +172,7 @@ message CCSUsrMsg_SayText2
optional bool chat = 2; optional bool chat = 2;
optional string msg_name = 3; optional string msg_name = 3;
repeated string params = 4; repeated string params = 4;
optional bool textallchat = 5;
} }
message CCSUsrMsg_TextMsg message CCSUsrMsg_TextMsg