Skip to content

Commit

Permalink
fix: use float for size
Browse files Browse the repository at this point in the history
  • Loading branch information
Sceat committed Jul 6, 2024
1 parent dc7c7ee commit ada642d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion generated/ares_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,6 @@ export const Entity = /*@__PURE__*/ proto3.makeMessageType(
{ no: 2, name: 'name', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
{ no: 4, name: 'type', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
{ no: 5, name: 'level', kind: 'scalar', T: 13 /* ScalarType.UINT32 */ },
{ no: 6, name: 'size', kind: 'scalar', T: 13 /* ScalarType.UINT32 */ },
{ no: 6, name: 'size', kind: 'scalar', T: 2 /* ScalarType.FLOAT */ },
],
)
2 changes: 1 addition & 1 deletion proto/ares.proto
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ message Entity {
string name = 2;
string type = 4;
uint32 level = 5;
uint32 size = 6;
float size = 6;
}

enum Classe {
Expand Down

0 comments on commit ada642d

Please sign in to comment.