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

feat: movePlayerTo() avatarTarget param #1065

Closed
wants to merge 5 commits into from
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
17 changes: 15 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,23 @@ install:
make node_modules/.bin/protobuf/bin/protoc

update-protocol:
npm i --save-exact @dcl/protocol@next
cd packages/@dcl/sdk-commands; npm i --save-exact @dcl/protocol@next
@TARGET_PACKAGE=$(word 2,$(MAKECMDGOALS)); \
if [ -z "$$TARGET_PACKAGE" ]; then TARGET_PACKAGE=next; fi; \
if [[ "$$TARGET_PACKAGE" =~ ^[\"\'].*[\"\']$$ ]]; then \
TARGET_PACKAGE=$${TARGET_PACKAGE:1:$${#TARGET_PACKAGE}-2}; \
echo "Using exact version: $$TARGET_PACKAGE"; \
npm i --save-exact $$TARGET_PACKAGE; \
(cd packages/@dcl/sdk-commands && npm i --save-exact $$TARGET_PACKAGE); \
else \
echo "Using protocol tag: $$TARGET_PACKAGE"; \
npm i --save-exact @dcl/protocol@$$TARGET_PACKAGE; \
(cd packages/@dcl/sdk-commands && npm i --save-exact @dcl/protocol@$$TARGET_PACKAGE); \
fi; \
$(MAKE) sync-deps compile_apis

%:
@:

update-renderer:
cd packages/@dcl/sdk; npm i --save-exact @dcl/explorer@latest

Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"bugs": "https://github.com/decentraland/js-sdk-toolchain/issues",
"dependencies": {
"@actions/core": "^1.10.0",
"@dcl/protocol": "1.0.0-12891435340.commit-b3fea33",
"@dcl/protocol": "https://sdk-team-cdn.decentraland.org/@dcl/protocol/branch//dcl-protocol-1.0.0-13304761112.commit-6bf7163.tgz",
"@dcl/quickjs-emscripten": "^0.21.0-3680274614.commit-1808aa1",
"@dcl/ts-proto": "1.153.0",
"@types/fs-extra": "^9.0.12",
Expand Down
64 changes: 64 additions & 0 deletions packages/@dcl/playground-assets/etc/playground-assets.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,7 @@ export const componentDefinitionByName: {
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
"core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
"core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
Expand Down Expand Up @@ -1556,6 +1557,9 @@ export interface LastWriteWinElementSetComponentDefinition<T> extends BaseCompon
getOrNull(entity: Entity): DeepReadonly<T> | null;
}

// @public (undocumented)
export const LightSource: LastWriteWinElementSetComponentDefinition<PBLightSource>;

// @public
export type Listeners = {
onMouseDown?: Callback;
Expand Down Expand Up @@ -2404,6 +2408,66 @@ export namespace PBInputModifier_StandardInput {
export function encode(message: PBInputModifier_StandardInput, writer?: _m0.Writer): _m0.Writer;
}

// @public (undocumented)
export interface PBLightSource {
active?: boolean | undefined;
brightness?: number | undefined;
color?: PBColor3 | undefined;
range?: number | undefined;
// (undocumented)
type?: {
$case: "point";
point: PBLightSource_Point;
} | {
$case: "spot";
spot: PBLightSource_Spot;
} | undefined;
}

// @public (undocumented)
export namespace PBLightSource {
// (undocumented)
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource;
// (undocumented)
export function encode(message: PBLightSource, writer?: _m0.Writer): _m0.Writer;
}

// @public (undocumented)
export interface PBLightSource_Point {
shadow?: PBLightSource_ShadowType | undefined;
}

// @public (undocumented)
export namespace PBLightSource_Point {
// (undocumented)
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Point;
// (undocumented)
export function encode(message: PBLightSource_Point, writer?: _m0.Writer): _m0.Writer;
}

// @public (undocumented)
export const enum PBLightSource_ShadowType {
ST_HARD = 2,
ST_NONE = 0,
ST_SOFT = 1
}

// @public (undocumented)
export interface PBLightSource_Spot {
innerAngle?: number | undefined;
outerAngle?: number | undefined;
shadow?: PBLightSource_ShadowType | undefined;
shadowMaskTexture?: TextureUnion | undefined;
}

// @public (undocumented)
export namespace PBLightSource_Spot {
// (undocumented)
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Spot;
// (undocumented)
export function encode(message: PBLightSource_Spot, writer?: _m0.Writer): _m0.Writer;
}

// @public (undocumented)
export interface PBMainCamera {
virtualCameraEntity?: number | undefined;
Expand Down
Loading