.
This commit is contained in:
parent
3a6e7f9a7c
commit
71f4564255
@ -21,7 +21,7 @@ namespace XLua.CSObjectWrap
|
||||
{
|
||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||
System.Type type = typeof(BF.SDKManager);
|
||||
Utils.BeginObjectRegister(type, L, translator, 0, 4, 6, 0);
|
||||
Utils.BeginObjectRegister(type, L, translator, 0, 4, 5, 0);
|
||||
|
||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
|
||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Destroy", _m_Destroy);
|
||||
@ -32,7 +32,6 @@ namespace XLua.CSObjectWrap
|
||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "BFLoginSDKMgr", _g_get_BFLoginSDKMgr);
|
||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "BFPaySDKMgr", _g_get_BFPaySDKMgr);
|
||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "IosPaySDKMgr", _g_get_IosPaySDKMgr);
|
||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "BFIronSourceSDKMgr", _g_get_BFIronSourceSDKMgr);
|
||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "BFNativeSDKMgr", _g_get_BFNativeSDKMgr);
|
||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "BFThirdReportSDKMgr", _g_get_BFThirdReportSDKMgr);
|
||||
|
||||
@ -246,20 +245,6 @@ namespace XLua.CSObjectWrap
|
||||
return 1;
|
||||
}
|
||||
|
||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||
static int _g_get_BFIronSourceSDKMgr(RealStatePtr L)
|
||||
{
|
||||
try {
|
||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||
|
||||
BF.SDKManager gen_to_be_invoked = (BF.SDKManager)translator.FastGetCSObj(L, 1);
|
||||
translator.Push(L, gen_to_be_invoked.BFIronSourceSDKMgr);
|
||||
} catch(System.Exception gen_e) {
|
||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||
static int _g_get_BFNativeSDKMgr(RealStatePtr L)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user