All checks were successful
Plugin Library CI / publish (00.BuildOriginality) (push) Successful in 13s
Plugin Library CI / publish (00.StaryEvo) (push) Successful in 17s
Plugin Library CI / publish (00.StaryEvoTools) (push) Successful in 35s
Plugin Library CI / publish (01.HybridCLR) (push) Successful in 15s
Plugin Library CI / publish (02.InformationSave) (push) Successful in 3s
Plugin Library CI / publish (03.YooAsset) (push) Successful in 33s
Plugin Library CI / publish (04.AudioCore) (push) Successful in 3s
Plugin Library CI / publish (05.TableTextConversion) (push) Successful in 5s
Plugin Library CI / publish (06.UIFarme) (push) Successful in 15s
Plugin Library CI / publish (07.RKTools) (push) Successful in 2s
Plugin Library CI / publish (08.UniTask) (push) Successful in 3s
Plugin Library CI / publish (09.CodeChecker) (push) Successful in 16s
Plugin Library CI / publish (10.StoryEditor) (push) Successful in 3s
Plugin Library CI / publish (10.XNode) (push) Successful in 3s
Plugin Library CI / publish (11.PointCloudTools) (push) Successful in 2s
Plugin Library CI / publish (12.WeixinMinigame) (push) Successful in 2m32s
44 lines
1.3 KiB
JavaScript
44 lines
1.3 KiB
JavaScript
mergeInto(LibraryManager.library, {
|
|
_WXPointer_stringify_adaptor:function(str){
|
|
if (typeof UTF8ToString !== "undefined") {
|
|
return UTF8ToString(str)
|
|
}
|
|
return Pointer_stringify(str)
|
|
},
|
|
DumpUICallback: function (str) {
|
|
if(typeof GameGlobal!='undefined'){
|
|
GameGlobal.monkeyCallback(_WXPointer_stringify_adaptor(str));
|
|
}
|
|
},
|
|
GetScreenSizeCallback: function(width, height){
|
|
if(typeof GameGlobal!='undefined'){
|
|
GameGlobal.monkeyCallback([width, height]);
|
|
}
|
|
},
|
|
GetUnityVersionCallback: function(version){
|
|
if(typeof GameGlobal!='undefined'){
|
|
GameGlobal.monkeyCallback(_WXPointer_stringify_adaptor(version));
|
|
}
|
|
},
|
|
GetUnityFrameRateCallback: function(rate){
|
|
if(typeof GameGlobal!='undefined'){
|
|
GameGlobal.monkeyCallback(rate)
|
|
}
|
|
},
|
|
GetUnityCacheDetailCallback: function(str) {
|
|
if(typeof GameGlobal!='undefined'){
|
|
GameGlobal.monkeyCallback(_WXPointer_stringify_adaptor(str));
|
|
}
|
|
},
|
|
SetUnityUIType: function(str){
|
|
if(typeof GameGlobal!='undefined'){
|
|
GameGlobal.UnityUIType = _WXPointer_stringify_adaptor(str);
|
|
}
|
|
},
|
|
DumpProfileStatsCallback: function(str){
|
|
if(typeof GameGlobal!='undefined') {
|
|
GameGlobal.monkeyCallback(_WXPointer_stringify_adaptor(str));
|
|
}
|
|
}
|
|
});
|