mirror of
https://gitee.com/dgflash/oops-framework.git
synced 2026-05-28 18:56:17 +08:00
同步最新框架功能
This commit is contained in:
@@ -265,7 +265,7 @@
|
||||
"_priority": 1073741824,
|
||||
"_fov": 45,
|
||||
"_fovAxis": 0,
|
||||
"_orthoHeight": 360,
|
||||
"_orthoHeight": 365.7992565055762,
|
||||
"_near": 1,
|
||||
"_far": 2000,
|
||||
"_color": {
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
{
|
||||
"ver": "1.2.0",
|
||||
"importer": "directory",
|
||||
"imported": true,
|
||||
"uuid": "94be46c7-ddc1-494e-8818-91dde99574a2",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"compressionType": {},
|
||||
"isRemoteBundle": {}
|
||||
}
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
{
|
||||
"ver": "1.2.0",
|
||||
"importer": "directory",
|
||||
"imported": true,
|
||||
"uuid": "268571cb-6e20-4b03-9636-159a50e4b491",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"compressionType": {},
|
||||
"isRemoteBundle": {}
|
||||
}
|
||||
}
|
||||
2729
assets/resources/proto/output/protobuf.d.ts
vendored
2729
assets/resources/proto/output/protobuf.d.ts
vendored
File diff suppressed because it is too large
Load Diff
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"ver": "4.0.24",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "27d50794-3e34-46c8-bad8-ec775f3d25f1",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"ver": "4.0.24",
|
||||
"importer": "javascript",
|
||||
"imported": true,
|
||||
"uuid": "a5391c4e-406a-44e8-bad6-642bec137809",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
@@ -1,49 +0,0 @@
|
||||
declare global {
|
||||
// DO NOT EDIT! This is a generated file. Edit the JSDoc in src/*.js instead and run 'npm run types'.
|
||||
|
||||
/** Properties of a Person. */
|
||||
export interface IPerson {
|
||||
|
||||
/** Person name */
|
||||
name?: (string|null);
|
||||
|
||||
/** Person id */
|
||||
id?: (number|null);
|
||||
}
|
||||
|
||||
/** Represents a Person. */
|
||||
export class Person implements IPerson {
|
||||
|
||||
/**
|
||||
* Constructs a new Person.
|
||||
* @param [p] Properties to set
|
||||
*/
|
||||
constructor(p?: IPerson);
|
||||
|
||||
/** Person name. */
|
||||
public name: string;
|
||||
|
||||
/** Person id. */
|
||||
public id: number;
|
||||
|
||||
/**
|
||||
* Encodes the specified Person message. Does not implicitly {@link Person.verify|verify} messages.
|
||||
* @param m Person message or plain object to encode
|
||||
* @param [w] Writer to encode to
|
||||
* @returns Writer
|
||||
*/
|
||||
public static encode(m: IPerson, w?: protobuf.Writer): protobuf.Writer;
|
||||
|
||||
/**
|
||||
* Decodes a Person message from the specified reader or buffer.
|
||||
* @param r Reader or buffer to decode from
|
||||
* @param [l] Message length if known beforehand
|
||||
* @returns Person
|
||||
* @throws {Error} If the payload is not a reader or valid buffer
|
||||
* @throws {protobuf.util.ProtocolError} If required fields are missing
|
||||
*/
|
||||
public static decode(r: (protobuf.Reader|Uint8Array), l?: number): Person;
|
||||
}
|
||||
|
||||
}
|
||||
export {}
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"ver": "4.0.24",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "74761839-374f-4ae9-a10e-5a2b027af206",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
@@ -1,100 +0,0 @@
|
||||
// Common aliases
|
||||
var $Reader = protobuf.Reader, $Writer = protobuf.Writer, $util = protobuf.util;
|
||||
|
||||
// Exported root namespace
|
||||
var $root = protobuf.roots.creator || (protobuf.roots.creator = $util.global);
|
||||
|
||||
$root.Person = (function() {
|
||||
|
||||
/**
|
||||
* Properties of a Person.
|
||||
* @exports IPerson
|
||||
* @interface IPerson
|
||||
* @property {string|null} [name] Person name
|
||||
* @property {number|null} [id] Person id
|
||||
*/
|
||||
|
||||
/**
|
||||
* Constructs a new Person.
|
||||
* @exports Person
|
||||
* @classdesc Represents a Person.
|
||||
* @implements IPerson
|
||||
* @constructor
|
||||
* @param {IPerson=} [p] Properties to set
|
||||
*/
|
||||
function Person(p) {
|
||||
if (p)
|
||||
for (var ks = Object.keys(p), i = 0; i < ks.length; ++i)
|
||||
if (p[ks[i]] != null)
|
||||
this[ks[i]] = p[ks[i]];
|
||||
}
|
||||
|
||||
/**
|
||||
* Person name.
|
||||
* @member {string} name
|
||||
* @memberof Person
|
||||
* @instance
|
||||
*/
|
||||
Person.prototype.name = "";
|
||||
|
||||
/**
|
||||
* Person id.
|
||||
* @member {number} id
|
||||
* @memberof Person
|
||||
* @instance
|
||||
*/
|
||||
Person.prototype.id = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
||||
|
||||
/**
|
||||
* Encodes the specified Person message. Does not implicitly {@link Person.verify|verify} messages.
|
||||
* @function encode
|
||||
* @memberof Person
|
||||
* @static
|
||||
* @param {IPerson} m Person message or plain object to encode
|
||||
* @param {protobuf.Writer} [w] Writer to encode to
|
||||
* @returns {protobuf.Writer} Writer
|
||||
*/
|
||||
Person.encode = function encode(m, w) {
|
||||
if (!w)
|
||||
w = $Writer.create();
|
||||
if (m.name != null && Object.hasOwnProperty.call(m, "name"))
|
||||
w.uint32(10).string(m.name);
|
||||
if (m.id != null && Object.hasOwnProperty.call(m, "id"))
|
||||
w.uint32(16).uint64(m.id);
|
||||
return w;
|
||||
};
|
||||
|
||||
/**
|
||||
* Decodes a Person message from the specified reader or buffer.
|
||||
* @function decode
|
||||
* @memberof Person
|
||||
* @static
|
||||
* @param {protobuf.Reader|Uint8Array} r Reader or buffer to decode from
|
||||
* @param {number} [l] Message length if known beforehand
|
||||
* @returns {Person} Person
|
||||
* @throws {Error} If the payload is not a reader or valid buffer
|
||||
* @throws {protobuf.util.ProtocolError} If required fields are missing
|
||||
*/
|
||||
Person.decode = function decode(r, l) {
|
||||
if (!(r instanceof $Reader))
|
||||
r = $Reader.create(r);
|
||||
var c = l === undefined ? r.len : r.pos + l, m = new $root.Person();
|
||||
while (r.pos < c) {
|
||||
var t = r.uint32();
|
||||
switch (t >>> 3) {
|
||||
case 1:
|
||||
m.name = r.string();
|
||||
break;
|
||||
case 2:
|
||||
m.id = r.uint64();
|
||||
break;
|
||||
default:
|
||||
r.skipType(t & 7);
|
||||
break;
|
||||
}
|
||||
}
|
||||
return m;
|
||||
};
|
||||
|
||||
return Person;
|
||||
})();
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"ver": "4.0.24",
|
||||
"importer": "javascript",
|
||||
"imported": true,
|
||||
"uuid": "31897a5b-694c-4c49-b471-1df80fb2d90c",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
{
|
||||
"ver": "1.2.0",
|
||||
"importer": "directory",
|
||||
"imported": true,
|
||||
"uuid": "c5aff8e1-992b-41fa-802b-ac5692bcf9ef",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"compressionType": {},
|
||||
"isRemoteBundle": {}
|
||||
}
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
syntax = "proto3";
|
||||
|
||||
// A very simple protobuf message.
|
||||
message Person {
|
||||
string name = 1;
|
||||
uint64 id = 2;
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
{
|
||||
"ver": "1.0.1",
|
||||
"importer": "text",
|
||||
"imported": true,
|
||||
"uuid": "12bd0b17-e22d-452d-97c7-95b1f2b1c83e",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
@@ -19,6 +19,7 @@ const { ccclass, property } = _decorator;
|
||||
export class RoleViewInfoComp extends CCComp {
|
||||
onAdded(args: any) {
|
||||
console.log(args);
|
||||
return true;
|
||||
}
|
||||
|
||||
onLoad() {
|
||||
|
||||
Reference in New Issue
Block a user