Skip to content

Commit

Permalink
Initial proposed structure for new component PBAvatarFreezeMovement
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroAlvarezMelucciDCL committed Aug 13, 2024
1 parent 84935c4 commit 46352bf
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions proto/decentraland/sdk/components/avatar_freeze_movement.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
syntax = "proto3";

import "decentraland/sdk/components/common/id.proto";
option (common.ecs_component_id) = 1077;

// TODO: add description
message PBAvatarFreezeMovement {
optional uint32 freeze_mask = 1; // disabled AvatarFreezeMovementType (default AFMT_ALL)
}

// AvatarFreezeMovementType determines the movement to freeze and it can be used in bit flag form.
enum AvatarFreezeMovementType {
AFMT_NONE = 0;
AFMT_ALL = 1;
AFMT_WALK = 2;
AFMT_RUN = 4;
AFMT_JUMP = 8;
AFMT_CAMERA = 16;
}

0 comments on commit 46352bf

Please sign in to comment.