支付参数修改

TCX_dev_zeroFive_online_quick
DESKTOP-RH64908\Administrator 2024-09-12 11:59:32 +08:00
parent 2aa740eb1f
commit 49185ff59c
8 changed files with 3821 additions and 3724 deletions

View File

@ -1 +1 @@
{"Setting":{"LayoutBuilderWrap":{"desc":"", "versionCode":"1", "isActive":"1"}, "ServerVersion":{"desc":"", "value":"0", "versionCode":"1", "isActive":"1"}, "LanguagePackager":{"desc":"", "versionCode":"1", "isActive":"0"}, "INNER_WEB_CONTROL":{"desc":"", "versionCode":"1", "isActive":"1"}, "IS_NO_TALKING":{"desc":"", "versionCode":"1", "isActive":"0"}, "SPRITE_LOADER":{"desc":"", "versionCode":"1", "isActive":"1"}, "PACKAGE_CONFIG":{"desc":"", "value":"ZF", "versionCode":"1", "isActive":"1"}, "IS_NULL":{"desc":"", "versionCode":"5", "isActive":"1"}, "IS_PLAY_VOICE":{"desc":"", "versionCode":"1", "isActive":"1"}, "ThinkAnalysis_GetDeviceID":{"desc":"", "versionCode":"1", "isActive":"1"}, "CURVED_TEXT_CODE":{"desc":"", "versionCode":"1", "isActive":"1"}, "IS_LOAD_STREAMING":{"desc":"", "versionCode":"1", "isActive":"1"}, "IS_SELECT_RESLUTION":{"desc":"", "versionCode":"1", "isActive":"1"}, "NOTICE_CHANNEL":{"desc":"", "value":"40001", "versionCode":"1", "isActive":"1"}, "IS_TITLE_EFFECT_SCALE":{"desc":"", "value":"1", "versionCode":"1", "isActive":"1"}, "IS_SHOW_HEALTH_TIP":{"desc":"", "versionCode":"1", "isActive":"1"}, "PACKAGE_CC_CODE":{"desc":"", "value":"4001", "versionCode":"1", "isActive":"1"}, "UI_Layout_CanvasScaler":{"desc":"", "versionCode":"1", "isActive":"1"}, "IS_PLAY_LOGIN_VIDEO":{"desc":"", "versionCode":"1", "isActive":"0"}, "UPDATE_PANEL_BG":{"desc":"", "value":"loading7", "versionCode":"1", "isActive":"1"}, "USER_PROTO":{"desc":"", "versionCode":"1", "isActive":"1"}}}
{"Setting":{"LayoutBuilderWrap":{"desc":"", "versionCode":"1", "isActive":"1"}, "ServerVersion":{"desc":"", "value":"0", "versionCode":"1", "isActive":"1"}, "LanguagePackager":{"desc":"", "versionCode":"1", "isActive":"0"}, "INNER_WEB_CONTROL":{"desc":"", "versionCode":"1", "isActive":"1"}, "IS_NO_TALKING":{"desc":"", "versionCode":"1", "isActive":"0"}, "SPRITE_LOADER":{"desc":"", "versionCode":"1", "isActive":"1"}, "PACKAGE_CONFIG":{"desc":"", "value":"ZF", "versionCode":"1", "isActive":"1"}, "IS_NULL":{"desc":"", "versionCode":"5", "isActive":"1"}, "IS_PLAY_VOICE":{"desc":"", "versionCode":"1", "isActive":"1"}, "ThinkAnalysis_GetDeviceID":{"desc":"", "versionCode":"1", "isActive":"1"}, "CURVED_TEXT_CODE":{"desc":"", "versionCode":"1", "isActive":"1"}, "IS_LOAD_STREAMING":{"desc":"", "versionCode":"1", "isActive":"1"}, "IS_SELECT_RESLUTION":{"desc":"", "versionCode":"1", "isActive":"1"}, "NOTICE_CHANNEL":{"desc":"", "value":"40001", "versionCode":"1", "isActive":"1"}, "IS_TITLE_EFFECT_SCALE":{"desc":"", "value":"1", "versionCode":"1", "isActive":"1"}, "IS_SHOW_HEALTH_TIP":{"desc":"", "versionCode":"1", "isActive":"1"}, "PACKAGE_CC_CODE":{"desc":"", "value":"4001", "versionCode":"1", "isActive":"1"}, "UI_Layout_CanvasScaler":{"desc":"", "versionCode":"1", "isActive":"1"}, "IS_PLAY_LOGIN_VIDEO":{"desc":"", "versionCode":"1", "isActive":"0"}, "UPDATE_PANEL_BG":{"desc":"", "value":"loading7", "versionCode":"1", "isActive":"1"}, "USER_PROTO":{"desc":"", "versionCode":"1", "isActive":"0"}}}

File diff suppressed because it is too large Load Diff

View File

@ -271,13 +271,13 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
settingInfo:
logLevel: 6
isDebug: 0
logLevel: 0
isDebug: 1
bundleMode: 1
luaBundleMode: 1
isUpdate: 1
isSDK: 1
isSDKLogin: 1
isSDK: 0
isSDKLogin: 0
isGuide: 1
isOpenGM: 0
--- !u!1 &1950541034

View File

@ -178,14 +178,16 @@ function this.RequestPay(context)
params.serverID = PlayerManager.serverInfo.server_id
params.serverName = PlayerManager.serverInfo.name
-- 角色相关
params.roleID = tostring(PlayerManager.uid).."_"..tostring(context.Id).."_"..PackageManager.GetCCCode().."_"..AppConst.Platform--.."_"..tostring(context.orderId or "0").."_"..tostring(LoginManager.ServerId)
--params.roleID = tostring(PlayerManager.uid).."_"..tostring(context.Id).."_"..PackageManager.GetCCCode().."_"..AppConst.Platform--.."_"..tostring(context.orderId or "0").."_"..tostring(LoginManager.ServerId)
params.roleID = PlayerManager.uid
params.roleName = PlayerManager.nickName
params.roleLevel = PlayerManager.level
params.vip = tostring(VipManager.GetVipLevel())
params.guildID = PlayerManager.familyId
-- 其他
params.payNotifyUrl = ""
params.extension = tostring(PlayerManager.uid).."_"..tostring(context.Id).."_"..PackageManager.GetCCCode().."_"..AppConst.Platform--.."_"..tostring(context.orderId or "0").."_"..tostring(LoginManager.ServerId)
--params.extension = tostring(PlayerManager.uid).."_"..tostring(context.Id).."_"..PackageManager.GetCCCode().."_"..AppConst.Platform--.."_"..tostring(context.orderId or "0").."_"..tostring(LoginManager.ServerId)
params.extension = context.ex
SDKMgr:Pay(params)
--

View File

@ -30,6 +30,7 @@ public class GameLogic_AppConstWrap
L.RegVar("Channel_ID", get_Channel_ID, set_Channel_ID);
L.RegVar("PIXELTOWORLD", get_PIXELTOWORLD, set_PIXELTOWORLD);
L.RegVar("EncyptBytesLength", get_EncyptBytesLength, set_EncyptBytesLength);
L.RegVar("EncyptKey", get_EncyptKey, set_EncyptKey);
L.RegVar("DOWNLOAD_URL_FORMAT", get_DOWNLOAD_URL_FORMAT, null);
L.RegVar("Platform", get_Platform, set_Platform);
L.RegVar("FilePathEx", get_FilePathEx, set_FilePathEx);
@ -410,6 +411,20 @@ public class GameLogic_AppConstWrap
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int get_EncyptKey(IntPtr L)
{
try
{
LuaDLL.lua_pushstring(L, GameLogic.AppConst.EncyptKey);
return 1;
}
catch (Exception e)
{
return LuaDLL.toluaL_exception(L, e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int get_DOWNLOAD_URL_FORMAT(IntPtr L)
{
@ -1522,6 +1537,21 @@ public class GameLogic_AppConstWrap
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int set_EncyptKey(IntPtr L)
{
try
{
string arg0 = ToLua.CheckString(L, 2);
GameLogic.AppConst.EncyptKey = arg0;
return 0;
}
catch (Exception e)
{
return LuaDLL.toluaL_exception(L, e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int set_Platform(IntPtr L)
{

View File

@ -11,6 +11,8 @@ public class GameLogic_ConfigManagerWrap
L.RegFunction("SetNetInfo", SetNetInfo);
L.RegFunction("GetConfigInfo", GetConfigInfo);
L.RegFunction("GetConfigNetInfo", GetConfigNetInfo);
L.RegFunction("IsSettingActive", IsSettingActive);
L.RegFunction("GetSettingValue", GetSettingValue);
L.RegFunction("New", _CreateGameLogic_ConfigManager);
L.RegFunction("__tostring", ToLua.op_ToString);
L.EndClass();
@ -109,5 +111,41 @@ public class GameLogic_ConfigManagerWrap
return LuaDLL.toluaL_exception(L, e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int IsSettingActive(IntPtr L)
{
try
{
ToLua.CheckArgsCount(L, 2);
GameLogic.ConfigManager obj = (GameLogic.ConfigManager)ToLua.CheckObject<GameLogic.ConfigManager>(L, 1);
string arg0 = ToLua.CheckString(L, 2);
bool o = obj.IsSettingActive(arg0);
LuaDLL.lua_pushboolean(L, o);
return 1;
}
catch (Exception e)
{
return LuaDLL.toluaL_exception(L, e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int GetSettingValue(IntPtr L)
{
try
{
ToLua.CheckArgsCount(L, 2);
GameLogic.ConfigManager obj = (GameLogic.ConfigManager)ToLua.CheckObject<GameLogic.ConfigManager>(L, 1);
string arg0 = ToLua.CheckString(L, 2);
string o = obj.GetSettingValue(arg0);
LuaDLL.lua_pushstring(L, o);
return 1;
}
catch (Exception e)
{
return LuaDLL.toluaL_exception(L, e);
}
}
}

View File

@ -14,6 +14,7 @@ public class GameLogic_NetworkManagerWrap
L.RegFunction("SendGetHttp", SendGetHttp);
L.RegFunction("SendHttpPost_Raw_Lua", SendHttpPost_Raw_Lua);
L.RegFunction("SendHttpPost_Json_Lua", SendHttpPost_Json_Lua);
L.RegFunction("PostData", PostData);
L.RegFunction("SendHttpPost_Raw_CSharp", SendHttpPost_Raw_CSharp);
L.RegFunction("SendHttpPost_Json_CSharp", SendHttpPost_Json_CSharp);
L.RegFunction("HttpPost_Co", HttpPost_Co);
@ -150,6 +151,29 @@ public class GameLogic_NetworkManagerWrap
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int PostData(IntPtr L)
{
try
{
ToLua.CheckArgsCount(L, 7);
GameLogic.NetworkManager obj = (GameLogic.NetworkManager)ToLua.CheckObject<GameLogic.NetworkManager>(L, 1);
string arg0 = ToLua.CheckString(L, 2);
string arg1 = ToLua.CheckString(L, 3);
LuaFunction arg2 = ToLua.CheckLuaFunction(L, 4);
System.Action<string> arg3 = (System.Action<string>)ToLua.CheckDelegate<System.Action<string>>(L, 5);
System.Action arg4 = (System.Action)ToLua.CheckDelegate<System.Action>(L, 6);
LuaFunction arg5 = ToLua.CheckLuaFunction(L, 7);
System.Collections.IEnumerator o = obj.PostData(arg0, arg1, arg2, arg3, arg4, arg5);
ToLua.Push(L, o);
return 1;
}
catch (Exception e)
{
return LuaDLL.toluaL_exception(L, e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int SendHttpPost_Raw_CSharp(IntPtr L)
{

View File

@ -49,7 +49,6 @@ GraphicsSettings:
- {fileID: 4800000, guid: ec3c686f972ccf5459c2b55555e6635f, type: 3}
- {fileID: 4800000, guid: 1e8a610c9e01c3648bac42585e5fc676, type: 3}
- {fileID: 4800000, guid: aff17b5cbff7eb8428003c7f5adcb0f1, type: 3}
- {fileID: 16002, guid: 0000000000000000f000000000000000, type: 0}
m_PreloadedShaders: []
m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000,
type: 0}