少年修仙传客户端基础资源
client_Wu Xijin
2018-10-31 9c06e81ada7a465a787d021f7cc0d2fdd3d62f1c
4340 【前端】支持xlua方便IOS提审
3个文件已修改
13个文件已添加
77 ■■■■■ 已修改文件
Assets/TestMonobehaviour.cs 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/XLua/Gen/DelegatesGensBridge.cs 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/XLua/Gen/Resources.meta 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/XLua/Gen/Resources/hotfix_id_map.lua.txt 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/XLua/Gen/Resources/hotfix_id_map.lua.txt.20181031161527040 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/XLua/Gen/Resources/hotfix_id_map.lua.txt.20181031161527040.meta 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/XLua/Gen/Resources/hotfix_id_map.lua.txt.meta 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ProjectSettings/ProjectSettings.asset 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Tools/Mono.Cecil.Mdb.dll 补丁 | 查看 | 原始文档 | blame | 历史
Tools/Mono.Cecil.Pdb.dll 补丁 | 查看 | 原始文档 | blame | 历史
Tools/Mono.Cecil.dll 补丁 | 查看 | 原始文档 | blame | 历史
Tools/Mono.Security.dll 补丁 | 查看 | 原始文档 | blame | 历史
Tools/System.Core.dll 补丁 | 查看 | 原始文档 | blame | 历史
Tools/System.Core.dll.mdb 补丁 | 查看 | 原始文档 | blame | 历史
Tools/System.dll 补丁 | 查看 | 原始文档 | blame | 历史
Tools/System.dll.mdb 补丁 | 查看 | 原始文档 | blame | 历史
Assets/TestMonobehaviour.cs
@@ -3,6 +3,7 @@
using UnityEngine;
using Snxxz.UI;
[XLua.Hotfix]
public class TestMonobehaviour : MonoBehaviour
{
@@ -26,5 +27,26 @@
        }
    }
    private void OnEnable()
    {
        Debug.Log("this is C# OnEnable !");
    }
    private void OnDisable()
    {
        Debug.Log("this is C# OnDisable !");
    }
    private void LateUpdate()
    {
        Debug.Log("this is C# LateUpdate !");
    }
    void OnGUI()
    {
        if (GUI.Button(new Rect(10, 10, 300, 80), "Hotfix"))
        {
            LuaUtility.DoString("example.hotfix");
        }
    }
}
Assets/XLua/Gen/DelegatesGensBridge.cs
@@ -171,6 +171,28 @@
#endif
        }
        
        public void __Gen_Delegate_Imp7(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
            {
#endif
                RealStatePtr L = luaEnv.rawL;
                int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
                ObjectTranslator translator = luaEnv.translator;
                translator.PushAny(L, p0);
                PCall(L, 1, 0, errFunc);
                LuaAPI.lua_settop(L, errFunc - 1);
#if THREAD_SAFE || HOTFIX_ENABLE
            }
#endif
        }
        
        static DelegateBridge()
        {
Assets/XLua/Gen/Resources.meta
New file
@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: a53e74ac74dde5647a53af93319b2fcb
folderAsset: yes
timeCreated: 1540973730
licenseType: Pro
DefaultImporter:
  userData:
  assetBundleName:
  assetBundleVariant:
Assets/XLua/Gen/Resources/hotfix_id_map.lua.txt
New file
@@ -0,0 +1,2 @@
return {
}
Assets/XLua/Gen/Resources/hotfix_id_map.lua.txt.20181031161527040
New file
@@ -0,0 +1,2 @@
return {
}
Assets/XLua/Gen/Resources/hotfix_id_map.lua.txt.20181031161527040.meta
New file
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 279e5380f475b734f9cda9492678c8b5
timeCreated: 1540973730
licenseType: Pro
DefaultImporter:
  userData:
  assetBundleName:
  assetBundleVariant:
Assets/XLua/Gen/Resources/hotfix_id_map.lua.txt.meta
New file
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 281130e4a76f16646939f2be97180afc
timeCreated: 1540973730
licenseType: Pro
TextScriptImporter:
  userData:
  assetBundleName:
  assetBundleVariant:
ProjectSettings/ProjectSettings.asset
@@ -652,7 +652,9 @@
  webGLUseEmbeddedResources: 0
  webGLUseWasm: 0
  webGLCompressionFormat: 1
  scriptingDefineSymbols: {}
  scriptingDefineSymbols:
    1: HOTFIX_ENABLE
    7: HOTFIX_ENABLE
  platformArchitecture:
    iOS: 1
  scriptingBackend:
Tools/Mono.Cecil.Mdb.dll
Binary files differ
Tools/Mono.Cecil.Pdb.dll
Binary files differ
Tools/Mono.Cecil.dll
Binary files differ
Tools/Mono.Security.dll
Binary files differ
Tools/System.Core.dll
Binary files differ
Tools/System.Core.dll.mdb
Binary files differ
Tools/System.dll
Binary files differ
Tools/System.dll.mdb
Binary files differ