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

expose map pin #1002

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
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
26 changes: 26 additions & 0 deletions packages/@dcl/playground-assets/etc/playground-assets.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,7 @@ export const componentDefinitionByName: {
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
"core::MapPin": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMapPin>>;
"core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
"core::MeshRenderer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshRenderer>>;
Expand Down Expand Up @@ -1581,6 +1582,9 @@ export interface MapComponentDefinition<T> extends LastWriteWinElementSetCompone
createOrReplace(entity: Entity, val?: Partial<T>): T;
}

// @public (undocumented)
export const MapPin: LastWriteWinElementSetComponentDefinition<PBMapPin>;

// @public (undocumented)
export type MapResult<T extends Spec> = ToOptional<{
[K in keyof T]: T[K] extends ISchema ? ReturnType<T[K]['deserialize']> : T[K] extends Spec ? MapResult<T[K]> : never;
Expand Down Expand Up @@ -2394,6 +2398,28 @@ export namespace PBMainCamera {
export function encode(message: PBMainCamera, writer?: _m0.Writer): _m0.Writer;
}

// @public (undocumented)
export interface PBMapPin {
// (undocumented)
description: string;
// (undocumented)
iconSize: number;
// (undocumented)
position: PBVector2 | undefined;
// (undocumented)
texture?: TextureUnion | undefined;
// (undocumented)
title: string;
}

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

// @public (undocumented)
export interface PBMaterial {
// (undocumented)
Expand Down
2 changes: 1 addition & 1 deletion scripts/protocol-buffer-generation/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import fs from 'fs-extra'
import { FileDescriptorStandardOption, runCommand } from '../utils/shellCommand'
import { PROTO_COMPILER_PATH, TS_PROTO_PLUGIN_PATH } from './protoConst'

const NON_EXPOSED_LIST: number[] = [1097]
const NON_EXPOSED_LIST: number[] = []

/**
* @param componentPath - Argument of execution '--component-path'
Expand Down
Loading