sdk接入结构修改
parent
8974820606
commit
5b7b28f1f9
|
@ -1,15 +1,19 @@
|
|||
apply plugin: 'com.android.library'
|
||||
//apply plugin: 'com.android.application'
|
||||
|
||||
android {
|
||||
compileSdkVersion 28
|
||||
defaultConfig {
|
||||
// applicationId "com.bluewhale.jieling"
|
||||
// applicationId "com.mht.tcxcsb.project"
|
||||
minSdkVersion 15
|
||||
targetSdkVersion 28
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||
ndk { abiFilters 'armeabi' }
|
||||
}
|
||||
repositories { flatDir { dirs 'libs' } }
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
|
@ -18,6 +22,10 @@ android {
|
|||
}
|
||||
buildToolsVersion '29.0.3'
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
|
||||
task makeJar(type: Copy) {
|
||||
|
@ -30,8 +38,6 @@ android {
|
|||
makeJar.dependsOn(build)
|
||||
|
||||
|
||||
repositories { flatDir { dirs 'libs' } }
|
||||
defaultConfig { ndk { abiFilters 'armeabi' }}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
@ -39,11 +45,10 @@ dependencies {
|
|||
testImplementation 'junit:junit:4.12'
|
||||
androidTestImplementation 'com.android.support.test:runner:1.0.2'
|
||||
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
|
||||
// common
|
||||
implementation files('libs/android-support-v4.jar')
|
||||
implementation files('libs/android-support-multidex.jar')
|
||||
implementation files('libs/wechat-sdk.jar')
|
||||
// 猕猴桃
|
||||
|
||||
implementation files('libs/PSDK/GDTActionSDK.min.1.6.4.aar')
|
||||
implementation files('libs/PSDK/mhtsdk.aar')
|
||||
implementation files('libs/PSDK/onelogin.aar')
|
||||
|
@ -51,7 +56,7 @@ dependencies {
|
|||
implementation files('libs/PSDK/psdk_mht.aar')
|
||||
implementation files('libs/PSDK/psdk.aar')
|
||||
implementation files('libs/PSDK/miit_mdid_1.0.10.aar')
|
||||
// 开天
|
||||
|
||||
implementation files('libs/KTSDK/adapter-rxjava-2.4.0.jar')
|
||||
implementation files('libs/KTSDK/converter-fastjson-2.1.0.jar')
|
||||
implementation files('libs/KTSDK/fastjson-1.1.68.android.jar')
|
||||
|
|
|
@ -3,8 +3,21 @@
|
|||
package="com.mht.tcxcsb.project">
|
||||
|
||||
<application
|
||||
android:name="com.lingdong.packsdk.PSDKApplication"
|
||||
android:allowBackup="true"
|
||||
android:supportsRtl="true">
|
||||
|
||||
<meta-data android:name="PSDK_GAME_PROXY_APPLICATION" android:value="com.mht.tcxcsb.project.GameApplication" />
|
||||
<meta-data android:name="channelId" android:value="MHT" />
|
||||
<meta-data android:name="mhtrhappid" android:value="7bb5f604306ccd93fc19f05d3a374e84" />
|
||||
<meta-data android:name="mhtappid" android:value="e4ecefecc8034cffaa69e81b2c044f2c" />
|
||||
<meta-data android:name="channellevel1" android:value="MHT" />
|
||||
<meta-data android:name="channellevel2" android:value="MHT" />
|
||||
<!--广点通-->
|
||||
<!--<meta-data android:name="gactionId" android:value="\1110267592" />-->
|
||||
<!--<meta-data android:name="gappSecretKey" android:value="d942ce86d51d7579cdccaafe8790e8c0"/>-->
|
||||
|
||||
<activity android:name="com.lingdong.packsdk.ui.PayWebActivity"></activity>
|
||||
<activity android:name=".MhtActivity">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
|
|
@ -60,7 +60,6 @@ public class MainActivity extends IUnityPlayerActivity {
|
|||
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
Init();
|
||||
SJSDK.getInstance().onCreate(savedInstanceState);
|
||||
}
|
||||
|
||||
|
@ -130,7 +129,7 @@ public class MainActivity extends IUnityPlayerActivity {
|
|||
@SuppressLint({"SimpleDateFormat"})
|
||||
public Bitmap createScreenshot() {
|
||||
if (MainActivity.this.bitmap == null)
|
||||
UnityPlayer.UnitySendMessage("SDKManager", "CaptureShot", "");
|
||||
UnityPlayer.UnitySendMessage("SDK.SDKManager", "CaptureShot", "");
|
||||
while (MainActivity.this.bitmap == null) {
|
||||
try {
|
||||
Thread.sleep(500L);
|
||||
|
@ -173,7 +172,7 @@ public class MainActivity extends IUnityPlayerActivity {
|
|||
MainActivity.this.runOnUiThread(new Runnable() {
|
||||
public void run() {
|
||||
String result = code == CODE_SW_LOGIN_SUCCESS ? SUCCESS : FAILED;
|
||||
UnityPlayer.UnitySendMessage("SDKManager", "SwitchAccountCallback", result + "#" + message);
|
||||
UnityPlayer.UnitySendMessage("SDK.SDKManager", "SwitchAccountCallback", result + "#" + message);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -182,7 +181,7 @@ public class MainActivity extends IUnityPlayerActivity {
|
|||
MainActivity.this.runOnUiThread(new Runnable() {
|
||||
public void run() {
|
||||
String result = code == CODE_SW_LOGIN_SUCCESS ? SUCCESS : FAILED;
|
||||
UnityPlayer.UnitySendMessage("SDKManager", "SwitchAccountCallback", result);
|
||||
UnityPlayer.UnitySendMessage("SDK.SDKManager", "SwitchAccountCallback", result);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -191,7 +190,7 @@ public class MainActivity extends IUnityPlayerActivity {
|
|||
MainActivity.this.runOnUiThread(new Runnable() {
|
||||
public void run() {
|
||||
String result = code == CODE_PAY_SUCCESS ? SUCCESS : FAILED;
|
||||
UnityPlayer.UnitySendMessage("SDKManager", "PayCallback", result + "#" + GetOrderID());
|
||||
UnityPlayer.UnitySendMessage("SDK.SDKManager", "PayCallback", result + "#" + GetOrderID());
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -200,7 +199,7 @@ public class MainActivity extends IUnityPlayerActivity {
|
|||
MainActivity.this.runOnUiThread(new Runnable() {
|
||||
public void run() {
|
||||
String result = code == CODE_LOGOUT_SUCCESS ? SUCCESS : FAILED;
|
||||
UnityPlayer.UnitySendMessage("SDKManager", "LogoutCallback", result);
|
||||
UnityPlayer.UnitySendMessage("SDK.SDKManager", "LogoutCallback", result);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -219,7 +218,7 @@ public class MainActivity extends IUnityPlayerActivity {
|
|||
MainActivity.this.runOnUiThread(new Runnable() {
|
||||
public void run() {
|
||||
String result = code == CODE_INIT_SUCCESS ? SUCCESS : FAILED;
|
||||
UnityPlayer.UnitySendMessage("SDKManager", "InitCallback", result);
|
||||
UnityPlayer.UnitySendMessage("SDK.SDKManager", "InitCallback", result);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -230,9 +229,9 @@ public class MainActivity extends IUnityPlayerActivity {
|
|||
public void run() {
|
||||
if (code == CODE_AUTH_TOKEN_SUCCESS && authResult != null &&
|
||||
!authResult.toString().equals("") && authResult.isSuc()) {
|
||||
UnityPlayer.UnitySendMessage("SDKManager", "LoginCallback", SUCCESS + "#" + authResult.getUserID() + "#" + authResult.getToken() + "#" + authResult.getExtension());
|
||||
UnityPlayer.UnitySendMessage("SDK.SDKManager", "LoginCallback", SUCCESS + "#" + authResult.getUserID() + "#" + authResult.getToken() + "#" + authResult.getExtension());
|
||||
} else {
|
||||
UnityPlayer.UnitySendMessage("SDKManager", "LoginCallback", FAILED + "#" + "token Error");
|
||||
UnityPlayer.UnitySendMessage("SDK.SDKManager", "LoginCallback", FAILED + "#" + "token Error");
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
@ -4,6 +4,7 @@ import android.app.AlertDialog;
|
|||
import android.content.DialogInterface;
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
import android.util.Log;
|
||||
import android.view.KeyEvent;
|
||||
|
||||
import com.bluewhale.jieling.IUnityPlayerActivity;
|
||||
|
@ -22,6 +23,7 @@ import java.util.Map;
|
|||
public class MhtActivity extends IUnityPlayerActivity {
|
||||
// private TextView log_tv;
|
||||
|
||||
private boolean isInitSuccess = false;
|
||||
private String orderId;
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
|
@ -31,10 +33,10 @@ public class MhtActivity extends IUnityPlayerActivity {
|
|||
@Override
|
||||
public void onInit(int code) {
|
||||
if (code == GameListener.SUCCESS) {
|
||||
UnityPlayer.UnitySendMessage("SDKManager", "InitCallback", MhtActivity.this.SUCCESS);
|
||||
isInitSuccess = true;
|
||||
showLog("PSDK初始化成功");
|
||||
} else {
|
||||
UnityPlayer.UnitySendMessage("SDKManager", "InitCallback", MhtActivity.this.FAILED);
|
||||
isInitSuccess = false;
|
||||
showLog("PSDK初始化失败");
|
||||
}
|
||||
}
|
||||
|
@ -42,10 +44,10 @@ public class MhtActivity extends IUnityPlayerActivity {
|
|||
@Override
|
||||
public void onLogin(int code, String msg) {
|
||||
if (code == GameListener.SUCCESS) {
|
||||
UnityPlayer.UnitySendMessage("SDKManager", "LoginCallback", MhtActivity.this.SUCCESS + "#" + MHTManager.getuId() + "#" + MHTManager.getToken() + "#" + MHTManager.getUserToken() + "#" + MHTManager.getChannelName());
|
||||
UnityPlayer.UnitySendMessage("SDK.SDKManager", "LoginCallback", MhtActivity.this.SUCCESS + "#" + MHTManager.getuId() + "#" + MHTManager.getToken() + "#" + MHTManager.getUserToken() + "#" + MHTManager.getChannelName());
|
||||
showLog("登录成功:userId:" + MHTManager.getuId() + "\nsessionId:" + MHTManager.getToken() + "\nuserToken: " + MHTManager.getUserToken() + "\nchannelName:" + MHTManager.getChannelName());
|
||||
} else {
|
||||
UnityPlayer.UnitySendMessage("SDKManager", "LoginCallback", MhtActivity.this.FAILED + "#" + msg);
|
||||
UnityPlayer.UnitySendMessage("SDK.SDKManager", "LoginCallback", MhtActivity.this.FAILED + "#" + msg);
|
||||
showLog("登录失败:" + msg);
|
||||
}
|
||||
}
|
||||
|
@ -54,10 +56,10 @@ public class MhtActivity extends IUnityPlayerActivity {
|
|||
public void onPay(int code, OrderBean callBean) {
|
||||
if (code == GameListener.SUCCESS) {
|
||||
MhtActivity.this.orderId = callBean.getOderId();
|
||||
UnityPlayer.UnitySendMessage("SDKManager", "PayCallback", MhtActivity.this.SUCCESS + "#" + MhtActivity.this.orderId);
|
||||
UnityPlayer.UnitySendMessage("SDK.SDKManager", "PayCallback", MhtActivity.this.SUCCESS + "#" + MhtActivity.this.orderId);
|
||||
showLog("支付成功: orderId=" + MhtActivity.this.orderId);
|
||||
} else {
|
||||
UnityPlayer.UnitySendMessage("SDKManager", "PayCallback", MhtActivity.this.FAILED);
|
||||
UnityPlayer.UnitySendMessage("SDK.SDKManager", "PayCallback", MhtActivity.this.FAILED);
|
||||
showLog("支付失败: " + callBean.getMsg());
|
||||
}
|
||||
}
|
||||
|
@ -65,10 +67,10 @@ public class MhtActivity extends IUnityPlayerActivity {
|
|||
@Override
|
||||
public void onLogout(int code) {
|
||||
if (code == GameListener.SUCCESS) {
|
||||
UnityPlayer.UnitySendMessage("SDKManager", "LogoutCallback", MhtActivity.this.SUCCESS);
|
||||
UnityPlayer.UnitySendMessage("SDK.SDKManager", "LogoutCallback", MhtActivity.this.SUCCESS);
|
||||
showLog("登出成功");
|
||||
} else {
|
||||
UnityPlayer.UnitySendMessage("SDKManager", "LogoutCallback", MhtActivity.this.FAILED);
|
||||
UnityPlayer.UnitySendMessage("SDK.SDKManager", "LogoutCallback", MhtActivity.this.FAILED);
|
||||
showLog("登出失败");
|
||||
}
|
||||
}
|
||||
|
@ -175,7 +177,7 @@ public class MhtActivity extends IUnityPlayerActivity {
|
|||
|
||||
// 初始化sdk
|
||||
public void Init() {
|
||||
|
||||
UnityPlayer.UnitySendMessage("SDK.SDKManager", "InitCallback", isInitSuccess?this.SUCCESS:this.FAILED);
|
||||
}
|
||||
// 调起登录
|
||||
public void Login() {
|
||||
|
@ -299,6 +301,6 @@ public class MhtActivity extends IUnityPlayerActivity {
|
|||
public void SendScreenshotData(byte[] bytes) {}
|
||||
|
||||
private void showLog(String log) {
|
||||
System.out.print(log);
|
||||
Log.d("PSDK", log);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -168,8 +168,10 @@ namespace GameLogic
|
|||
public static int UserId; //用户ID
|
||||
public static int Token; //用户Token
|
||||
|
||||
public static string SdkId; //SDK UId
|
||||
public static string OpenId; //开天SDK UId
|
||||
public static string TokenStr; //开天SDK Token
|
||||
public static string SdkChannel; //SDK UId
|
||||
|
||||
|
||||
public static int Url_JoinRoomID = 0;
|
||||
|
|
|
@ -5,7 +5,7 @@ namespace SDK
|
|||
{
|
||||
public class Proxy : MonoBehaviour
|
||||
{
|
||||
public virtual void Init(SDKInitArgs args) { }
|
||||
public virtual void Init() { }
|
||||
public virtual void Login() { }
|
||||
public virtual void Exit() { }
|
||||
public virtual void SubmitExtraData(SDKSubmitExtraDataArgs args) { }
|
||||
|
|
|
@ -21,9 +21,9 @@ namespace SDK
|
|||
currentActivity = player.GetStatic<AndroidJavaObject>("currentActivity");
|
||||
}
|
||||
|
||||
public override void Init(SDKInitArgs args)
|
||||
public override void Init()
|
||||
{
|
||||
currentActivity.Call("InitLaunch", args.appid, args.appkey, args.privateKey);
|
||||
currentActivity.Call("Init");
|
||||
}
|
||||
|
||||
public override void Login()
|
||||
|
|
|
@ -54,7 +54,8 @@ namespace SDK
|
|||
// bugly
|
||||
BuglyAgent.InitWithAppId(VersionManager.Instance.GetVersionInfo("buglyId"));
|
||||
BuglyAgent.EnableExceptionHandler();
|
||||
//
|
||||
// 初始化
|
||||
Init();
|
||||
IsInit = true;
|
||||
}
|
||||
|
||||
|
@ -109,6 +110,11 @@ namespace SDK
|
|||
/// 相关接口
|
||||
/// </summary>
|
||||
//sdk 登录
|
||||
public void Init()
|
||||
{
|
||||
proxy.Init();
|
||||
}
|
||||
//sdk 登录
|
||||
public void Login()
|
||||
{
|
||||
proxy.Login();
|
||||
|
@ -152,7 +158,7 @@ namespace SDK
|
|||
//sdk init 回调
|
||||
public void InitCallback(string data)
|
||||
{
|
||||
//Debug.Log("Helper : InitCallback - data: " + data);
|
||||
Debug.Log("Helper : InitCallback - data: " + data);
|
||||
proxy.PushMessage(new Message
|
||||
{
|
||||
msgId = MessageDef.MSG_InitCallback,
|
||||
|
@ -162,7 +168,7 @@ namespace SDK
|
|||
//sdk login 回调
|
||||
public void LoginCallback(string data)
|
||||
{
|
||||
//Debug.Log("Helper : LoginCallback - data: " + data);
|
||||
Debug.Log("Helper : LoginCallback - data: " + data);
|
||||
proxy.PushMessage(new Message
|
||||
{
|
||||
msgId = MessageDef.MSG_LoginCallback,
|
||||
|
@ -172,7 +178,7 @@ namespace SDK
|
|||
//sdk Pay回调
|
||||
public void PayCallback(string data)
|
||||
{
|
||||
//Debug.Log("Helper : PayCallback - data: " + data);
|
||||
Debug.Log("Helper : PayCallback - data: " + data);
|
||||
proxy.PushMessage(new Message
|
||||
{
|
||||
msgId = MessageDef.MSG_PayCallback,
|
||||
|
@ -194,7 +200,7 @@ namespace SDK
|
|||
//sdk Logout回调
|
||||
public void LogoutCallback(string data)
|
||||
{
|
||||
//Debug.Log("Helper : PayCallback - data: " + data);
|
||||
Debug.Log("Helper : PayCallback - data: " + data);
|
||||
proxy.PushMessage(new Message
|
||||
{
|
||||
msgId = MessageDef.MSG_LogoutCallback,
|
||||
|
|
|
@ -24,15 +24,15 @@ public class AndroidDeviceInfo
|
|||
|
||||
private AndroidDeviceInfo()
|
||||
{
|
||||
//using (var up = new AndroidJavaClass("com.unity3d.player.UnityPlayer"))
|
||||
//{
|
||||
// context = up.GetStatic<AndroidJavaObject>("currentActivity");
|
||||
using (var up = new AndroidJavaClass("com.unity3d.player.UnityPlayer"))
|
||||
{
|
||||
context = up.GetStatic<AndroidJavaObject>("currentActivity");
|
||||
using (var adi = new AndroidJavaClass("com.bluewhale.androidutils.AndroidDeviceInfo"))
|
||||
{
|
||||
jo = adi.CallStatic<AndroidJavaObject>("instance");
|
||||
jo.Call("Init", context);
|
||||
}
|
||||
//}
|
||||
}
|
||||
}
|
||||
public void DeviceInit()
|
||||
{
|
||||
|
|
|
@ -15,7 +15,7 @@ MonoBehaviour:
|
|||
OneFloderOneBundle:
|
||||
- asset: {fileID: 102900000, guid: f2604dcc0c929f948bb06b5f51a6df14, type: 3}
|
||||
compressType: 2
|
||||
- asset: {fileID: 102900000, guid: 7a18bf804ae55af498bd3019e9981f46, type: 3}
|
||||
- asset: {fileID: 102900000, guid: fdb56f7afa06ced4fac3610431c533e9, type: 3}
|
||||
compressType: 2
|
||||
- asset: {fileID: 102900000, guid: 55477e2105aef8847870051ca544e6bd, type: 3}
|
||||
compressType: 1
|
||||
|
|
|
@ -23,6 +23,12 @@ SDKSubMitType = {
|
|||
TYPE_EXIT_COPY = 7,
|
||||
TYPE_VIP_LEVELUP = 8
|
||||
}
|
||||
|
||||
SDK_RESULT = {
|
||||
FAILED = 0,
|
||||
SUCCESS = 1,
|
||||
}
|
||||
|
||||
SDKCodeResult = {
|
||||
CODE_NO_NETWORK = 0,
|
||||
CODE_INIT_SUCCESS = 1,
|
||||
|
|
|
@ -194,12 +194,15 @@ end
|
|||
|
||||
function this.RefreshLoginStatus(loginResp)
|
||||
local result = string.split(loginResp, "#")
|
||||
if tonumber(result[1]) == SDKCodeResult.CODE_AUTH_TOKEN_SUCCESS then
|
||||
if tonumber(result[1]) == SDK_RESULT.SUCCESS then
|
||||
RequestPanel.Show(Language[11121])
|
||||
this.SetLoginPart(true)
|
||||
AppConst.SdkId = result[2]
|
||||
AppConst.OpenId = result[2]
|
||||
AppConst.TokenStr = result[3]
|
||||
this.SetSDKExtensionParams(result[4])
|
||||
AppConst.SdkChannel = result[5]
|
||||
-- this.SetSDKExtensionParams(result[4])
|
||||
Log(string.format("%sjl_loginserver/getServerList?openId=%s&channel=%s&plat=android&sub_channel=%s", LoginRoot_Url, AppConst.OpenId, LoginRoot_Channel, LoginRoot_SubChannel))
|
||||
networkMgr:SendGetHttp(string.format("%sjl_loginserver/getServerList?openId=%s&channel=%s&plat=android&sub_channel=%s", LoginRoot_Url, AppConst.OpenId, LoginRoot_Channel, LoginRoot_SubChannel),
|
||||
this.OnReceiveServerList, nil, nil, nil)
|
||||
else
|
||||
|
@ -337,7 +340,7 @@ function this.OnReceiveLogin(str)
|
|||
RequestPanel.Hide()
|
||||
if str == nil then
|
||||
return
|
||||
end ;
|
||||
end
|
||||
if str ~= nil and str ~= "" then
|
||||
MyPCall(function()
|
||||
Log(str)
|
||||
|
@ -476,8 +479,8 @@ function this.OnConnect(network)
|
|||
.. "&token=" .. AppConst.TokenStr
|
||||
.. "&platform=" .. 1
|
||||
.. "&sub_channel=" .. LoginRoot_SubChannel
|
||||
.. "&pid=" .. LoginManager.pt_pId
|
||||
.. "&gid=" .. LoginManager.pt_gId
|
||||
.. "&pid=" .. AppConst.SdkChannel --LoginManager.pt_pId
|
||||
.. "&gid=" .. "" --LoginManager.pt_gId
|
||||
.. "&version=" .. LoginRoot_PackageVersion,
|
||||
this.OnReceiveLogin, nil, nil, nil)
|
||||
else
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.bluewhale.jieling"
|
||||
package="com.mht.tcxcsb.project"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:versionName="1"
|
||||
android:versionCode="1"
|
||||
|
@ -18,14 +18,14 @@
|
|||
android:usesCleartextTraffic="true"
|
||||
android:label="@string/app_name"
|
||||
android:isGame="true"
|
||||
android:name="com.ktgame.sj.platform.SJApplication" >
|
||||
android:name="com.lingdong.packsdk.PSDKApplication" >
|
||||
<activity
|
||||
android:label="@string/app_name"
|
||||
android:screenOrientation="portrait"
|
||||
android:screenOrientation="portrait"
|
||||
android:launchMode="singleTask"
|
||||
android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale|layoutDirection|density"
|
||||
android:hardwareAccelerated="false"
|
||||
android:name="com.bluewhale.jieling.MainActivity">
|
||||
android:name="com.mht.tcxcsb.project.MhtActivity">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
|
@ -36,6 +36,14 @@
|
|||
<meta-data android:name="unity.build-id" android:value="43b9b4c5-242c-4c49-8e53-4dda6adbfa5f" />
|
||||
<meta-data android:name="unity.splash-mode" android:value="0" />
|
||||
<meta-data android:name="unity.splash-enable" android:value="True" />
|
||||
|
||||
<meta-data android:name="PSDK_GAME_PROXY_APPLICATION" android:value="com.mht.tcxcsb.project.GameApplication" />
|
||||
<meta-data android:name="channelId" android:value="MHT" />
|
||||
<meta-data android:name="mhtrhappid" android:value="7bb5f604306ccd93fc19f05d3a374e84" />
|
||||
<meta-data android:name="mhtappid" android:value="e4ecefecc8034cffaa69e81b2c044f2c" />
|
||||
<meta-data android:name="channellevel1" android:value="MHT" />
|
||||
<meta-data android:name="channellevel2" android:value="MHT" />
|
||||
|
||||
</application>
|
||||
<uses-feature android:glEsVersion="0x00020000" />
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
|
@ -51,4 +59,6 @@
|
|||
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />
|
||||
<uses-feature android:name="android.hardware.touchscreen.multitouch" android:required="false" />
|
||||
<uses-feature android:name="android.hardware.touchscreen.multitouch.distinct" android:required="false" />
|
||||
<uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" />
|
||||
|
||||
</manifest>
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 0be1bf9375631ba46844b4c823ed8767
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 33d1f3ffe0f0af54d9727b8309ae8b83
|
||||
guid: 94f3688b3ba85eb438bc3b49a07e516e
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
Binary file not shown.
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 6f0d37cbfa6c44666a584b9538d0d94c
|
||||
guid: 54e8b3e4a71e0b348ba94c814b498560
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
@ -9,7 +9,6 @@ PluginImporter:
|
|||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
validateReferences: 1
|
||||
platformData:
|
||||
- first:
|
||||
Android: Android
|
Binary file not shown.
|
@ -0,0 +1,31 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 021954d5c282281409367add7b0c2d09
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
platformData:
|
||||
- first:
|
||||
Android: Android
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
|
@ -0,0 +1,31 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 6df159217486b5f49a7f2c97d8a56c89
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
platformData:
|
||||
- first:
|
||||
Android: Android
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
|
@ -0,0 +1,31 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 258e5ae802a068a4aafddf8fbdeb73ae
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
platformData:
|
||||
- first:
|
||||
Android: Android
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
|
@ -0,0 +1,31 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 0d4296810aa928e48aeb1b35bb2bea67
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
platformData:
|
||||
- first:
|
||||
Android: Android
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
|
@ -0,0 +1,31 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 5fcb144eb700e514c9056d29e302da82
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
platformData:
|
||||
- first:
|
||||
Android: Android
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
|
@ -0,0 +1,31 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 71fe58468f2897a46a289c0feea94390
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
platformData:
|
||||
- first:
|
||||
Android: Android
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
|
@ -0,0 +1,31 @@
|
|||
fileFormatVersion: 2
|
||||
guid: f56fda525b571024184b791400f89056
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
platformData:
|
||||
- first:
|
||||
Android: Android
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
|
@ -0,0 +1,31 @@
|
|||
fileFormatVersion: 2
|
||||
guid: f517d8943695b5347a0c9981de2290f3
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
platformData:
|
||||
- first:
|
||||
Android: Android
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
|
@ -0,0 +1,31 @@
|
|||
fileFormatVersion: 2
|
||||
guid: fb890e02b52d9c642b64208ec645cc2a
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
platformData:
|
||||
- first:
|
||||
Android: Android
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
|
@ -0,0 +1,31 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 8ec2e6954f8ab124bb3f45147ec1117a
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
platformData:
|
||||
- first:
|
||||
Android: Android
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
|
@ -0,0 +1,31 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 74f95625dd07c974f80ab599dc213644
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
platformData:
|
||||
- first:
|
||||
Android: Android
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: ed2fd2f9d85366845bbca8b97147ec36
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
|
@ -0,0 +1,31 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 3f07ce976edf7d44bafd110c9075aa2d
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
platformData:
|
||||
- first:
|
||||
Android: Android
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
|
@ -0,0 +1,31 @@
|
|||
fileFormatVersion: 2
|
||||
guid: af0cbd01b345498488be569913bb5722
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
platformData:
|
||||
- first:
|
||||
Android: Android
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
|
@ -0,0 +1,31 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 5e24a484655653b4b8397294e43589f8
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
platformData:
|
||||
- first:
|
||||
Android: Android
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
|
@ -0,0 +1,31 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 06a7d82ae9694e54e927a62800353dc6
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
platformData:
|
||||
- first:
|
||||
Android: Android
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
|
@ -0,0 +1,31 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 3d17cafc8b8e3dc42be5040dc75cda02
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
platformData:
|
||||
- first:
|
||||
Android: Android
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
|
@ -0,0 +1,31 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 3d884bb8fa926534db84e71f2c28523f
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
platformData:
|
||||
- first:
|
||||
Android: Android
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
|
@ -0,0 +1,31 @@
|
|||
fileFormatVersion: 2
|
||||
guid: bd9957a17b7c32c45a5084ed70a87f62
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
platformData:
|
||||
- first:
|
||||
Android: Android
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: da9b034c95efc634fb4dd840a35f3a4a
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: fd5c20c4334fabd40846ff2f471fbff0
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
|
@ -0,0 +1,31 @@
|
|||
fileFormatVersion: 2
|
||||
guid: dce09eaee168e4848b32c80ba691ba00
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
platformData:
|
||||
- first:
|
||||
Android: Android
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
|
@ -0,0 +1,31 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 4edd45bbd2b717f48b85bd905f2199e5
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
platformData:
|
||||
- first:
|
||||
Android: Android
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,31 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 678eede3747b74e43881abe8ab1a35c5
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
platformData:
|
||||
- first:
|
||||
Android: Android
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,31 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 3918ba19bf303624ca2fb20c75b4bcef
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
platformData:
|
||||
- first:
|
||||
Android: Android
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -54,8 +54,10 @@ public class GameLogic_AppConstWrap
|
|||
L.RegVar("GameVersionFile", get_GameVersionFile, null);
|
||||
L.RegVar("UserId", get_UserId, set_UserId);
|
||||
L.RegVar("Token", get_Token, set_Token);
|
||||
L.RegVar("SdkId", get_SdkId, set_SdkId);
|
||||
L.RegVar("OpenId", get_OpenId, set_OpenId);
|
||||
L.RegVar("TokenStr", get_TokenStr, set_TokenStr);
|
||||
L.RegVar("SdkChannel", get_SdkChannel, set_SdkChannel);
|
||||
L.RegVar("Url_JoinRoomID", get_Url_JoinRoomID, set_Url_JoinRoomID);
|
||||
L.RegConstant("AppID", 129213);
|
||||
L.RegVar("AppKey", get_AppKey, null);
|
||||
|
@ -740,6 +742,20 @@ public class GameLogic_AppConstWrap
|
|||
}
|
||||
}
|
||||
|
||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||
static int get_SdkId(IntPtr L)
|
||||
{
|
||||
try
|
||||
{
|
||||
LuaDLL.lua_pushstring(L, GameLogic.AppConst.SdkId);
|
||||
return 1;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
return LuaDLL.toluaL_exception(L, e);
|
||||
}
|
||||
}
|
||||
|
||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||
static int get_OpenId(IntPtr L)
|
||||
{
|
||||
|
@ -768,6 +784,20 @@ public class GameLogic_AppConstWrap
|
|||
}
|
||||
}
|
||||
|
||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||
static int get_SdkChannel(IntPtr L)
|
||||
{
|
||||
try
|
||||
{
|
||||
LuaDLL.lua_pushstring(L, GameLogic.AppConst.SdkChannel);
|
||||
return 1;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
return LuaDLL.toluaL_exception(L, e);
|
||||
}
|
||||
}
|
||||
|
||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||
static int get_Url_JoinRoomID(IntPtr L)
|
||||
{
|
||||
|
@ -1747,6 +1777,21 @@ public class GameLogic_AppConstWrap
|
|||
}
|
||||
}
|
||||
|
||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||
static int set_SdkId(IntPtr L)
|
||||
{
|
||||
try
|
||||
{
|
||||
string arg0 = ToLua.CheckString(L, 2);
|
||||
GameLogic.AppConst.SdkId = arg0;
|
||||
return 0;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
return LuaDLL.toluaL_exception(L, e);
|
||||
}
|
||||
}
|
||||
|
||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||
static int set_OpenId(IntPtr L)
|
||||
{
|
||||
|
@ -1777,6 +1822,21 @@ public class GameLogic_AppConstWrap
|
|||
}
|
||||
}
|
||||
|
||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||
static int set_SdkChannel(IntPtr L)
|
||||
{
|
||||
try
|
||||
{
|
||||
string arg0 = ToLua.CheckString(L, 2);
|
||||
GameLogic.AppConst.SdkChannel = arg0;
|
||||
return 0;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
return LuaDLL.toluaL_exception(L, e);
|
||||
}
|
||||
}
|
||||
|
||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||
static int set_Url_JoinRoomID(IntPtr L)
|
||||
{
|
||||
|
|
|
@ -8,6 +8,7 @@ public class SDK_SDKManagerWrap
|
|||
{
|
||||
L.BeginClass(typeof(SDK.SDKManager), typeof(GameCore.UnitySingleton<SDK.SDKManager>));
|
||||
L.RegFunction("Initialize", Initialize);
|
||||
L.RegFunction("Init", Init);
|
||||
L.RegFunction("Login", Login);
|
||||
L.RegFunction("SubmitExtraData", SubmitExtraData);
|
||||
L.RegFunction("Pay", Pay);
|
||||
|
@ -52,6 +53,22 @@ public class SDK_SDKManagerWrap
|
|||
}
|
||||
}
|
||||
|
||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||
static int Init(IntPtr L)
|
||||
{
|
||||
try
|
||||
{
|
||||
ToLua.CheckArgsCount(L, 1);
|
||||
SDK.SDKManager obj = (SDK.SDKManager)ToLua.CheckObject<SDK.SDKManager>(L, 1);
|
||||
obj.Init();
|
||||
return 0;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
return LuaDLL.toluaL_exception(L, e);
|
||||
}
|
||||
}
|
||||
|
||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||
static int Login(IntPtr L)
|
||||
{
|
||||
|
|
|
@ -12,8 +12,8 @@ PlayerSettings:
|
|||
targetDevice: 2
|
||||
useOnDemandResources: 0
|
||||
accelerometerFrequency: 60
|
||||
companyName: bluewhale
|
||||
productName: "\u6212\u7075-\u5916\u7F51"
|
||||
companyName: LaJi
|
||||
productName: sdk-test
|
||||
defaultCursor: {fileID: 0}
|
||||
cursorHotspot: {x: 0, y: 0}
|
||||
m_SplashScreenBackgroundColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
|
@ -155,7 +155,7 @@ PlayerSettings:
|
|||
androidSupportedAspectRatio: 1
|
||||
androidMaxAspectRatio: 2.1
|
||||
applicationIdentifier:
|
||||
Android: com.bluewhale.jieling
|
||||
Android: com.mht.tcxcsb.project
|
||||
Standalone: com.doudou.dwc
|
||||
Tizen: com.junfine.luaframework
|
||||
iOS: com.doudou.dwc
|
||||
|
@ -683,7 +683,7 @@ PlayerSettings:
|
|||
platformArchitecture:
|
||||
iOS: 2
|
||||
scriptingBackend:
|
||||
Android: 1
|
||||
Android: 0
|
||||
Metro: 2
|
||||
WP8: 2
|
||||
WebGL: 1
|
||||
|
|
Loading…
Reference in New Issue