Skip to content

Commit

Permalink
adjust permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDavenport committed Mar 26, 2024
1 parent c6f2850 commit 2194e03
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions gamercade_interface/proto/author.proto
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ message GlobalPermissionLevels {
}

message PermissionLevel {
string level_name = 1;
uint32 level_strength = 2;
uint32 level_id = 1;
string level_name = 2;
uint32 level_strength = 3;
}
6 changes: 4 additions & 2 deletions gamercade_interface/src/output/author.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,11 @@ pub struct GlobalPermissionLevels {
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PermissionLevel {
#[prost(string, tag = "1")]
#[prost(uint32, tag = "1")]
pub level_id: u32,
#[prost(string, tag = "2")]
pub level_name: ::prost::alloc::string::String,
#[prost(uint32, tag = "2")]
#[prost(uint32, tag = "3")]
pub level_strength: u32,
}
/// Generated client implementations.
Expand Down

0 comments on commit 2194e03

Please sign in to comment.