Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Y
yt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
任建锋
yt
Commits
7f300826
Commit
7f300826
authored
Jul 13, 2018
by
任建锋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rjf
parent
23442df2
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
159 additions
and
23 deletions
+159
-23
package_20180713111522.json
.history/package_20180713111522.json
+14
-0
index_20180713110440.ts
.history/src/index_20180713110440.ts
+40
-0
YtMsgModule_20180713110429.ts
.history/src/module/YtMsgModule_20180713110429.ts
+82
-0
index.js
dist/index.js
+1
-1
index.js.map
dist/index.js.map
+1
-1
YtMsgModule.js
dist/module/YtMsgModule.js
+13
-13
YtMsgModule.js.map
dist/module/YtMsgModule.js.map
+1
-1
package.json
package.json
+1
-1
index.ts
src/index.ts
+2
-2
YtMsgModule.ts
src/module/YtMsgModule.ts
+1
-1
index.d.ts
types/index.d.ts
+2
-2
YtMsgModule.d.ts
types/module/YtMsgModule.d.ts
+1
-1
No files found.
.history/package_20180713111522.json
0 → 100644
View file @
7f300826
{
"name"
:
"yt"
,
"version"
:
"1.0.16"
,
"description"
:
"基于Babylonjs的3D框架"
,
"main"
:
"./dist/index.js"
,
"types"
:
"./types/index.d.ts"
,
"scripts"
:
{
},
"author"
:
""
,
"license"
:
"ISC"
,
"dependencies"
:
{
"duiba-tc"
:
"git+ssh://git@gitlab2.dui88.com:clq/tc.git#1.0"
}
}
\ No newline at end of file
.history/src/index_20180713110440.ts
0 → 100644
View file @
7f300826
import
{
YtResourceData
}
from
"./interface/YtResourceData"
;
import
{
YtFileData
}
from
"./interface/YtFileData"
;
import
{
YtModuleName
}
from
"./enum/YtModuleName"
;
import
{
YtLang
}
from
"./util/YtLang"
;
import
{
YtAssetsManager
}
from
"./manager/YtAssetsManager"
;
import
{
YtGuiManager
}
from
"./manager/YtGuiManager"
;
import
{
YtSceneManager
}
from
"./manager/YtSceneManager"
;
import
{
YtModuleManager
}
from
"./manager/YtModuleManager"
;
import
{
YtAnimationCon
}
from
"./others/YtAnimationCon"
;
import
{
YtAnimationGui
}
from
"./others/YtAnimationGui"
;
import
{
YtParticleCon
}
from
"./others/YtParticleCon"
;
import
{
YtGuiCreate
}
from
"./others/YtGuiCreate"
;
import
{
YtModule
}
from
"./module/YtModule"
;
import
{
YtDisplayPool
}
from
"./others/YtDisplayPool"
;
import
{
YtMsgModule
}
from
"./module/YtMsgModule"
import
{
YtLoadingModule
}
from
"./module/YtLoadingModule"
;
import
{
YtWaitingModule
}
from
"./module/YtWaitingModule"
;
import
{
YtPanelModule
}
from
"./module/YtPanelModule"
;
export
{
//UI创建和scene创建
YtModule
,
YtDisplayPool
,
YtMsgModule
,
YtLoadingModule
,
YtWaitingModule
,
YtPanelModule
,
//other
YtAnimationCon
,
YtAnimationGui
,
YtParticleCon
,
YtGuiCreate
,
//接口
YtResourceData
,
YtFileData
,
//枚举
YtModuleName
,
//工具
YtLang
,
//管理器
YtAssetsManager
,
YtGuiManager
,
YtSceneManager
,
YtModuleManager
,
}
\ No newline at end of file
.history/src/module/YtMsgModule_20180713110429.ts
0 → 100644
View file @
7f300826
import
{
YtPanelModule
}
from
"./YtPanelModule"
;
import
{
YtDisplayPool
}
from
"../others/YtDisplayPool"
;
import
{
YtModuleName
}
from
"../enum/YtModuleName"
;
import
{
YtIMsgData
}
from
'../interface/YtIMsgData'
;
export
class
YtMsgModule
extends
YtPanelModule
{
constructor
(){
super
()
}
public
init
(){
YtDisplayPool
.
ins
.
displayPool
[
YtModuleName
.
MSG_PANEL
]
=
this
;
}
/**
* 添加事件
* */
protected
addEvent
(){
if
(
this
.
view
.
closeBtn
){
this
.
doEvents
[
"closeBtn"
]
=
this
.
addClick
(
this
.
view
.
closeBtn
,
this
.
onClick_closeBtn
.
bind
(
this
))
}
}
protected
onClick_closeBtn
():
void
{
this
.
enableMouseEvt
(
false
)
this
.
hide
();
}
protected
removeEvent
(){
this
.
enableMouseEvt
(
true
)
if
(
this
.
view
.
closeBtn
){
this
.
view
.
closeBtn
.
onPointerUpObservable
.
remove
(
this
.
doEvents
[
"closeBtn"
])
}
}
/**
* 更新提示文案
*/
protected
updateMsgTxt
(
msgTxt
:
string
):
void
{
if
(
this
.
view
.
msgTxt
)
{
this
.
view
.
msgTxt
.
text
=
msgTxt
;
}
}
/**
* 更新确定按钮文案
*/
protected
updateSureBtnTxt
(
btnTxt
:
string
):
void
{
if
(
this
.
view
.
sureBtn
)
{
this
.
view
.
sureBtn
.
children
[
0
].
text
=
btnTxt
;
}
}
/**
* 更新取消按钮文案
*/
protected
updateCancelBtnTxt
(
btnTxt
:
string
):
void
{
if
(
this
.
view
.
cancelBtn
)
{
this
.
view
.
cancelBtn
.
children
[
0
].
text
=
btnTxt
;
}
}
/**
* 更新页面
* @param args
*/
public
updateData
(
msgData
:
YtIMsgData
,
...
args
):
void
{
if
(
msgData
.
msg
){
this
.
updateMsgTxt
(
msgData
.
msg
);
}
if
(
msgData
.
sureBtnTxt
){
this
.
updateSureBtnTxt
(
msgData
.
sureBtnTxt
);
}
if
(
msgData
.
cancelBtnTxt
){
this
.
updateCancelBtnTxt
(
msgData
.
cancelBtnTxt
);
}
}
}
\ No newline at end of file
dist/index.js
View file @
7f300826
...
@@ -25,7 +25,7 @@ exports.YtModule = YtModule_1.YtModule;
...
@@ -25,7 +25,7 @@ exports.YtModule = YtModule_1.YtModule;
var
YtDisplayPool_1
=
require
(
"./others/YtDisplayPool"
);
var
YtDisplayPool_1
=
require
(
"./others/YtDisplayPool"
);
exports
.
YtDisplayPool
=
YtDisplayPool_1
.
YtDisplayPool
;
exports
.
YtDisplayPool
=
YtDisplayPool_1
.
YtDisplayPool
;
var
YtMsgModule_1
=
require
(
"./module/YtMsgModule"
);
var
YtMsgModule_1
=
require
(
"./module/YtMsgModule"
);
exports
.
MsgModule
=
YtMsgModule_1
.
MsgModule
;
exports
.
YtMsgModule
=
YtMsgModule_1
.
Yt
MsgModule
;
var
YtLoadingModule_1
=
require
(
"./module/YtLoadingModule"
);
var
YtLoadingModule_1
=
require
(
"./module/YtLoadingModule"
);
exports
.
YtLoadingModule
=
YtLoadingModule_1
.
YtLoadingModule
;
exports
.
YtLoadingModule
=
YtLoadingModule_1
.
YtLoadingModule
;
var
YtWaitingModule_1
=
require
(
"./module/YtWaitingModule"
);
var
YtWaitingModule_1
=
require
(
"./module/YtWaitingModule"
);
...
...
dist/index.js.map
View file @
7f300826
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;AAGA,oDAAiD;AA4B7C,uBA5BI,2BAAY,CA4BJ;AA3BhB,wCAAqC;AA8BjC,iBA9BI,eAAM,CA8BJ;AA7BV,6DAA0D;AAgCtD,0BAhCI,iCAAe,CAgCJ;AA/BnB,uDAAoD;AA+BhC,uBA/BZ,2BAAY,CA+BY;AA9BhC,2DAAwD;AA8BvB,yBA9BzB,+BAAc,CA8ByB;AA7B/C,6DAA0D;AA6BV,0BA7BxC,iCAAe,CA6BwC;AA5B/D,0DAAuD;AAgBnD,yBAhBI,+BAAc,CAgBJ;AAflB,0DAAuD;AAepC,yBAfX,+BAAc,CAeW;AAdjC,wDAAqD;AAcnB,wBAd1B,6BAAa,CAc0B;AAb/C,oDAAiD;AAaD,sBAbxC,yBAAW,CAawC;AAZ3D,8CAA2C;AASvC,mBATI,mBAAQ,CASJ;AARZ,wDAAqD;AAQxC,wBARL,6BAAa,CAQK;AAP1B,oDAA8C;AAOnB,oBAPnB,uBAAS,CAOmB;AANpC,4DAAyD;AAMpB,0BAN7B,iCAAe,CAM6B;AALpD,4DAAyD;AAKJ,0BAL7C,iCAAe,CAK6C;AAJpE,wDAAqD;AAIgB,wBAJ7D,6BAAa,CAI6D"}
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;AAGA,oDAAiD;AA4B7C,uBA5BI,2BAAY,CA4BJ;AA3BhB,wCAAqC;AA8BjC,iBA9BI,eAAM,CA8BJ;AA7BV,6DAA0D;AAgCtD,0BAhCI,iCAAe,CAgCJ;AA/BnB,uDAAoD;AA+BhC,uBA/BZ,2BAAY,CA+BY;AA9BhC,2DAAwD;AA8BvB,yBA9BzB,+BAAc,CA8ByB;AA7B/C,6DAA0D;AA6BV,0BA7BxC,iCAAe,CA6BwC;AA5B/D,0DAAuD;AAgBnD,yBAhBI,+BAAc,CAgBJ;AAflB,0DAAuD;AAepC,yBAfX,+BAAc,CAeW;AAdjC,wDAAqD;AAcnB,wBAd1B,6BAAa,CAc0B;AAb/C,oDAAiD;AAaD,sBAbxC,yBAAW,CAawC;AAZ3D,8CAA2C;AASvC,mBATI,mBAAQ,CASJ;AARZ,wDAAqD;AAQxC,wBARL,6BAAa,CAQK;AAP1B,oDAAgD;AAOrB,sBAPnB,yBAAW,CAOmB;AANtC,4DAAyD;AAMlB,0BAN/B,iCAAe,CAM+B;AALtD,4DAAyD;AAKF,0BAL/C,iCAAe,CAK+C;AAJtE,wDAAqD;AAIkB,wBAJ/D,6BAAa,CAI+D"}
\ No newline at end of file
\ No newline at end of file
dist/module/YtMsgModule.js
View file @
7f300826
...
@@ -13,27 +13,27 @@ Object.defineProperty(exports, "__esModule", { value: true });
...
@@ -13,27 +13,27 @@ Object.defineProperty(exports, "__esModule", { value: true });
var
YtPanelModule_1
=
require
(
"./YtPanelModule"
);
var
YtPanelModule_1
=
require
(
"./YtPanelModule"
);
var
YtDisplayPool_1
=
require
(
"../others/YtDisplayPool"
);
var
YtDisplayPool_1
=
require
(
"../others/YtDisplayPool"
);
var
YtModuleName_1
=
require
(
"../enum/YtModuleName"
);
var
YtModuleName_1
=
require
(
"../enum/YtModuleName"
);
var
MsgModule
=
/** @class */
(
function
(
_super
)
{
var
Yt
MsgModule
=
/** @class */
(
function
(
_super
)
{
__extends
(
MsgModule
,
_super
);
__extends
(
Yt
MsgModule
,
_super
);
function
MsgModule
()
{
function
Yt
MsgModule
()
{
return
_super
.
call
(
this
)
||
this
;
return
_super
.
call
(
this
)
||
this
;
}
}
MsgModule
.
prototype
.
init
=
function
()
{
Yt
MsgModule
.
prototype
.
init
=
function
()
{
YtDisplayPool_1
.
YtDisplayPool
.
ins
.
displayPool
[
YtModuleName_1
.
YtModuleName
.
MSG_PANEL
]
=
this
;
YtDisplayPool_1
.
YtDisplayPool
.
ins
.
displayPool
[
YtModuleName_1
.
YtModuleName
.
MSG_PANEL
]
=
this
;
};
};
/**
/**
* 添加事件
* 添加事件
* */
* */
MsgModule
.
prototype
.
addEvent
=
function
()
{
Yt
MsgModule
.
prototype
.
addEvent
=
function
()
{
if
(
this
.
view
.
closeBtn
)
{
if
(
this
.
view
.
closeBtn
)
{
this
.
doEvents
[
"closeBtn"
]
=
this
.
addClick
(
this
.
view
.
closeBtn
,
this
.
onClick_closeBtn
.
bind
(
this
));
this
.
doEvents
[
"closeBtn"
]
=
this
.
addClick
(
this
.
view
.
closeBtn
,
this
.
onClick_closeBtn
.
bind
(
this
));
}
}
};
};
MsgModule
.
prototype
.
onClick_closeBtn
=
function
()
{
Yt
MsgModule
.
prototype
.
onClick_closeBtn
=
function
()
{
this
.
enableMouseEvt
(
false
);
this
.
enableMouseEvt
(
false
);
this
.
hide
();
this
.
hide
();
};
};
MsgModule
.
prototype
.
removeEvent
=
function
()
{
Yt
MsgModule
.
prototype
.
removeEvent
=
function
()
{
this
.
enableMouseEvt
(
true
);
this
.
enableMouseEvt
(
true
);
if
(
this
.
view
.
closeBtn
)
{
if
(
this
.
view
.
closeBtn
)
{
this
.
view
.
closeBtn
.
onPointerUpObservable
.
remove
(
this
.
doEvents
[
"closeBtn"
]);
this
.
view
.
closeBtn
.
onPointerUpObservable
.
remove
(
this
.
doEvents
[
"closeBtn"
]);
...
@@ -42,7 +42,7 @@ var MsgModule = /** @class */ (function (_super) {
...
@@ -42,7 +42,7 @@ var MsgModule = /** @class */ (function (_super) {
/**
/**
* 更新提示文案
* 更新提示文案
*/
*/
MsgModule
.
prototype
.
updateMsgTxt
=
function
(
msgTxt
)
{
Yt
MsgModule
.
prototype
.
updateMsgTxt
=
function
(
msgTxt
)
{
if
(
this
.
view
.
msgTxt
)
{
if
(
this
.
view
.
msgTxt
)
{
this
.
view
.
msgTxt
.
text
=
msgTxt
;
this
.
view
.
msgTxt
.
text
=
msgTxt
;
}
}
...
@@ -50,7 +50,7 @@ var MsgModule = /** @class */ (function (_super) {
...
@@ -50,7 +50,7 @@ var MsgModule = /** @class */ (function (_super) {
/**
/**
* 更新确定按钮文案
* 更新确定按钮文案
*/
*/
MsgModule
.
prototype
.
updateSureBtnTxt
=
function
(
btnTxt
)
{
Yt
MsgModule
.
prototype
.
updateSureBtnTxt
=
function
(
btnTxt
)
{
if
(
this
.
view
.
sureBtn
)
{
if
(
this
.
view
.
sureBtn
)
{
this
.
view
.
sureBtn
.
children
[
0
].
text
=
btnTxt
;
this
.
view
.
sureBtn
.
children
[
0
].
text
=
btnTxt
;
}
}
...
@@ -58,7 +58,7 @@ var MsgModule = /** @class */ (function (_super) {
...
@@ -58,7 +58,7 @@ var MsgModule = /** @class */ (function (_super) {
/**
/**
* 更新取消按钮文案
* 更新取消按钮文案
*/
*/
MsgModule
.
prototype
.
updateCancelBtnTxt
=
function
(
btnTxt
)
{
Yt
MsgModule
.
prototype
.
updateCancelBtnTxt
=
function
(
btnTxt
)
{
if
(
this
.
view
.
cancelBtn
)
{
if
(
this
.
view
.
cancelBtn
)
{
this
.
view
.
cancelBtn
.
children
[
0
].
text
=
btnTxt
;
this
.
view
.
cancelBtn
.
children
[
0
].
text
=
btnTxt
;
}
}
...
@@ -67,7 +67,7 @@ var MsgModule = /** @class */ (function (_super) {
...
@@ -67,7 +67,7 @@ var MsgModule = /** @class */ (function (_super) {
* 更新页面
* 更新页面
* @param args
* @param args
*/
*/
MsgModule
.
prototype
.
updateData
=
function
(
msgData
)
{
Yt
MsgModule
.
prototype
.
updateData
=
function
(
msgData
)
{
var
args
=
[];
var
args
=
[];
for
(
var
_i
=
1
;
_i
<
arguments
.
length
;
_i
++
)
{
for
(
var
_i
=
1
;
_i
<
arguments
.
length
;
_i
++
)
{
args
[
_i
-
1
]
=
arguments
[
_i
];
args
[
_i
-
1
]
=
arguments
[
_i
];
...
@@ -82,7 +82,7 @@ var MsgModule = /** @class */ (function (_super) {
...
@@ -82,7 +82,7 @@ var MsgModule = /** @class */ (function (_super) {
this
.
updateCancelBtnTxt
(
msgData
.
cancelBtnTxt
);
this
.
updateCancelBtnTxt
(
msgData
.
cancelBtnTxt
);
}
}
};
};
return
MsgModule
;
return
Yt
MsgModule
;
}(
YtPanelModule_1
.
YtPanelModule
));
}(
YtPanelModule_1
.
YtPanelModule
));
exports
.
MsgModule
=
MsgModule
;
exports
.
YtMsgModule
=
Yt
MsgModule
;
//# sourceMappingURL=YtMsgModule.js.map
//# sourceMappingURL=YtMsgModule.js.map
\ No newline at end of file
dist/module/YtMsgModule.js.map
View file @
7f300826
{"version":3,"file":"YtMsgModule.js","sourceRoot":"","sources":["../../src/module/YtMsgModule.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAA8C;AAC9C,yDAAsD;AACtD,qDAAkD;AAGlD;IAA+B,6BAAa;IAExC;eACI,iBAAO;IACX,CAAC;IAEM,wBAAI,GAAX;QACI,6BAAa,CAAC,GAAG,CAAC,WAAW,CAAC,2BAAY,CAAC,SAAS,CAAC,GAAC,IAAI,CAAC;IAC/D,CAAC;IAED;;SAEK;IACK,4BAAQ,GAAlB;QACI,IAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAC;YAClB,IAAI,CAAC,QAAQ,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at end of file
package.json
View file @
7f300826
{
{
"name"
:
"yt"
,
"name"
:
"yt"
,
"version"
:
"1.0.1
5
"
,
"version"
:
"1.0.1
6
"
,
"description"
:
"基于Babylonjs的3D框架"
,
"description"
:
"基于Babylonjs的3D框架"
,
"main"
:
"./dist/index.js"
,
"main"
:
"./dist/index.js"
,
"types"
:
"./types/index.d.ts"
,
"types"
:
"./types/index.d.ts"
,
...
...
src/index.ts
View file @
7f300826
...
@@ -13,14 +13,14 @@ import {YtParticleCon} from "./others/YtParticleCon";
...
@@ -13,14 +13,14 @@ import {YtParticleCon} from "./others/YtParticleCon";
import
{
YtGuiCreate
}
from
"./others/YtGuiCreate"
;
import
{
YtGuiCreate
}
from
"./others/YtGuiCreate"
;
import
{
YtModule
}
from
"./module/YtModule"
;
import
{
YtModule
}
from
"./module/YtModule"
;
import
{
YtDisplayPool
}
from
"./others/YtDisplayPool"
;
import
{
YtDisplayPool
}
from
"./others/YtDisplayPool"
;
import
{
MsgModule
}
from
"./module/YtMsgModule"
import
{
Yt
MsgModule
}
from
"./module/YtMsgModule"
import
{
YtLoadingModule
}
from
"./module/YtLoadingModule"
;
import
{
YtLoadingModule
}
from
"./module/YtLoadingModule"
;
import
{
YtWaitingModule
}
from
"./module/YtWaitingModule"
;
import
{
YtWaitingModule
}
from
"./module/YtWaitingModule"
;
import
{
YtPanelModule
}
from
"./module/YtPanelModule"
;
import
{
YtPanelModule
}
from
"./module/YtPanelModule"
;
export
{
export
{
//UI创建和scene创建
//UI创建和scene创建
YtModule
,
YtDisplayPool
,
MsgModule
,
YtLoadingModule
,
YtWaitingModule
,
YtPanelModule
,
YtModule
,
YtDisplayPool
,
Yt
MsgModule
,
YtLoadingModule
,
YtWaitingModule
,
YtPanelModule
,
//other
//other
YtAnimationCon
,
YtAnimationGui
,
YtParticleCon
,
YtGuiCreate
,
YtAnimationCon
,
YtAnimationGui
,
YtParticleCon
,
YtGuiCreate
,
...
...
src/module/YtMsgModule.ts
View file @
7f300826
...
@@ -3,7 +3,7 @@ import {YtDisplayPool} from "../others/YtDisplayPool";
...
@@ -3,7 +3,7 @@ import {YtDisplayPool} from "../others/YtDisplayPool";
import
{
YtModuleName
}
from
"../enum/YtModuleName"
;
import
{
YtModuleName
}
from
"../enum/YtModuleName"
;
import
{
YtIMsgData
}
from
'../interface/YtIMsgData'
;
import
{
YtIMsgData
}
from
'../interface/YtIMsgData'
;
export
class
MsgModule
extends
YtPanelModule
{
export
class
Yt
MsgModule
extends
YtPanelModule
{
constructor
(){
constructor
(){
super
()
super
()
...
...
types/index.d.ts
View file @
7f300826
...
@@ -12,8 +12,8 @@ import { YtParticleCon } from "./others/YtParticleCon";
...
@@ -12,8 +12,8 @@ import { YtParticleCon } from "./others/YtParticleCon";
import
{
YtGuiCreate
}
from
"./others/YtGuiCreate"
;
import
{
YtGuiCreate
}
from
"./others/YtGuiCreate"
;
import
{
YtModule
}
from
"./module/YtModule"
;
import
{
YtModule
}
from
"./module/YtModule"
;
import
{
YtDisplayPool
}
from
"./others/YtDisplayPool"
;
import
{
YtDisplayPool
}
from
"./others/YtDisplayPool"
;
import
{
MsgModule
}
from
"./module/YtMsgModule"
;
import
{
Yt
MsgModule
}
from
"./module/YtMsgModule"
;
import
{
YtLoadingModule
}
from
"./module/YtLoadingModule"
;
import
{
YtLoadingModule
}
from
"./module/YtLoadingModule"
;
import
{
YtWaitingModule
}
from
"./module/YtWaitingModule"
;
import
{
YtWaitingModule
}
from
"./module/YtWaitingModule"
;
import
{
YtPanelModule
}
from
"./module/YtPanelModule"
;
import
{
YtPanelModule
}
from
"./module/YtPanelModule"
;
export
{
YtModule
,
YtDisplayPool
,
MsgModule
,
YtLoadingModule
,
YtWaitingModule
,
YtPanelModule
,
YtAnimationCon
,
YtAnimationGui
,
YtParticleCon
,
YtGuiCreate
,
YtResourceData
,
YtFileData
,
YtModuleName
,
YtLang
,
YtAssetsManager
,
YtGuiManager
,
YtSceneManager
,
YtModuleManager
};
export
{
YtModule
,
YtDisplayPool
,
Yt
MsgModule
,
YtLoadingModule
,
YtWaitingModule
,
YtPanelModule
,
YtAnimationCon
,
YtAnimationGui
,
YtParticleCon
,
YtGuiCreate
,
YtResourceData
,
YtFileData
,
YtModuleName
,
YtLang
,
YtAssetsManager
,
YtGuiManager
,
YtSceneManager
,
YtModuleManager
};
types/module/YtMsgModule.d.ts
View file @
7f300826
import
{
YtPanelModule
}
from
"./YtPanelModule"
;
import
{
YtPanelModule
}
from
"./YtPanelModule"
;
import
{
YtIMsgData
}
from
'../interface/YtIMsgData'
;
import
{
YtIMsgData
}
from
'../interface/YtIMsgData'
;
export
declare
class
MsgModule
extends
YtPanelModule
{
export
declare
class
Yt
MsgModule
extends
YtPanelModule
{
constructor
();
constructor
();
init
():
void
;
init
():
void
;
/**
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment