Skip to content
Closed
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
20 changes: 20 additions & 0 deletions proto/decentraland/sdk/components/physics_combined_force.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
syntax = "proto3";

package decentraland.sdk.components;

import "decentraland/common/vectors.proto";
import "decentraland/sdk/components/common/id.proto";

option (common.ecs_component_id) = 1216;

/**
* @remarks Low-level component. Use Physics.applyForceToPlayer()/.removeForceToPlayer() instead.
* Direct manipulation will conflict with the force accumulation registry.

* This component applies a continuous physics force.
* Summary component: stores the accumulated result of all active forces registered by the scene in the current frame.
* State-like component: the force is applied every physics tick while the component is present on the entity.
*/
message PBPhysicsCombinedForce {
decentraland.common.Vector3 vector = 1; // Includes force direction and magnitude
}
22 changes: 22 additions & 0 deletions proto/decentraland/sdk/components/physics_combined_impulse.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
syntax = "proto3";

package decentraland.sdk.components;

import "decentraland/common/vectors.proto";
import "decentraland/sdk/components/common/id.proto";

option (common.ecs_component_id) = 1215;

/**
* @remarks Low-level component. Use Physics.applyImpulseToPlayer() instead.
* Direct manipulation will conflict with the force accumulation registry.

* This component applies a one-shot physics summary impulse.
* Summary component: stores the accumulated result of all impulses registered by the scene in the current frame.
* Event-like component: each new impulse must increment the eventID to ensure delivery via CRDT, even if the direction is identical to the previous one.
* Renderer processes impulse with the unique ID only once. Increase eventID of the component to apply another impulse.
*/
message PBPhysicsCombinedImpulse {
decentraland.common.Vector3 vector = 1; // Includes impulse direction and magnitude
uint32 event_id = 2; // Monotonic counter to distinguish different impulses.
}
3 changes: 3 additions & 0 deletions proto/decentraland/social_service/v2/social_service_v2.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ syntax = "proto3";
package decentraland.social_service.v2;

import "google/protobuf/empty.proto";
import "decentraland/common/colors.proto";
import "decentraland/social_service/errors.proto";

// Types
Expand All @@ -12,6 +13,7 @@ message FriendProfile {
string name = 2;
bool has_claimed_name = 3;
string profile_picture_url = 4;
optional decentraland.common.Color3 name_color = 5;
}

message BlockedUserProfile {
Expand All @@ -20,6 +22,7 @@ message BlockedUserProfile {
bool has_claimed_name = 3;
string profile_picture_url = 4;
optional int64 blocked_at = 5;
optional decentraland.common.Color3 name_color = 6;
}

message Pagination {
Expand Down
Loading