Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Usercmd props #216

Merged
merged 10 commits into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions src/csgoproto/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/csgoproto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ authors = ["Laiho"]
edition = "2021"
[dependencies]
bytes = "1.5.0"
glob = "0.3.1"
glob = "0.3.0"
proc-macro2 = "1.0.78"
protobuf = { version = "=3.5.0", features = ["bytes"] }
# ENABLE ME TO BUILD protobuf-codegen = "=3.5.0"
protobuf = { version = "3.5.1", features = ["bytes"] }
# protobuf-codegen = "3.5.0"
3 changes: 2 additions & 1 deletion src/csgoproto/src/cs_usercmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

/// Generated files are compatible only with the same version
/// of protobuf runtime.
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_5_0;
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_5_1;

// @@protoc_insertion_point(message:CSGOInterpolationInfoPB)
#[derive(PartialEq,Clone,Default,Debug)]
Expand Down Expand Up @@ -499,6 +499,7 @@ impl ::protobuf::Message for CSGOInputHistoryEntryPB {

fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()> {
while let Some(tag) = is.read_raw_tag_or_eof()? {

match tag {
18 => {
::protobuf::rt::read_singular_message_into_field(is, &mut self.view_angles)?;
Expand Down
2 changes: 1 addition & 1 deletion src/csgoproto/src/cstrike15_gcmessages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

/// Generated files are compatible only with the same version
/// of protobuf runtime.
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_5_0;
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_5_1;

// @@protoc_insertion_point(message:GameServerPing)
#[derive(PartialEq,Clone,Default,Debug)]
Expand Down
2 changes: 1 addition & 1 deletion src/csgoproto/src/cstrike15_usermessages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

/// Generated files are compatible only with the same version
/// of protobuf runtime.
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_5_0;
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_5_1;

// @@protoc_insertion_point(message:CCSUsrMsg_VGUIMenu)
#[derive(PartialEq,Clone,Default,Debug)]
Expand Down
2 changes: 1 addition & 1 deletion src/csgoproto/src/demo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

/// Generated files are compatible only with the same version
/// of protobuf runtime.
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_5_0;
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_5_1;

// @@protoc_insertion_point(message:CDemoFileHeader)
#[derive(PartialEq,Clone,Default,Debug)]
Expand Down
2 changes: 1 addition & 1 deletion src/csgoproto/src/engine_gcmessages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

/// Generated files are compatible only with the same version
/// of protobuf runtime.
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_5_0;
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_5_1;

// @@protoc_insertion_point(message:CEngineGotvSyncPacket)
#[derive(PartialEq,Clone,Default,Debug)]
Expand Down
2 changes: 1 addition & 1 deletion src/csgoproto/src/gcsdk_gcmessages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

/// Generated files are compatible only with the same version
/// of protobuf runtime.
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_5_0;
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_5_1;

// @@protoc_insertion_point(message:CMsgSOIDOwner)
#[derive(PartialEq,Clone,Default,Debug)]
Expand Down
2 changes: 1 addition & 1 deletion src/csgoproto/src/netmessages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

/// Generated files are compatible only with the same version
/// of protobuf runtime.
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_5_0;
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_5_1;

// @@protoc_insertion_point(message:CCLCMsg_ClientInfo)
#[derive(PartialEq,Clone,Default,Debug)]
Expand Down
2 changes: 1 addition & 1 deletion src/csgoproto/src/network_connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

/// Generated files are compatible only with the same version
/// of protobuf runtime.
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_5_0;
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_5_1;

#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
// @@protoc_insertion_point(enum:ENetworkDisconnectionReason)
Expand Down
2 changes: 1 addition & 1 deletion src/csgoproto/src/networkbasetypes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

/// Generated files are compatible only with the same version
/// of protobuf runtime.
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_5_0;
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_5_1;

// @@protoc_insertion_point(message:CMsgVector)
#[derive(PartialEq,Clone,Default,Debug)]
Expand Down
2 changes: 1 addition & 1 deletion src/csgoproto/src/steammessages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

/// Generated files are compatible only with the same version
/// of protobuf runtime.
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_5_0;
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_5_1;

// @@protoc_insertion_point(message:CMsgProtoBufHeader)
#[derive(PartialEq,Clone,Default,Debug)]
Expand Down
2 changes: 1 addition & 1 deletion src/csgoproto/src/usercmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

/// Generated files are compatible only with the same version
/// of protobuf runtime.
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_5_0;
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_5_1;

// @@protoc_insertion_point(message:CInButtonStatePB)
#[derive(PartialEq,Clone,Default,Debug)]
Expand Down
2 changes: 1 addition & 1 deletion src/csgoproto/src/usermessages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

/// Generated files are compatible only with the same version
/// of protobuf runtime.
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_5_0;
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_5_1;

// @@protoc_insertion_point(message:CUserMessageAchievementEvent)
#[derive(PartialEq,Clone,Default,Debug)]
Expand Down
2 changes: 1 addition & 1 deletion src/parser/rustfmt.toml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
max_width = 130
max_width = 160
Loading
Loading