Showing preview only (9,838K chars total). Download the full file or copy to clipboard to get everything.
Repository: LingJiJian/uLui
Branch: master
Commit: 92b0b3f492e6
Files: 974
Total size: 9.2 MB
Directory structure:
gitextract_b1oub49q/
├── .gitignore
├── Assembly-CSharp-Editor.csproj
├── Assembly-CSharp-firstpass.csproj
├── Assets/
│ ├── Game/
│ │ ├── @Lua/
│ │ │ ├── Base/
│ │ │ │ ├── LClass.lua
│ │ │ │ ├── LClass.lua.meta
│ │ │ │ ├── LGlobal.lua
│ │ │ │ ├── LGlobal.lua.meta
│ │ │ │ ├── LMessage.lua
│ │ │ │ ├── LMessage.lua.meta
│ │ │ │ ├── LVersion.lua
│ │ │ │ └── LVersion.lua.meta
│ │ │ ├── Base.meta
│ │ │ ├── Game/
│ │ │ │ ├── Common/
│ │ │ │ │ ├── EventNames.lua
│ │ │ │ │ ├── EventNames.lua.meta
│ │ │ │ │ ├── MsgId.lua
│ │ │ │ │ ├── MsgId.lua.meta
│ │ │ │ │ ├── NetworkManager.lua
│ │ │ │ │ ├── NetworkManager.lua.meta
│ │ │ │ │ ├── Util.lua
│ │ │ │ │ ├── Util.lua.meta
│ │ │ │ │ ├── i18n.lua
│ │ │ │ │ └── i18n.lua.meta
│ │ │ │ ├── Common.meta
│ │ │ │ ├── MsgBox.lua
│ │ │ │ ├── MsgBox.lua.meta
│ │ │ │ ├── Proto/
│ │ │ │ │ ├── masterd.bytes
│ │ │ │ │ └── masterd.bytes.meta
│ │ │ │ └── Proto.meta
│ │ │ ├── Game.meta
│ │ │ ├── Lib/
│ │ │ │ ├── protobuf/
│ │ │ │ │ ├── parser.lua
│ │ │ │ │ ├── parser.lua.meta
│ │ │ │ │ ├── protobuf.lua
│ │ │ │ │ └── protobuf.lua.meta
│ │ │ │ └── protobuf.meta
│ │ │ ├── Lib.meta
│ │ │ ├── import.lua
│ │ │ ├── import.lua.meta
│ │ │ ├── main.lua
│ │ │ └── main.lua.meta
│ │ ├── @Lua.meta
│ │ ├── Editor/
│ │ │ ├── AssetBundleMaker/
│ │ │ │ ├── ExportAssetBundles.cs
│ │ │ │ ├── ExportAssetBundles.cs.meta
│ │ │ │ ├── ExportConfigWindow.cs
│ │ │ │ └── ExportConfigWindow.cs.meta
│ │ │ ├── AssetBundleMaker.meta
│ │ │ ├── BmfontMaker/
│ │ │ │ ├── BMFont.cs
│ │ │ │ ├── BMFont.cs.meta
│ │ │ │ ├── BMFontReader.cs
│ │ │ │ ├── BMFontReader.cs.meta
│ │ │ │ ├── BMGlyph.cs
│ │ │ │ ├── BMGlyph.cs.meta
│ │ │ │ ├── BmBetterList.cs
│ │ │ │ ├── BmBetterList.cs.meta
│ │ │ │ ├── BmByteReader.cs
│ │ │ │ ├── BmByteReader.cs.meta
│ │ │ │ ├── BmFontEditor.cs
│ │ │ │ └── BmFontEditor.cs.meta
│ │ │ ├── BmfontMaker.meta
│ │ │ ├── Helper.cs
│ │ │ ├── Helper.cs.meta
│ │ │ ├── I18nExporter/
│ │ │ │ ├── I18nExporter.cs
│ │ │ │ └── I18nExporter.cs.meta
│ │ │ ├── I18nExporter.meta
│ │ │ ├── MakeDebugFile.cs
│ │ │ ├── MakeDebugFile.cs.meta
│ │ │ ├── TexturePackerImporter/
│ │ │ │ ├── SettingsTexturePackerImporter.txt
│ │ │ │ ├── SettingsTexturePackerImporter.txt.meta
│ │ │ │ ├── TexturePackerImporter.cs
│ │ │ │ └── TexturePackerImporter.cs.meta
│ │ │ └── TexturePackerImporter.meta
│ │ ├── Editor.meta
│ │ ├── Images/
│ │ │ ├── common/
│ │ │ │ ├── ctlv_bg.png.meta
│ │ │ │ ├── ctlv_joy.png.meta
│ │ │ │ ├── img_cat.png.meta
│ │ │ │ └── progress_bar.jpg.meta
│ │ │ ├── common.meta
│ │ │ ├── face/
│ │ │ │ ├── 0101.png.meta
│ │ │ │ ├── 0102.png.meta
│ │ │ │ ├── 0103.png.meta
│ │ │ │ ├── 0201.png.meta
│ │ │ │ ├── 0202.png.meta
│ │ │ │ └── 0203.png.meta
│ │ │ ├── face.meta
│ │ │ ├── num/
│ │ │ │ ├── +.png.meta
│ │ │ │ ├── -.png.meta
│ │ │ │ ├── 0.png.meta
│ │ │ │ ├── 1.png.meta
│ │ │ │ ├── 2.png.meta
│ │ │ │ ├── 3.png.meta
│ │ │ │ ├── 4.png.meta
│ │ │ │ ├── 5.png.meta
│ │ │ │ ├── 6.png.meta
│ │ │ │ ├── 7.png.meta
│ │ │ │ ├── 8.png.meta
│ │ │ │ └── 9.png.meta
│ │ │ └── num.meta
│ │ ├── Images.meta
│ │ ├── Models/
│ │ │ ├── CubeMap.mat
│ │ │ ├── CubeMap.mat.meta
│ │ │ ├── CubeMap.shader
│ │ │ ├── CubeMap.shader.meta
│ │ │ ├── Teddy/
│ │ │ │ ├── Materials/
│ │ │ │ │ ├── TeddyBear_color.mat
│ │ │ │ │ ├── TeddyBear_color.mat.meta
│ │ │ │ │ ├── TeddyBear_color.tga
│ │ │ │ │ ├── TeddyBear_color.tga.meta
│ │ │ │ │ ├── Teddy_DIF.mat
│ │ │ │ │ ├── Teddy_DIF.mat.meta
│ │ │ │ │ ├── Teddy_DIF.psd
│ │ │ │ │ ├── Teddy_DIF.psd.meta
│ │ │ │ │ ├── Teddy_Eye.mat
│ │ │ │ │ ├── Teddy_Eye.mat.meta
│ │ │ │ │ ├── Teddy_Eye.psd
│ │ │ │ │ └── Teddy_Eye.psd.meta
│ │ │ │ ├── Materials.meta
│ │ │ │ ├── Teddy.controller
│ │ │ │ ├── Teddy.controller.meta
│ │ │ │ ├── Teddy.fbx
│ │ │ │ ├── Teddy.fbx.meta
│ │ │ │ ├── TeddyBear.fbx
│ │ │ │ └── TeddyBear.fbx.meta
│ │ │ ├── Teddy.meta
│ │ │ └── cubemap.jpg.meta
│ │ ├── Models.meta
│ │ ├── Resources/
│ │ │ ├── Atlas/
│ │ │ │ ├── common.png.meta
│ │ │ │ ├── face.png.meta
│ │ │ │ └── num.png.meta
│ │ │ ├── Atlas.meta
│ │ │ ├── Audios/
│ │ │ │ ├── dungeon01.mp3.meta
│ │ │ │ ├── dungeon02.mp3.meta
│ │ │ │ ├── effect2.mp3.meta
│ │ │ │ ├── effect_bombPattern.mp3.meta
│ │ │ │ ├── effect_buttonClick.mp3.meta
│ │ │ │ ├── effect_clearPattern.mp3.meta
│ │ │ │ ├── effect_game_fail.mp3.meta
│ │ │ │ ├── effect_game_pass.mp3.meta
│ │ │ │ ├── effect_ice.mp3.meta
│ │ │ │ ├── effect_noclear.mp3.meta
│ │ │ │ ├── effect_timewarning.mp3.meta
│ │ │ │ ├── effect_unswap.mp3.meta
│ │ │ │ ├── endgame.mp3.meta
│ │ │ │ ├── enemy1_down 1.mp3.meta
│ │ │ │ ├── enemy1_down.mp3.meta
│ │ │ │ ├── enemy2_down 1.mp3.meta
│ │ │ │ ├── enemy2_down.mp3.meta
│ │ │ │ ├── enemy2_out 1.mp3.meta
│ │ │ │ ├── enemy2_out.mp3.meta
│ │ │ │ ├── enemy3_down 1.mp3.meta
│ │ │ │ └── enemy3_down.mp3.meta
│ │ │ ├── Audios.meta
│ │ │ ├── Prefabs/
│ │ │ │ ├── MsgBox.prefab
│ │ │ │ ├── MsgBox.prefab.meta
│ │ │ │ ├── Teddy.prefab
│ │ │ │ ├── Teddy.prefab.meta
│ │ │ │ ├── WindowGridView.prefab
│ │ │ │ ├── WindowGridView.prefab.meta
│ │ │ │ ├── grid_cell.prefab
│ │ │ │ ├── grid_cell.prefab.meta
│ │ │ │ ├── list_cell.prefab
│ │ │ │ ├── list_cell.prefab.meta
│ │ │ │ ├── page_cell.prefab
│ │ │ │ ├── page_cell.prefab.meta
│ │ │ │ ├── scorl_test.prefab
│ │ │ │ ├── scorl_test.prefab.meta
│ │ │ │ ├── tbl_test.prefab
│ │ │ │ └── tbl_test.prefab.meta
│ │ │ ├── Prefabs.meta
│ │ │ ├── Scenes/
│ │ │ │ ├── first.unity
│ │ │ │ ├── first.unity.meta
│ │ │ │ ├── second.unity
│ │ │ │ ├── second.unity.meta
│ │ │ │ ├── start.unity
│ │ │ │ └── start.unity.meta
│ │ │ ├── Scenes.meta
│ │ │ ├── Scripts/
│ │ │ │ ├── Demo/
│ │ │ │ │ ├── Firstui.cs
│ │ │ │ │ ├── Firstui.cs.meta
│ │ │ │ │ ├── Secondui.cs
│ │ │ │ │ ├── Secondui.cs.meta
│ │ │ │ │ ├── WindowGridView.cs
│ │ │ │ │ └── WindowGridView.cs.meta
│ │ │ │ ├── Demo.meta
│ │ │ │ ├── LBase/
│ │ │ │ │ ├── Game.cs
│ │ │ │ │ ├── Game.cs.meta
│ │ │ │ │ ├── LArchiveBin.cs
│ │ │ │ │ ├── LArchiveBin.cs.meta
│ │ │ │ │ ├── LArchiveBinFile.cs
│ │ │ │ │ ├── LArchiveBinFile.cs.meta
│ │ │ │ │ ├── LGameConfig.cs
│ │ │ │ │ ├── LGameConfig.cs.meta
│ │ │ │ │ ├── LLoadBundle.cs
│ │ │ │ │ ├── LLoadBundle.cs.meta
│ │ │ │ │ ├── LLuaBehaviourBase.cs
│ │ │ │ │ ├── LLuaBehaviourBase.cs.meta
│ │ │ │ │ ├── LLuaBehaviourInterface.cs
│ │ │ │ │ ├── LLuaBehaviourInterface.cs.meta
│ │ │ │ │ ├── LLuaTable.cs
│ │ │ │ │ ├── LLuaTable.cs.meta
│ │ │ │ │ ├── LResUpdate.cs
│ │ │ │ │ ├── LResUpdate.cs.meta
│ │ │ │ │ ├── LUtil.cs
│ │ │ │ │ └── LUtil.cs.meta
│ │ │ │ ├── LBase.meta
│ │ │ │ ├── LWidget/
│ │ │ │ │ ├── LButton.cs
│ │ │ │ │ ├── LButton.cs.meta
│ │ │ │ │ ├── LControlView.cs
│ │ │ │ │ ├── LControlView.cs.meta
│ │ │ │ │ ├── LDragView.cs
│ │ │ │ │ ├── LDragView.cs.meta
│ │ │ │ │ ├── LExpandListView.cs
│ │ │ │ │ ├── LExpandListView.cs.meta
│ │ │ │ │ ├── LExpandNode.cs
│ │ │ │ │ ├── LExpandNode.cs.meta
│ │ │ │ │ ├── LFPSView.cs
│ │ │ │ │ ├── LFPSView.cs.meta
│ │ │ │ │ ├── LGridPageView.cs
│ │ │ │ │ ├── LGridPageView.cs.meta
│ │ │ │ │ ├── LGridView.cs
│ │ │ │ │ ├── LGridView.cs.meta
│ │ │ │ │ ├── LHUDSort.cs
│ │ │ │ │ ├── LHUDSort.cs.meta
│ │ │ │ │ ├── LHUDView.cs
│ │ │ │ │ ├── LHUDView.cs.meta
│ │ │ │ │ ├── LInputfield.cs
│ │ │ │ │ ├── LInputfield.cs.meta
│ │ │ │ │ ├── LLabelAtlas.cs
│ │ │ │ │ ├── LLabelAtlas.cs.meta
│ │ │ │ │ ├── LListView.cs
│ │ │ │ │ ├── LListView.cs.meta
│ │ │ │ │ ├── LMacros.cs
│ │ │ │ │ ├── LMacros.cs.meta
│ │ │ │ │ ├── LMovieClip.cs
│ │ │ │ │ ├── LMovieClip.cs.meta
│ │ │ │ │ ├── LPageView.cs
│ │ │ │ │ ├── LPageView.cs.meta
│ │ │ │ │ ├── LPickMark.cs
│ │ │ │ │ ├── LPickMark.cs.meta
│ │ │ │ │ ├── LProgress.cs
│ │ │ │ │ ├── LProgress.cs.meta
│ │ │ │ │ ├── LRichText.cs
│ │ │ │ │ ├── LRichText.cs.meta
│ │ │ │ │ ├── LScrollView.cs
│ │ │ │ │ ├── LScrollView.cs.meta
│ │ │ │ │ ├── LSlider.cs
│ │ │ │ │ ├── LSlider.cs.meta
│ │ │ │ │ ├── LSwitch.cs
│ │ │ │ │ ├── LSwitch.cs.meta
│ │ │ │ │ ├── LTableView.cs
│ │ │ │ │ ├── LTableView.cs.meta
│ │ │ │ │ ├── LTouchView.cs
│ │ │ │ │ ├── LTouchView.cs.meta
│ │ │ │ │ ├── LogCollect.cs
│ │ │ │ │ └── LogCollect.cs.meta
│ │ │ │ ├── LWidget.meta
│ │ │ │ ├── LWindow/
│ │ │ │ │ ├── LWindowBase.cs
│ │ │ │ │ ├── LWindowBase.cs.meta
│ │ │ │ │ ├── LWindowManager.cs
│ │ │ │ │ └── LWindowManager.cs.meta
│ │ │ │ ├── LWindow.meta
│ │ │ │ ├── Net/
│ │ │ │ │ ├── Network.cs
│ │ │ │ │ ├── Network.cs.meta
│ │ │ │ │ ├── NetworkInterface.cs
│ │ │ │ │ ├── NetworkInterface.cs.meta
│ │ │ │ │ ├── Reactor.cs
│ │ │ │ │ ├── Reactor.cs.meta
│ │ │ │ │ ├── ServerProxy.cs
│ │ │ │ │ ├── ServerProxy.cs.meta
│ │ │ │ │ ├── TCPClientWorker.cs
│ │ │ │ │ └── TCPClientWorker.cs.meta
│ │ │ │ └── Net.meta
│ │ │ ├── Scripts.meta
│ │ │ ├── config.txt
│ │ │ └── config.txt.meta
│ │ └── Resources.meta
│ ├── Game.meta
│ ├── Plugins/
│ │ ├── Android/
│ │ │ ├── libs/
│ │ │ │ ├── armeabi-v7a/
│ │ │ │ │ └── libslua.so.meta
│ │ │ │ ├── armeabi-v7a.meta
│ │ │ │ ├── x86/
│ │ │ │ │ └── libslua.so.meta
│ │ │ │ └── x86.meta
│ │ │ └── libs.meta
│ │ ├── Android.meta
│ │ ├── ILeanTween.cs
│ │ ├── ILeanTween.cs.meta
│ │ ├── LTDescr.cs
│ │ ├── LTDescr.cs.meta
│ │ ├── LeanAudio.cs
│ │ ├── LeanAudio.cs.meta
│ │ ├── LeanTween.cs
│ │ ├── LeanTween.cs.meta
│ │ ├── Slua_Managed/
│ │ │ ├── ByteArray.cs
│ │ │ ├── ByteArray.cs.meta
│ │ │ ├── Coroutine.cs
│ │ │ ├── Coroutine.cs.meta
│ │ │ ├── Helper.cs
│ │ │ ├── Helper.cs.meta
│ │ │ ├── Logger.cs
│ │ │ ├── Logger.cs.meta
│ │ │ ├── Lua3rdDLL.cs
│ │ │ ├── Lua3rdDLL.cs.meta
│ │ │ ├── Lua3rdMeta.cs
│ │ │ ├── Lua3rdMeta.cs.meta
│ │ │ ├── LuaArray.cs
│ │ │ ├── LuaArray.cs.meta
│ │ │ ├── LuaByteArray.cs
│ │ │ ├── LuaByteArray.cs.meta
│ │ │ ├── LuaDLL.cs
│ │ │ ├── LuaDLL.cs.meta
│ │ │ ├── LuaDLLWrapper.cs
│ │ │ ├── LuaDLLWrapper.cs.meta
│ │ │ ├── LuaObject.cs
│ │ │ ├── LuaObject.cs.meta
│ │ │ ├── LuaObject_basetype.cs
│ │ │ ├── LuaObject_basetype.cs.meta
│ │ │ ├── LuaObject_overload.cs
│ │ │ ├── LuaObject_overload.cs.meta
│ │ │ ├── LuaState.cs
│ │ │ ├── LuaState.cs.meta
│ │ │ ├── LuaSvr.cs
│ │ │ ├── LuaSvr.cs.meta
│ │ │ ├── LuaSvrGameObject.cs
│ │ │ ├── LuaSvrGameObject.cs.meta
│ │ │ ├── LuaValueType.cs
│ │ │ ├── LuaValueType.cs.meta
│ │ │ ├── LuaVarObject.cs
│ │ │ ├── LuaVarObject.cs.meta
│ │ │ ├── ObjectCache.cs
│ │ │ ├── ObjectCache.cs.meta
│ │ │ ├── SLuaSetting.cs
│ │ │ ├── SLuaSetting.cs.meta
│ │ │ ├── Timer.cs
│ │ │ ├── Timer.cs.meta
│ │ │ ├── WeakDictionary.cs
│ │ │ └── WeakDictionary.cs.meta
│ │ ├── Slua_Managed.meta
│ │ ├── iOS/
│ │ │ ├── libslua.a
│ │ │ └── libslua.a.meta
│ │ ├── iOS.meta
│ │ ├── slua.bundle/
│ │ │ ├── Contents/
│ │ │ │ ├── Info.plist
│ │ │ │ ├── Info.plist.meta
│ │ │ │ ├── MacOS/
│ │ │ │ │ ├── slua
│ │ │ │ │ └── slua.meta
│ │ │ │ └── MacOS.meta
│ │ │ └── Contents.meta
│ │ ├── slua.bundle.meta
│ │ ├── x64/
│ │ │ ├── slua.dll.meta
│ │ │ └── slua.so.meta
│ │ ├── x64.meta
│ │ ├── x86/
│ │ │ ├── slua.dll.meta
│ │ │ └── slua.so.meta
│ │ └── x86.meta
│ ├── Plugins.meta
│ ├── README
│ ├── README.meta
│ ├── Slua/
│ │ ├── Editor/
│ │ │ ├── CustomEditor.cs
│ │ │ ├── CustomEditor.cs.meta
│ │ │ ├── CustomExport.cs
│ │ │ ├── CustomExport.cs.meta
│ │ │ ├── LuaCodeGen.cs
│ │ │ └── LuaCodeGen.cs.meta
│ │ ├── Editor.meta
│ │ ├── LuaObject.meta
│ │ ├── Resources/
│ │ │ ├── Particle System.prefab
│ │ │ ├── Particle System.prefab.meta
│ │ │ ├── circle/
│ │ │ │ ├── circle.txt
│ │ │ │ └── circle.txt.meta
│ │ │ ├── circle.meta
│ │ │ ├── custom.txt
│ │ │ ├── custom.txt.meta
│ │ │ ├── delegate.txt
│ │ │ ├── delegate.txt.meta
│ │ │ ├── lua3rdmeta.asset
│ │ │ ├── lua3rdmeta.asset.meta
│ │ │ ├── main.txt
│ │ │ ├── main.txt.meta
│ │ │ ├── module/
│ │ │ │ ├── some.txt
│ │ │ │ └── some.txt.meta
│ │ │ ├── module.meta
│ │ │ ├── new_coroutine.txt
│ │ │ ├── new_coroutine.txt.meta
│ │ │ ├── perf.txt
│ │ │ ├── perf.txt.meta
│ │ │ ├── setting.asset
│ │ │ ├── setting.asset.meta
│ │ │ ├── valuetype.txt
│ │ │ ├── valuetype.txt.meta
│ │ │ ├── varobj.txt
│ │ │ └── varobj.txt.meta
│ │ ├── Resources.meta
│ │ ├── Source/
│ │ │ ├── LuaThreadWrapper.cs
│ │ │ ├── LuaThreadWrapper.cs.meta
│ │ │ ├── UnityExtension.cs
│ │ │ └── UnityExtension.cs.meta
│ │ ├── Source.meta
│ │ ├── example/
│ │ │ ├── Circle.cs
│ │ │ ├── Circle.cs.meta
│ │ │ ├── Custom.cs
│ │ │ ├── Custom.cs.meta
│ │ │ ├── Deleg.cs
│ │ │ ├── Deleg.cs.meta
│ │ │ ├── HelloWorld.cs
│ │ │ ├── HelloWorld.cs.meta
│ │ │ ├── Main.cs
│ │ │ ├── Main.cs.meta
│ │ │ ├── NewCoroutine.cs
│ │ │ ├── NewCoroutine.cs.meta
│ │ │ ├── Perf.cs
│ │ │ ├── Perf.cs.meta
│ │ │ ├── ValueType.cs
│ │ │ ├── ValueType.cs.meta
│ │ │ ├── VarObj.cs
│ │ │ ├── VarObj.cs.meta
│ │ │ ├── circle.unity
│ │ │ ├── circle.unity.meta
│ │ │ ├── custom.unity
│ │ │ ├── custom.unity.meta
│ │ │ ├── delegate.unity
│ │ │ ├── delegate.unity.meta
│ │ │ ├── main.unity
│ │ │ ├── main.unity.meta
│ │ │ ├── new_coroutine.unity
│ │ │ ├── new_coroutine.unity.meta
│ │ │ ├── performance_test.unity
│ │ │ ├── performance_test.unity.meta
│ │ │ ├── test/
│ │ │ │ ├── README.md
│ │ │ │ ├── README.md.meta
│ │ │ │ ├── TestLua.cs
│ │ │ │ ├── TestLua.cs.meta
│ │ │ │ ├── test.cs
│ │ │ │ ├── test.cs.meta
│ │ │ │ ├── test.unity
│ │ │ │ └── test.unity.meta
│ │ │ ├── test.meta
│ │ │ ├── valuetype_test.unity
│ │ │ ├── valuetype_test.unity.meta
│ │ │ ├── varobj.unity
│ │ │ └── varobj.unity.meta
│ │ └── example.meta
│ ├── Slua.meta
│ ├── StreamingAssets/
│ │ └── StreamingAssets
│ └── StreamingAssets.meta
├── LICENSE
├── ProjectSettings/
│ ├── AudioManager.asset
│ ├── ClusterInputManager.asset
│ ├── DynamicsManager.asset
│ ├── EditorBuildSettings.asset
│ ├── EditorSettings.asset
│ ├── GraphicsSettings.asset
│ ├── InputManager.asset
│ ├── NavMeshAreas.asset
│ ├── NetworkManager.asset
│ ├── Physics2DSettings.asset
│ ├── ProjectSettings.asset
│ ├── ProjectVersion.txt
│ ├── QualitySettings.asset
│ ├── TagManager.asset
│ ├── TimeManager.asset
│ ├── UnityAdsSettings.asset
│ └── UnityConnectSettings.asset
├── README.md
├── build/
│ ├── SConstruct
│ ├── lua-5.1.5/
│ │ ├── COPYRIGHT
│ │ ├── HISTORY
│ │ ├── INSTALL
│ │ ├── Makefile
│ │ ├── README
│ │ ├── doc/
│ │ │ ├── contents.html
│ │ │ ├── lua.1
│ │ │ ├── lua.css
│ │ │ ├── lua.html
│ │ │ ├── luac.1
│ │ │ ├── luac.html
│ │ │ ├── manual.css
│ │ │ ├── manual.html
│ │ │ └── readme.html
│ │ ├── etc/
│ │ │ ├── Makefile
│ │ │ ├── README
│ │ │ ├── all.c
│ │ │ ├── lua.hpp
│ │ │ ├── lua.pc
│ │ │ ├── luavs.bat
│ │ │ ├── min.c
│ │ │ ├── noparser.c
│ │ │ └── strict.lua
│ │ ├── slua/
│ │ │ ├── slua/
│ │ │ │ └── Info.plist
│ │ │ └── slua.xcodeproj/
│ │ │ ├── project.pbxproj
│ │ │ ├── project.xcworkspace/
│ │ │ │ ├── contents.xcworkspacedata
│ │ │ │ ├── xcshareddata/
│ │ │ │ │ └── slua.xccheckout
│ │ │ │ └── xcuserdata/
│ │ │ │ └── sineysan.xcuserdatad/
│ │ │ │ ├── UserInterfaceState.xcuserstate
│ │ │ │ └── WorkspaceSettings.xcsettings
│ │ │ └── xcuserdata/
│ │ │ └── sineysan.xcuserdatad/
│ │ │ └── xcschemes/
│ │ │ ├── slua.xcscheme
│ │ │ └── xcschememanagement.plist
│ │ └── src/
│ │ ├── Makefile
│ │ ├── lapi.c
│ │ ├── lapi.h
│ │ ├── lauxlib.c
│ │ ├── lauxlib.h
│ │ ├── lbaselib.c
│ │ ├── lcode.c
│ │ ├── lcode.h
│ │ ├── ldblib.c
│ │ ├── ldebug.c
│ │ ├── ldebug.h
│ │ ├── ldo.c
│ │ ├── ldo.h
│ │ ├── ldump.c
│ │ ├── lfunc.c
│ │ ├── lfunc.h
│ │ ├── lgc.c
│ │ ├── lgc.h
│ │ ├── linit.c
│ │ ├── liolib.c
│ │ ├── llex.c
│ │ ├── llex.h
│ │ ├── llimits.h
│ │ ├── lmathlib.c
│ │ ├── lmem.c
│ │ ├── lmem.h
│ │ ├── loadlib.c
│ │ ├── lobject.c
│ │ ├── lobject.h
│ │ ├── lopcodes.c
│ │ ├── lopcodes.h
│ │ ├── loslib.c
│ │ ├── lparser.c
│ │ ├── lparser.h
│ │ ├── lstate.c
│ │ ├── lstate.h
│ │ ├── lstring.c
│ │ ├── lstring.h
│ │ ├── lstrlib.c
│ │ ├── ltable.c
│ │ ├── ltable.h
│ │ ├── ltablib.c
│ │ ├── ltm.c
│ │ ├── ltm.h
│ │ ├── lua.c
│ │ ├── lua.h
│ │ ├── luac.c
│ │ ├── luaconf.h
│ │ ├── lualib.h
│ │ ├── lundump.c
│ │ ├── lundump.h
│ │ ├── lvm.c
│ │ ├── lvm.h
│ │ ├── lzio.c
│ │ ├── lzio.h
│ │ └── print.c
│ ├── luajit-2.0.4/
│ │ ├── COPYRIGHT
│ │ ├── Makefile
│ │ ├── README
│ │ ├── doc/
│ │ │ ├── bluequad-print.css
│ │ │ ├── bluequad.css
│ │ │ ├── changes.html
│ │ │ ├── contact.html
│ │ │ ├── ext_c_api.html
│ │ │ ├── ext_ffi.html
│ │ │ ├── ext_ffi_api.html
│ │ │ ├── ext_ffi_semantics.html
│ │ │ ├── ext_ffi_tutorial.html
│ │ │ ├── ext_jit.html
│ │ │ ├── extensions.html
│ │ │ ├── faq.html
│ │ │ ├── install.html
│ │ │ ├── luajit.html
│ │ │ ├── running.html
│ │ │ └── status.html
│ │ ├── dynasm/
│ │ │ ├── dasm_arm.h
│ │ │ ├── dasm_arm.lua
│ │ │ ├── dasm_mips.h
│ │ │ ├── dasm_mips.lua
│ │ │ ├── dasm_ppc.h
│ │ │ ├── dasm_ppc.lua
│ │ │ ├── dasm_proto.h
│ │ │ ├── dasm_x64.lua
│ │ │ ├── dasm_x86.h
│ │ │ ├── dasm_x86.lua
│ │ │ └── dynasm.lua
│ │ ├── etc/
│ │ │ ├── luajit.1
│ │ │ └── luajit.pc
│ │ └── src/
│ │ ├── Makefile
│ │ ├── Makefile.dep
│ │ ├── host/
│ │ │ ├── README
│ │ │ ├── buildvm.c
│ │ │ ├── buildvm.h
│ │ │ ├── buildvm_asm.c
│ │ │ ├── buildvm_fold.c
│ │ │ ├── buildvm_lib.c
│ │ │ ├── buildvm_peobj.c
│ │ │ ├── genminilua.lua
│ │ │ └── minilua.c
│ │ ├── jit/
│ │ │ ├── bc.lua
│ │ │ ├── bcsave.lua
│ │ │ ├── dis_arm.lua
│ │ │ ├── dis_mips.lua
│ │ │ ├── dis_mipsel.lua
│ │ │ ├── dis_ppc.lua
│ │ │ ├── dis_x64.lua
│ │ │ ├── dis_x86.lua
│ │ │ ├── dump.lua
│ │ │ ├── v.lua
│ │ │ └── vmdef.lua
│ │ ├── lauxlib.h
│ │ ├── lib_aux.c
│ │ ├── lib_base.c
│ │ ├── lib_bit.c
│ │ ├── lib_debug.c
│ │ ├── lib_ffi.c
│ │ ├── lib_init.c
│ │ ├── lib_io.c
│ │ ├── lib_jit.c
│ │ ├── lib_math.c
│ │ ├── lib_os.c
│ │ ├── lib_package.c
│ │ ├── lib_string.c
│ │ ├── lib_table.c
│ │ ├── lj.supp
│ │ ├── lj_alloc.c
│ │ ├── lj_alloc.h
│ │ ├── lj_api.c
│ │ ├── lj_arch.h
│ │ ├── lj_asm.c
│ │ ├── lj_asm.h
│ │ ├── lj_asm_arm.h
│ │ ├── lj_asm_mips.h
│ │ ├── lj_asm_ppc.h
│ │ ├── lj_asm_x86.h
│ │ ├── lj_bc.c
│ │ ├── lj_bc.h
│ │ ├── lj_bcdump.h
│ │ ├── lj_bcread.c
│ │ ├── lj_bcwrite.c
│ │ ├── lj_carith.c
│ │ ├── lj_carith.h
│ │ ├── lj_ccall.c
│ │ ├── lj_ccall.h
│ │ ├── lj_ccallback.c
│ │ ├── lj_ccallback.h
│ │ ├── lj_cconv.c
│ │ ├── lj_cconv.h
│ │ ├── lj_cdata.c
│ │ ├── lj_cdata.h
│ │ ├── lj_char.c
│ │ ├── lj_char.h
│ │ ├── lj_clib.c
│ │ ├── lj_clib.h
│ │ ├── lj_cparse.c
│ │ ├── lj_cparse.h
│ │ ├── lj_crecord.c
│ │ ├── lj_crecord.h
│ │ ├── lj_ctype.c
│ │ ├── lj_ctype.h
│ │ ├── lj_debug.c
│ │ ├── lj_debug.h
│ │ ├── lj_def.h
│ │ ├── lj_dispatch.c
│ │ ├── lj_dispatch.h
│ │ ├── lj_emit_arm.h
│ │ ├── lj_emit_mips.h
│ │ ├── lj_emit_ppc.h
│ │ ├── lj_emit_x86.h
│ │ ├── lj_err.c
│ │ ├── lj_err.h
│ │ ├── lj_errmsg.h
│ │ ├── lj_ff.h
│ │ ├── lj_ffrecord.c
│ │ ├── lj_ffrecord.h
│ │ ├── lj_frame.h
│ │ ├── lj_func.c
│ │ ├── lj_func.h
│ │ ├── lj_gc.c
│ │ ├── lj_gc.h
│ │ ├── lj_gdbjit.c
│ │ ├── lj_gdbjit.h
│ │ ├── lj_ir.c
│ │ ├── lj_ir.h
│ │ ├── lj_ircall.h
│ │ ├── lj_iropt.h
│ │ ├── lj_jit.h
│ │ ├── lj_lex.c
│ │ ├── lj_lex.h
│ │ ├── lj_lib.c
│ │ ├── lj_lib.h
│ │ ├── lj_load.c
│ │ ├── lj_mcode.c
│ │ ├── lj_mcode.h
│ │ ├── lj_meta.c
│ │ ├── lj_meta.h
│ │ ├── lj_obj.c
│ │ ├── lj_obj.h
│ │ ├── lj_opt_dce.c
│ │ ├── lj_opt_fold.c
│ │ ├── lj_opt_loop.c
│ │ ├── lj_opt_mem.c
│ │ ├── lj_opt_narrow.c
│ │ ├── lj_opt_sink.c
│ │ ├── lj_opt_split.c
│ │ ├── lj_parse.c
│ │ ├── lj_parse.h
│ │ ├── lj_record.c
│ │ ├── lj_record.h
│ │ ├── lj_snap.c
│ │ ├── lj_snap.h
│ │ ├── lj_state.c
│ │ ├── lj_state.h
│ │ ├── lj_str.c
│ │ ├── lj_str.h
│ │ ├── lj_strscan.c
│ │ ├── lj_strscan.h
│ │ ├── lj_tab.c
│ │ ├── lj_tab.h
│ │ ├── lj_target.h
│ │ ├── lj_target_arm.h
│ │ ├── lj_target_mips.h
│ │ ├── lj_target_ppc.h
│ │ ├── lj_target_x86.h
│ │ ├── lj_trace.c
│ │ ├── lj_trace.h
│ │ ├── lj_traceerr.h
│ │ ├── lj_udata.c
│ │ ├── lj_udata.h
│ │ ├── lj_vm.h
│ │ ├── lj_vmevent.c
│ │ ├── lj_vmevent.h
│ │ ├── lj_vmmath.c
│ │ ├── ljamalg.c
│ │ ├── lua.h
│ │ ├── lua.hpp
│ │ ├── luaconf.h
│ │ ├── luajit.c
│ │ ├── luajit.h
│ │ ├── lualib.h
│ │ ├── msvcbuild.bat
│ │ ├── ps4build.bat
│ │ ├── psvitabuild.bat
│ │ ├── slua.c
│ │ ├── vm_arm.dasc
│ │ ├── vm_mips.dasc
│ │ ├── vm_ppc.dasc
│ │ ├── vm_ppcspe.dasc
│ │ ├── vm_x86.dasc
│ │ └── xedkbuild.bat
│ ├── luajit-2.1.0/
│ │ ├── COPYRIGHT
│ │ ├── Makefile
│ │ ├── README
│ │ ├── doc/
│ │ │ ├── bluequad-print.css
│ │ │ ├── bluequad.css
│ │ │ ├── changes.html
│ │ │ ├── contact.html
│ │ │ ├── ext_c_api.html
│ │ │ ├── ext_ffi.html
│ │ │ ├── ext_ffi_api.html
│ │ │ ├── ext_ffi_semantics.html
│ │ │ ├── ext_ffi_tutorial.html
│ │ │ ├── ext_jit.html
│ │ │ ├── ext_profiler.html
│ │ │ ├── extensions.html
│ │ │ ├── faq.html
│ │ │ ├── install.html
│ │ │ ├── luajit.html
│ │ │ ├── running.html
│ │ │ └── status.html
│ │ ├── dynasm/
│ │ │ ├── dasm_arm.h
│ │ │ ├── dasm_arm.lua
│ │ │ ├── dasm_arm64.h
│ │ │ ├── dasm_arm64.lua
│ │ │ ├── dasm_mips.h
│ │ │ ├── dasm_mips.lua
│ │ │ ├── dasm_ppc.h
│ │ │ ├── dasm_ppc.lua
│ │ │ ├── dasm_proto.h
│ │ │ ├── dasm_x64.lua
│ │ │ ├── dasm_x86.h
│ │ │ ├── dasm_x86.lua
│ │ │ └── dynasm.lua
│ │ ├── etc/
│ │ │ ├── luajit.1
│ │ │ └── luajit.pc
│ │ └── src/
│ │ ├── Makefile
│ │ ├── Makefile.dep
│ │ ├── host/
│ │ │ ├── README
│ │ │ ├── buildvm.c
│ │ │ ├── buildvm.h
│ │ │ ├── buildvm_asm.c
│ │ │ ├── buildvm_fold.c
│ │ │ ├── buildvm_lib.c
│ │ │ ├── buildvm_libbc.h
│ │ │ ├── buildvm_peobj.c
│ │ │ ├── genlibbc.lua
│ │ │ ├── genminilua.lua
│ │ │ └── minilua.c
│ │ ├── jit/
│ │ │ ├── bc.lua
│ │ │ ├── bcsave.lua
│ │ │ ├── dis_arm.lua
│ │ │ ├── dis_mips.lua
│ │ │ ├── dis_mipsel.lua
│ │ │ ├── dis_ppc.lua
│ │ │ ├── dis_x64.lua
│ │ │ ├── dis_x86.lua
│ │ │ ├── dump.lua
│ │ │ ├── p.lua
│ │ │ ├── v.lua
│ │ │ └── zone.lua
│ │ ├── lauxlib.h
│ │ ├── lib_aux.c
│ │ ├── lib_base.c
│ │ ├── lib_bit.c
│ │ ├── lib_debug.c
│ │ ├── lib_ffi.c
│ │ ├── lib_init.c
│ │ ├── lib_io.c
│ │ ├── lib_jit.c
│ │ ├── lib_math.c
│ │ ├── lib_os.c
│ │ ├── lib_package.c
│ │ ├── lib_string.c
│ │ ├── lib_table.c
│ │ ├── lj.supp
│ │ ├── lj_alloc.c
│ │ ├── lj_alloc.h
│ │ ├── lj_api.c
│ │ ├── lj_arch.h
│ │ ├── lj_asm.c
│ │ ├── lj_asm.h
│ │ ├── lj_asm_arm.h
│ │ ├── lj_asm_mips.h
│ │ ├── lj_asm_ppc.h
│ │ ├── lj_asm_x86.h
│ │ ├── lj_bc.c
│ │ ├── lj_bc.h
│ │ ├── lj_bcdump.h
│ │ ├── lj_bcread.c
│ │ ├── lj_bcwrite.c
│ │ ├── lj_buf.c
│ │ ├── lj_buf.h
│ │ ├── lj_carith.c
│ │ ├── lj_carith.h
│ │ ├── lj_ccall.c
│ │ ├── lj_ccall.h
│ │ ├── lj_ccallback.c
│ │ ├── lj_ccallback.h
│ │ ├── lj_cconv.c
│ │ ├── lj_cconv.h
│ │ ├── lj_cdata.c
│ │ ├── lj_cdata.h
│ │ ├── lj_char.c
│ │ ├── lj_char.h
│ │ ├── lj_clib.c
│ │ ├── lj_clib.h
│ │ ├── lj_cparse.c
│ │ ├── lj_cparse.h
│ │ ├── lj_crecord.c
│ │ ├── lj_crecord.h
│ │ ├── lj_ctype.c
│ │ ├── lj_ctype.h
│ │ ├── lj_debug.c
│ │ ├── lj_debug.h
│ │ ├── lj_def.h
│ │ ├── lj_dispatch.c
│ │ ├── lj_dispatch.h
│ │ ├── lj_emit_arm.h
│ │ ├── lj_emit_mips.h
│ │ ├── lj_emit_ppc.h
│ │ ├── lj_emit_x86.h
│ │ ├── lj_err.c
│ │ ├── lj_err.h
│ │ ├── lj_errmsg.h
│ │ ├── lj_ff.h
│ │ ├── lj_ffrecord.c
│ │ ├── lj_ffrecord.h
│ │ ├── lj_frame.h
│ │ ├── lj_func.c
│ │ ├── lj_func.h
│ │ ├── lj_gc.c
│ │ ├── lj_gc.h
│ │ ├── lj_gdbjit.c
│ │ ├── lj_gdbjit.h
│ │ ├── lj_ir.c
│ │ ├── lj_ir.h
│ │ ├── lj_ircall.h
│ │ ├── lj_iropt.h
│ │ ├── lj_jit.h
│ │ ├── lj_lex.c
│ │ ├── lj_lex.h
│ │ ├── lj_lib.c
│ │ ├── lj_lib.h
│ │ ├── lj_load.c
│ │ ├── lj_mcode.c
│ │ ├── lj_mcode.h
│ │ ├── lj_meta.c
│ │ ├── lj_meta.h
│ │ ├── lj_obj.c
│ │ ├── lj_obj.h
│ │ ├── lj_opt_dce.c
│ │ ├── lj_opt_fold.c
│ │ ├── lj_opt_loop.c
│ │ ├── lj_opt_mem.c
│ │ ├── lj_opt_narrow.c
│ │ ├── lj_opt_sink.c
│ │ ├── lj_opt_split.c
│ │ ├── lj_parse.c
│ │ ├── lj_parse.h
│ │ ├── lj_profile.c
│ │ ├── lj_profile.h
│ │ ├── lj_record.c
│ │ ├── lj_record.h
│ │ ├── lj_snap.c
│ │ ├── lj_snap.h
│ │ ├── lj_state.c
│ │ ├── lj_state.h
│ │ ├── lj_str.c
│ │ ├── lj_str.h
│ │ ├── lj_strfmt.c
│ │ ├── lj_strfmt.h
│ │ ├── lj_strscan.c
│ │ ├── lj_strscan.h
│ │ ├── lj_tab.c
│ │ ├── lj_tab.h
│ │ ├── lj_target.h
│ │ ├── lj_target_arm.h
│ │ ├── lj_target_arm64.h
│ │ ├── lj_target_mips.h
│ │ ├── lj_target_ppc.h
│ │ ├── lj_target_x86.h
│ │ ├── lj_trace.c
│ │ ├── lj_trace.h
│ │ ├── lj_traceerr.h
│ │ ├── lj_udata.c
│ │ ├── lj_udata.h
│ │ ├── lj_vm.h
│ │ ├── lj_vmevent.c
│ │ ├── lj_vmevent.h
│ │ ├── lj_vmmath.c
│ │ ├── ljamalg.c
│ │ ├── lua.h
│ │ ├── lua.hpp
│ │ ├── luaconf.h
│ │ ├── luajit.c
│ │ ├── luajit.h
│ │ ├── lualib.h
│ │ ├── msvcbuild.bat
│ │ ├── ps4build.bat
│ │ ├── psvitabuild.bat
│ │ ├── vm_arm.dasc
│ │ ├── vm_arm64.dasc
│ │ ├── vm_mips.dasc
│ │ ├── vm_ppc.dasc
│ │ ├── vm_x64.dasc
│ │ ├── vm_x86.dasc
│ │ ├── xb1build.bat
│ │ └── xedkbuild.bat
│ ├── luajit-osx/
│ │ ├── slua/
│ │ │ ├── Info.plist
│ │ │ └── main.c
│ │ └── slua.xcodeproj/
│ │ ├── project.pbxproj
│ │ ├── project.xcworkspace/
│ │ │ ├── contents.xcworkspacedata
│ │ │ ├── xcshareddata/
│ │ │ │ └── slua.xccheckout
│ │ │ └── xcuserdata/
│ │ │ ├── sineysan.xcuserdatad/
│ │ │ │ ├── UserInterfaceState.xcuserstate
│ │ │ │ └── WorkspaceSettings.xcsettings
│ │ │ └── yongkangchen.xcuserdatad/
│ │ │ └── UserInterfaceState.xcuserstate
│ │ └── xcuserdata/
│ │ └── yongkangchen.xcuserdatad/
│ │ └── xcschemes/
│ │ ├── slua.xcscheme
│ │ └── xcschememanagement.plist
│ ├── make_android.sh
│ ├── make_ios.sh
│ ├── make_osx.sh
│ ├── make_osx_jit.sh
│ ├── make_win_with_2013.bat
│ └── slua.c
├── classes.dex
├── classes.jar
├── debugger/
│ ├── README.txt
│ └── mac/
│ ├── ldb
│ └── runldb.sh
├── uLui.CSharp.Editor.csproj
├── uLui.CSharp.Plugins.csproj
├── uLui.CSharp.csproj
├── uLui.Editor.csproj
├── uLui.Plugins.csproj
└── uLui.csproj
================================================
FILE CONTENTS
================================================
================================================
FILE: .gitignore
================================================
*.sln
*.userprefs
*.pidb
*.svd
*.suo
*.user
*.booproj
Assets/data.zip
Assets/version.ver
Assets/Slua/LuaObject/*
Assets/StreamingAssets/*.ab
Assets/StreamingAssets/*.manifest
Assets/StreamingAssets/*.meta
/Library
/Library/FailedAssetImports.txt
/Library/cache/
/Library/previews/
/Library/ScriptAssemblies
/obj
/Temp
.DS_Store
.DS_Store?
ehthumbs.db
Thumbs.db
*.swp
*.Trashes
ExportedObj/
Temp/
*~
/Assembly-CSharp.csproj
/Assembly-CSharp-vs.csproj
================================================
FILE: Assembly-CSharp-Editor.csproj
================================================
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>10.0.20506</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<RootNamespace></RootNamespace>
<ProjectGuid>{491050FB-DB9F-41A2-4FA7-0F02E64E726C}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<AssemblyName>Assembly-CSharp-Editor</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<BaseDirectory>Assets</BaseDirectory>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>Temp\bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;UNITY_5_3_OR_NEWER;UNITY_5_4_OR_NEWER;UNITY_5_5_OR_NEWER;UNITY_5_6_OR_NEWER;UNITY_5_6_0;UNITY_5_6;UNITY_5;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_DUCK_TYPING;ENABLE_GENERICS;ENABLE_PVR_GI;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_RUNTIME_NAVMESH_BUILDING;ENABLE_SPRITERENDERER_FLIPPING;ENABLE_SPRITES;ENABLE_TERRAIN;ENABLE_RAKNET;ENABLE_UNET;ENABLE_LZMA;ENABLE_UNITYEVENTS;ENABLE_WEBCAM;ENABLE_WWW;ENABLE_CLOUD_SERVICES_COLLAB;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_HUB;ENABLE_CLOUD_PROJECT_ID;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_METRICS;ENABLE_EDITOR_METRICS_CACHING;ENABLE_NATIVE_ARRAY;INCLUDE_DYNAMIC_GI;INCLUDE_GI;PLATFORM_SUPPORTS_MONO;RENDER_SOFTWARE_CURSOR;INCLUDE_PUBNUB;ENABLE_PLAYMODE_TESTS_RUNNER;ENABLE_SCRIPTING_NEW_CSHARP_COMPILER;ENABLE_VIDEO;UNITY_STANDALONE_WIN;UNITY_STANDALONE;ENABLE_SUBSTANCE;ENABLE_RUNTIME_GI;ENABLE_MOVIES;ENABLE_NETWORK;ENABLE_CRUNCH_TEXTURE_COMPRESSION;ENABLE_UNITYWEBREQUEST;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_PURCHASING;ENABLE_CLOUD_SERVICES_CRASH_REPORTING;ENABLE_EVENT_QUEUE;ENABLE_CLUSTERINPUT;ENABLE_VR;ENABLE_WEBSOCKET_HOST;ENABLE_MONO;NET_2_0_SUBSET;ENABLE_PROFILER;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_64;UNITY_EDITOR_WIN;ENABLE_NATIVE_ARRAY_CHECKS;UNITY_TEAM_LICENSE;CROSS_PLATFORM_INPUT</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<NoWarn>0169</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>Temp\bin\Release\</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<NoWarn>0169</NoWarn>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.XML" />
<Reference Include="System.Core" />
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.Xml.Linq" />
<Reference Include="UnityEngine">
<HintPath>D:/Unity5.6/Editor/Data/Managed/UnityEngine.dll</HintPath>
</Reference>
<Reference Include="UnityEditor">
<HintPath>D:/Unity5.6/Editor/Data/Managed/UnityEditor.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="Assets\Game\Editor\AssetBundleMaker\ExportAssetBundles.cs" />
<Compile Include="Assets\Game\Editor\AssetBundleMaker\ExportConfigWindow.cs" />
<Compile Include="Assets\Game\Editor\BmfontMaker\BMFont.cs" />
<Compile Include="Assets\Game\Editor\BmfontMaker\BMFontReader.cs" />
<Compile Include="Assets\Game\Editor\BmfontMaker\BMGlyph.cs" />
<Compile Include="Assets\Game\Editor\BmfontMaker\BmBetterList.cs" />
<Compile Include="Assets\Game\Editor\BmfontMaker\BmByteReader.cs" />
<Compile Include="Assets\Game\Editor\BmfontMaker\BmFontEditor.cs" />
<Compile Include="Assets\Game\Editor\Helper.cs" />
<Compile Include="Assets\Game\Editor\I18nExporter\I18nExporter.cs" />
<Compile Include="Assets\Game\Editor\MakeDebugFile.cs" />
<Compile Include="Assets\Game\Editor\TexturePackerImporter\TexturePackerImporter.cs" />
<Compile Include="Assets\Slua\Editor\CustomEditor.cs" />
<Compile Include="Assets\Slua\Editor\CustomExport.cs" />
<Compile Include="Assets\Slua\Editor\LuaCodeGen.cs" />
<None Include="Assets\Slua\Resources\module\some.txt" />
<None Include="Assets\Slua\Resources\main.txt" />
<None Include="Assets\Slua\Resources\circle\circle.txt" />
<None Include="Assets\Game\Editor\TexturePackerImporter\SettingsTexturePackerImporter.txt" />
<None Include="Assets\Slua\Resources\perf.txt" />
<None Include="Assets\Game\Resources\config.txt" />
<None Include="Assets\Slua\Resources\delegate.txt" />
<None Include="Assets\Game\Models\CubeMap.shader" />
<None Include="Assets\Slua\Resources\valuetype.txt" />
<None Include="Assets\Slua\Resources\varobj.txt" />
<None Include="Assets\Slua\Resources\custom.txt" />
<None Include="Assets\Slua\Resources\new_coroutine.txt" />
<Reference Include="UnityEditor.Advertisements">
<HintPath>D:/Unity5.6/Editor/Data/UnityExtensions/Unity/Advertisements/Editor/UnityEditor.Advertisements.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.UI">
<HintPath>D:/Unity5.6/Editor/Data/UnityExtensions/Unity/GUISystem/UnityEngine.UI.dll</HintPath>
</Reference>
<Reference Include="UnityEditor.UI">
<HintPath>D:/Unity5.6/Editor/Data/UnityExtensions/Unity/GUISystem/Editor/UnityEditor.UI.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.Networking">
<HintPath>D:/Unity5.6/Editor/Data/UnityExtensions/Unity/Networking/UnityEngine.Networking.dll</HintPath>
</Reference>
<Reference Include="UnityEditor.Networking">
<HintPath>D:/Unity5.6/Editor/Data/UnityExtensions/Unity/Networking/Editor/UnityEditor.Networking.dll</HintPath>
</Reference>
<Reference Include="UnityEditor.TestRunner">
<HintPath>D:/Unity5.6/Editor/Data/UnityExtensions/Unity/TestRunner/Editor/UnityEditor.TestRunner.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.TestRunner">
<HintPath>D:/Unity5.6/Editor/Data/UnityExtensions/Unity/TestRunner/UnityEngine.TestRunner.dll</HintPath>
</Reference>
<Reference Include="nunit.framework">
<HintPath>D:/Unity5.6/Editor/Data/UnityExtensions/Unity/TestRunner/nunit.framework.dll</HintPath>
</Reference>
<Reference Include="UnityEditor.TreeEditor">
<HintPath>D:/Unity5.6/Editor/Data/UnityExtensions/Unity/TreeEditor/Editor/UnityEditor.TreeEditor.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.Analytics">
<HintPath>D:/Unity5.6/Editor/Data/UnityExtensions/Unity/UnityAnalytics/UnityEngine.Analytics.dll</HintPath>
</Reference>
<Reference Include="UnityEditor.Analytics">
<HintPath>D:/Unity5.6/Editor/Data/UnityExtensions/Unity/UnityAnalytics/Editor/UnityEditor.Analytics.dll</HintPath>
</Reference>
<Reference Include="UnityEditor.HoloLens">
<HintPath>D:/Unity5.6/Editor/Data/UnityExtensions/Unity/UnityHoloLens/Editor/UnityEditor.HoloLens.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.HoloLens">
<HintPath>D:/Unity5.6/Editor/Data/UnityExtensions/Unity/UnityHoloLens/RuntimeEditor/UnityEngine.HoloLens.dll</HintPath>
</Reference>
<Reference Include="UnityEditor.Purchasing">
<HintPath>D:/Unity5.6/Editor/Data/UnityExtensions/Unity/UnityPurchasing/Editor/UnityEditor.Purchasing.dll</HintPath>
</Reference>
<Reference Include="UnityEditor.VR">
<HintPath>D:/Unity5.6/Editor/Data/UnityExtensions/Unity/UnityVR/Editor/UnityEditor.VR.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.VR">
<HintPath>D:/Unity5.6/Editor/Data/UnityExtensions/Unity/UnityVR/RuntimeEditor/UnityEngine.VR.dll</HintPath>
</Reference>
<Reference Include="UnityEditor.Graphs">
<HintPath>D:/Unity5.6/Editor/Data/Managed/UnityEditor.Graphs.dll</HintPath>
</Reference>
<Reference Include="UnityEditor.Android.Extensions">
<HintPath>D:/Unity5.6/Editor/Data/PlaybackEngines/AndroidPlayer/UnityEditor.Android.Extensions.dll</HintPath>
</Reference>
<Reference Include="UnityEditor.WindowsStandalone.Extensions">
<HintPath>D:/Unity5.6/Editor/Data/PlaybackEngines/windowsstandalonesupport/UnityEditor.WindowsStandalone.Extensions.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="Assembly-CSharp-firstpass.csproj">
<Project>{E1D36826-B1F4-0A49-5C98-A82920DD91E8}</Project> <Name>Assembly-CSharp-firstpass</Name> </ProjectReference>
<ProjectReference Include="Assembly-CSharp.csproj">
<Project>{637C5E20-0C4C-D436-F010-B1A7A7E1ED5A}</Project> <Name>Assembly-CSharp</Name> </ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
================================================
FILE: Assembly-CSharp-firstpass.csproj
================================================
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>10.0.20506</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<RootNamespace></RootNamespace>
<ProjectGuid>{E1D36826-B1F4-0A49-5C98-A82920DD91E8}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<AssemblyName>Assembly-CSharp-firstpass</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<BaseDirectory>Assets</BaseDirectory>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>Temp\bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;UNITY_5_3_OR_NEWER;UNITY_5_4_OR_NEWER;UNITY_5_5_OR_NEWER;UNITY_5_6_OR_NEWER;UNITY_5_6_0;UNITY_5_6;UNITY_5;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_DUCK_TYPING;ENABLE_GENERICS;ENABLE_PVR_GI;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_RUNTIME_NAVMESH_BUILDING;ENABLE_SPRITERENDERER_FLIPPING;ENABLE_SPRITES;ENABLE_TERRAIN;ENABLE_RAKNET;ENABLE_UNET;ENABLE_LZMA;ENABLE_UNITYEVENTS;ENABLE_WEBCAM;ENABLE_WWW;ENABLE_CLOUD_SERVICES_COLLAB;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_HUB;ENABLE_CLOUD_PROJECT_ID;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_METRICS;ENABLE_EDITOR_METRICS_CACHING;ENABLE_NATIVE_ARRAY;INCLUDE_DYNAMIC_GI;INCLUDE_GI;PLATFORM_SUPPORTS_MONO;RENDER_SOFTWARE_CURSOR;INCLUDE_PUBNUB;ENABLE_PLAYMODE_TESTS_RUNNER;ENABLE_SCRIPTING_NEW_CSHARP_COMPILER;ENABLE_VIDEO;UNITY_STANDALONE_WIN;UNITY_STANDALONE;ENABLE_SUBSTANCE;ENABLE_RUNTIME_GI;ENABLE_MOVIES;ENABLE_NETWORK;ENABLE_CRUNCH_TEXTURE_COMPRESSION;ENABLE_UNITYWEBREQUEST;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_PURCHASING;ENABLE_CLOUD_SERVICES_CRASH_REPORTING;ENABLE_EVENT_QUEUE;ENABLE_CLUSTERINPUT;ENABLE_VR;ENABLE_WEBSOCKET_HOST;ENABLE_MONO;NET_2_0_SUBSET;ENABLE_PROFILER;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_64;UNITY_EDITOR_WIN;ENABLE_NATIVE_ARRAY_CHECKS;UNITY_TEAM_LICENSE;CROSS_PLATFORM_INPUT</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<NoWarn>0169</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>Temp\bin\Release\</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<NoWarn>0169</NoWarn>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.XML" />
<Reference Include="System.Core" />
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.Xml.Linq" />
<Reference Include="UnityEngine">
<HintPath>D:/Unity5.6/Editor/Data/Managed/UnityEngine.dll</HintPath>
</Reference>
<Reference Include="UnityEditor">
<HintPath>D:/Unity5.6/Editor/Data/Managed/UnityEditor.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="Assets\Plugins\ILeanTween.cs" />
<Compile Include="Assets\Plugins\LTDescr.cs" />
<Compile Include="Assets\Plugins\LeanAudio.cs" />
<Compile Include="Assets\Plugins\LeanTween.cs" />
<Compile Include="Assets\Plugins\Slua_Managed\ByteArray.cs" />
<Compile Include="Assets\Plugins\Slua_Managed\Coroutine.cs" />
<Compile Include="Assets\Plugins\Slua_Managed\Helper.cs" />
<Compile Include="Assets\Plugins\Slua_Managed\Logger.cs" />
<Compile Include="Assets\Plugins\Slua_Managed\Lua3rdDLL.cs" />
<Compile Include="Assets\Plugins\Slua_Managed\Lua3rdMeta.cs" />
<Compile Include="Assets\Plugins\Slua_Managed\LuaArray.cs" />
<Compile Include="Assets\Plugins\Slua_Managed\LuaByteArray.cs" />
<Compile Include="Assets\Plugins\Slua_Managed\LuaDLL.cs" />
<Compile Include="Assets\Plugins\Slua_Managed\LuaDLLWrapper.cs" />
<Compile Include="Assets\Plugins\Slua_Managed\LuaObject.cs" />
<Compile Include="Assets\Plugins\Slua_Managed\LuaObject_basetype.cs" />
<Compile Include="Assets\Plugins\Slua_Managed\LuaObject_overload.cs" />
<Compile Include="Assets\Plugins\Slua_Managed\LuaState.cs" />
<Compile Include="Assets\Plugins\Slua_Managed\LuaSvr.cs" />
<Compile Include="Assets\Plugins\Slua_Managed\LuaSvrGameObject.cs" />
<Compile Include="Assets\Plugins\Slua_Managed\LuaValueType.cs" />
<Compile Include="Assets\Plugins\Slua_Managed\LuaVarObject.cs" />
<Compile Include="Assets\Plugins\Slua_Managed\ObjectCache.cs" />
<Compile Include="Assets\Plugins\Slua_Managed\SLuaSetting.cs" />
<Compile Include="Assets\Plugins\Slua_Managed\Timer.cs" />
<Compile Include="Assets\Plugins\Slua_Managed\WeakDictionary.cs" />
<None Include="Assets\Slua\Resources\module\some.txt" />
<None Include="Assets\Slua\Resources\main.txt" />
<None Include="Assets\Slua\Resources\circle\circle.txt" />
<None Include="Assets\Game\Editor\TexturePackerImporter\SettingsTexturePackerImporter.txt" />
<None Include="Assets\Slua\Resources\perf.txt" />
<None Include="Assets\Game\Resources\config.txt" />
<None Include="Assets\Slua\Resources\delegate.txt" />
<None Include="Assets\Game\Models\CubeMap.shader" />
<None Include="Assets\Slua\Resources\valuetype.txt" />
<None Include="Assets\Slua\Resources\varobj.txt" />
<None Include="Assets\Slua\Resources\custom.txt" />
<None Include="Assets\Slua\Resources\new_coroutine.txt" />
<Reference Include="UnityEngine.UI">
<HintPath>D:/Unity5.6/Editor/Data/UnityExtensions/Unity/GUISystem/UnityEngine.UI.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.Networking">
<HintPath>D:/Unity5.6/Editor/Data/UnityExtensions/Unity/Networking/UnityEngine.Networking.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.TestRunner">
<HintPath>D:/Unity5.6/Editor/Data/UnityExtensions/Unity/TestRunner/UnityEngine.TestRunner.dll</HintPath>
</Reference>
<Reference Include="nunit.framework">
<HintPath>D:/Unity5.6/Editor/Data/UnityExtensions/Unity/TestRunner/nunit.framework.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.Analytics">
<HintPath>D:/Unity5.6/Editor/Data/UnityExtensions/Unity/UnityAnalytics/UnityEngine.Analytics.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.HoloLens">
<HintPath>D:/Unity5.6/Editor/Data/UnityExtensions/Unity/UnityHoloLens/RuntimeEditor/UnityEngine.HoloLens.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.VR">
<HintPath>D:/Unity5.6/Editor/Data/UnityExtensions/Unity/UnityVR/RuntimeEditor/UnityEngine.VR.dll</HintPath>
</Reference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
================================================
FILE: Assets/Game/@Lua/Base/LClass.lua
================================================
local LDeclare = require "Base/LGlobal"
local L_VERSION = require "Base/LVersion"
-- The hold all class type.
local __LClassTypeList = {}
-- The inherit class function.
local function __LClass(TypeName, SuperType)
-- Create new class type.
local ClassType = {}
-- Set class type property.
ClassType.TypeName = TypeName
ClassType.SuperType = SuperType
ClassType.ctor = false
ClassType.dtor = false
-- The new alloc function of this class.
ClassType.new = function (...)
-- Create a new object first and set metatable.
local Obj = {}
-- Give a tostring method.
Obj.ToString = function (self)
if not self.__InstanceName then
local str = tostring(self)
local _, _, addr = string.find(str, "table%s*:%s*(0?[xX]?%x+)")
self.__InstanceName = ClassType.TypeName .. ":" .. addr
end
return self.__InstanceName
end
-- Get class type name.
Obj.GetType = function (self)
return ClassType.TypeName
end
-- Do constructor recursively.
local CreateObj = function (Class, Object, ...)
local Create
Create = function (c, ...)
if c.SuperType then
Create(c.SuperType, ...)
end
if c.ctor then
c.ctor(Object, ...)
end
end
Create(Class, ...)
end
-- Do destructor recursively.
local ReleaseObj = function (Class, Object)
local Release
Release = function (c)
if c.dtor then
c.dtor(Object)
end
if c.SuperType then
Release(c.SuperType)
end
end
Release(Class)
end
-- Do the destructor by lua version.
if L_VERSION < L_VERSION_520 then
-- Create a empty userdata with empty metatable.
-- And mark gc method for destructor.
local Proxy = newproxy(true)
getmetatable(Proxy).__gc = function (o)
ReleaseObj(ClassType, Obj)
end
-- Hold the one and only reference to the proxy userdata.
Obj.__gc = Proxy
-- Set metatable.
setmetatable(Obj, {__index = __LClassTypeList[ClassType]})
else
-- Directly set __gc field of the metatable for destructor of this object.
setmetatable(Obj,
{
__index = __LClassTypeList[ClassType],
__gc = function (o)
ReleaseObj(ClassType, o)
end
})
end
-- Do constructor for this object.
CreateObj(ClassType, Obj, ...)
return Obj
end
-- Give a ToString method.
ClassType.ToString = function (self)
return self.TypeName
end
-- The super class type of this class.
if SuperType then
ClassType.super = setmetatable({},
{
__index = function (t, k)
local Func = __LClassTypeList[SuperType][k]
if "function" == type(Func) then
t[k] = Func
return Func
else
error("Accessing super class field are not allowed!")
end
end
})
end
-- Virtual table.
local Vtbl = {}
__LClassTypeList[ClassType] = Vtbl
-- Set index and new index of ClassType, and provide a default create method.
setmetatable(ClassType,
{
__index = function (t, k)
return Vtbl[k]
end,
__newindex = function (t, k, v)
Vtbl[k] = v
end,
__call = function (self, ...)
return ClassType.new(...)
end
})
-- To copy super class things that this class not have.
if SuperType then
setmetatable(Vtbl,
{
__index = function (t, k)
local Ret = __LClassTypeList[SuperType][k]
Vtbl[k] = Ret
return Ret
end
})
end
return ClassType
end
-- Set into global.
if (not LIsDeclared("LClass")) or (not LClass) then
LDeclare("LClass", __LClass)
end
-- Return this.
return __LClass
================================================
FILE: Assets/Game/@Lua/Base/LClass.lua.meta
================================================
fileFormatVersion: 2
guid: 6a6a6fdea17b444c2b029fac5aad800e
timeCreated: 1462415445
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/@Lua/Base/LGlobal.lua
================================================
--
-- Lua global definition file.
--
-- @filename LGlobal.lua
-- The declared global name.
local DeclaredNames = {}
-- The internal global variable table check method.
local function __inner_declare(Name, InitValue)
if not rawget(_G, Name) then
rawset(_G, Name, InitValue or false)
else
error("You have already declared global : " .. Name, 2)
end
DeclaredNames[Name] = true
return _G[Name]
end
-- The internal global variable table index method.
local function __inner_declare_index(t, k)
if not DeclaredNames[k] then
error("Attempt to access an undeclared global variable : " .. k, 2)
end
return nil
end
local ignore_global = {protobuf=true}
-- The internal global variable table newindex method.
local function __inner_declare_newindex(t, k, v)
if (not DeclaredNames[k]) and (ignore_global[k] == nil) then
error("Attempt to write an undeclared global variable : " .. k, 2)
else
rawset(t, k, v)
end
end
-- The global variable declare function.
local function __Declare(Name, InitValue)
local ok, res = pcall(__inner_declare, Name, InitValue)
if not ok then
print(debug.traceback(res, 2))
return nil
else
return res
end
end
-- Check if a global variable is declared.
local function __IsDeclared(Name)
if DeclaredNames[Name] or rawget(_G, Name) then
return true
else
return false
end
end
-- Set "Declare" into global.
if (not __IsDeclared("LDeclare")) or (not LDeclare) then
__Declare("LDeclare", __Declare)
end
-- Set "IsDeclared" into global.
if (not __IsDeclared("LIsDeclared")) or (not LIsDeclared) then
__Declare("LIsDeclared", __IsDeclared)
end
-- Set limit to define global variables.
setmetatable(_G,
{
__index = function (t, k)
local ok, res = pcall(__inner_declare_index, t, k)
if not ok then
print(debug.traceback(res, 2))
end
return nil
end,
__newindex = function (t, k, v)
local ok, res = pcall(__inner_declare_newindex, t, k, v)
if not ok then
print(debug.traceback(res, 2))
end
end
})
-- Return this.
return __Declare
================================================
FILE: Assets/Game/@Lua/Base/LGlobal.lua.meta
================================================
fileFormatVersion: 2
guid: 58057dc8c9be442b79b1538261f96691
timeCreated: 1462415445
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/@Lua/Base/LMessage.lua
================================================
-- 通用事件派发器 static class
--[[
eg: LMessage:addEvent(
"eventName",
function(data)
print(data[1], data[2], data[3]) --1, 2, 3
end
)
LMessage:dispatchEvent("eventName", {1, 2, 3})
]]
LEventData = LDeclare("LEventData", LClass("LEventData"))
LEventData.name = ""
LEventData.listener = nil
LEventData.target = nil
function LEventData:create()
return LEventData.new()
end
LMessage = LDeclare("LMessage", LClass("LMessage"))
LMessage._eventDict = {}
--[[
注册事件
@param eventName 事件名
@param listener 回调函数
@param target 注册者(类似使用target:listener())
]]
function LMessage:addEvent(eventName, listener, target)
assert(type(eventName) == "string" or eventName ~= "", "invalid event name")
if not listener then
return
end
local listeners = LMessage._eventDict[eventName] or {}
LMessage._eventDict[eventName] = listeners
for _, v in ipairs(listeners) do
if v.listener == listener then
return
end
end
local event = LEventData:create()
event.listener = listener
event.name = eventName
event.target = target
table.insert(listeners, event)
end
function LMessage:removeEvent(eventName, listener)
local listeners = LMessage._eventDict[eventName]
if not listeners then
return
end
-- local event
-- local i = 1
-- while i < #listeners do
-- if event.listener == listener then
-- table.remove(listeners, i)
-- break
-- end
-- end
for i, event in ipairs(listeners) do
if event.listener == listener then
table.remove(listeners, i)
break
end
end
end
function LMessage:dispatchEvent(eventName, data)
local listeners = LMessage._eventDict[eventName]
if not listeners then
return
end
for _, v in ipairs(listeners) do
local callback = v.listener
if v.target then
callback(v.target, data)
else
callback(data)
end
end
end
function LMessage:removeAllEvent(eventName)
LMessage._eventDict[eventName] = nil
end
function LMessage:hasEvent(eventName, listener)
local listeners = LMessage._eventDict[eventName]
if not listeners then
return false
end
for _, event in ipairs(listeners) do
if event.listener == listener then
return true
end
end
return false
end
================================================
FILE: Assets/Game/@Lua/Base/LMessage.lua.meta
================================================
fileFormatVersion: 2
guid: 7f77f5b899c594fe0a121e7b58246c93
timeCreated: 1462415445
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/@Lua/Base/LVersion.lua
================================================
--
-- Lua version parse file.
--
-- @filename Version.lua
-- Get global declare.
local LDeclare = require "Base/LGlobal"
-- Get current version number.
local _, _, majorv, minorv, rev = string.find(_VERSION, "(%d).(%d)[.]?([%d]?)")
local VersionNumber = tonumber(majorv) * 100 + tonumber(minorv) * 10 + (((string.len(rev) == 0) and 0) or tonumber(rev))
-- Declare current version number.
LDeclare("L_VERSION", VersionNumber)
-- Declare lua history version number.
LDeclare("L_VERSION_510", 510)
LDeclare("L_VERSION_520", 520)
LDeclare("L_VERSION_530", 530)
return L_VERSION
================================================
FILE: Assets/Game/@Lua/Base/LVersion.lua.meta
================================================
fileFormatVersion: 2
guid: e6df6eb1d202744a29816e09916a7fb1
timeCreated: 1462415445
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/@Lua/Base.meta
================================================
fileFormatVersion: 2
guid: 605851e052326450ab145e03567794ac
folderAsset: yes
timeCreated: 1462415445
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/@Lua/Game/Common/EventNames.lua
================================================
-- 事件
local EventNames = {}
EventNames.CHARACTOR_HP = "EventNames.CHARACTOR_HP"
EventNames.STATUS_STATE = "EventNames.STATUS_STATE"
EventNames.GAME_STATE = "EventNames.GAME_STATE"
EventNames.MSG_PROTO = "EventNames.MSG_PROTO"
EventNames.NET_CONNECT = "EventNames.NET_CONNECT"
EventNames.NET_DISCONNECT = "EventNames.NET_DISCONNECT"
EventNames.BATTLE_PLAYER_CHANGE = "EventNames.BATTLE_PLAYER_CHANGE"
EventNames.BATTLE_CAMERA_MOVE = "EventNames.BATTLE_CAMERA_MOVE"
EventNames.BATTLE_PLAYER_MOVE = "EventNames.BATTLE_PLAYER_MOVE"
EventNames.BATTLE_PLAYER_ATTACK = "EventNames.BATTLE_PLAYER_ATTACK"
EventNames.BATTLE_PLAYER_RELOAD = "EventNames.BATTLE_PLAYER_RELOAD"
EventNames.BATTLE_ENEMY_HURT = "EventNames.BATTLE_ENEMY_HURT"
EventNames.BATTLE_ENEMY_DIE = "EventNames.BATTLE_ENEMY_DIE"
EventNames.BATTLE_ENEMY_NUM = "EventNames.BATTLE_ENEMY_NUM"
EventNames.BATTLE_ENEMY_HEADSHOT = "EventNames.BATTLE_ENEMY_HEADSHOT"
EventNames.BATTLE_ENEMY_CREATE = "EventNames.BATTLE_ENEMY_CREATE"
EventNames.BATTLE_PLAYER_HP = "EventNames.BATTLE_PLAYER_HP"
EventNames.BATTLE_CHARACTOR_DIE = "EventNames.BATTLE_CHARACTOR_DIE"
EventNames.BATTLE_WEAPON_AIM = "EventNames.BATTLE_WEAPON_AIM"
EventNames.BATTLE_WEAPON_SHELL = "EventNames.BATTLE_WEAPON_SHELL"
EventNames.BATTLE_SHOW_SHELL = "EventNames.BATTLE_SHOW_SHELL"
EventNames.BATTLE_MAINUI_ENEMYNUM = "EventNames.BATTLE_MAINUI_ENEMYNUM"
EventNames.BATTLE_RESULT = "EventNames.BATTLE_RESULT"
LDeclare("EventNames", EventNames)
return EventNames
================================================
FILE: Assets/Game/@Lua/Game/Common/EventNames.lua.meta
================================================
fileFormatVersion: 2
guid: c5a4821ebe5123f4eba8af7e62ce46f5
timeCreated: 1470564833
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/@Lua/Game/Common/MsgId.lua
================================================
local MsgId = {}
MsgId.hello = 1;
MsgId.registerApp = 2;
MsgId.broadcastApp = 3;
MsgId.updateApp = 4;
MsgId.webAppCmd = 1000;
MsgId.adminAppCmd = 1001;
LDeclare("MsgId", MsgId)
return MsgId
================================================
FILE: Assets/Game/@Lua/Game/Common/MsgId.lua.meta
================================================
fileFormatVersion: 2
guid: 24d1a143c37794c4ab1439e8cfbb95b7
timeCreated: 1470562462
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/@Lua/Game/Common/NetworkManager.lua
================================================
-- 网络管理
local NetworkManager = LDeclare("NetworkManager", LClass("NetworkManager"))
NetworkManager._instance = nil
NetworkManager._netWork = nil
function NetworkManager:GetInstance()
if NetworkManager._instance == nil then
NetworkManager._instance = NetworkManager()
NetworkManager._instance:init()
end
return NetworkManager._instance
end
function NetworkManager:init()
require "Lib/protobuf/protobuf"
-- self.ip = "192.168.1.39"
-- self.port = 20096
self.ip = "localhost"
self.port = 9001
self._netWork = Network.GetInstance()
self._netWork.onConnect = function(isConn)
print("onConnect:" , isConn);
self.isConn = isConn
-- local component_hello = {
-- appId = 123,
-- appType = 12345,
-- groupId = 15615
-- }
-- self:send(MsgId.hello,component_hello)
LMessage:dispatchEvent(EventNames.NET_CONNECT,isConn)
end
self._netWork.onHandleMessage = function(msgId,packet)
print("onHandleMessage")
local decode = protobuf.decode(string.format("component.component_%s",self.msgIdsName[msgId]),packet)
LMessage:dispatchEvent(EventNames.MSG_PROTO,{id=msgId,obj=decode})
end
self._netWork.onDisconnect = function()
print("onDisconnect")
self.isConn = false
LMessage:dispatchEvent(EventNames.NET_DISCONNECT)
end
self:proto()
self._netWork:connect(self.ip, self.port);
end
function NetworkManager:proto()
self.msgIdsName = {}
for name,id in pairs(MsgId) do
self.msgIdsName[id] = name
end
self.protoFile = "masterd"
local buffer = self._netWork:GetProtoBytes(self.protoFile)
protobuf.register(buffer)
end
function NetworkManager:send(msgId,protoObj)
if self._netWork:valid() and self.isConn then
local code = protobuf.encode(string.format("component.component_%s",self.msgIdsName[msgId]),protoObj)
self._netWork:send(msgId,code)
end
end
return NetworkManager
================================================
FILE: Assets/Game/@Lua/Game/Common/NetworkManager.lua.meta
================================================
fileFormatVersion: 2
guid: a31fce2e14bc9c545ae091b69ab912d0
timeCreated: 1470562129
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/@Lua/Game/Common/Util.lua
================================================
local Util = {}
-- 清空子节点
Util.removeAllChild = function(gameObject)
local len = gameObject.transform.childCount
local obj = nil
for i=0,len-1 do
obj = gameObject.transform:GetChild(i).gameObject
Object.Destroy(obj)
end
end
-- 切割字符串
Util.split = function(s, p)
local rt= {}
string.gsub(s, '[^'..p..']+', function(w) table.insert(rt, w) end )
return rt
end
-- 用标签获取组件参数
Util.GetComponentWithFlag = function(obj,flag,otype)
if obj == nil then return end
local links = obj:GetComponents(Link)
for v in Slua.iter(links) do
if v.flag == flag then
if otype then
return v.target:GetComponent(otype)
end
return v.target
end
end
return nil
end
Util.FindComponentFlag = function(obj,str)
local links = obj:GetComponents(Link)
for v in Slua.iter(links) do
local a,b = string.find(v.flag,str)
if a ~=nil and b ~=nil then
return string.sub(v.flag,b+1)
end
end
return nil
end
Util.AnimatorIsPlaying = function(animator,name)
local ret = false
if name then
local stateInfo = animator:GetCurrentAnimatorStateInfo(0);
if stateInfo:IsName("Base Layer.".. name) and stateInfo.normalizedTime < 1 then
ret = true
end
end
return ret
end
LDeclare("Util", Util)
return Util
================================================
FILE: Assets/Game/@Lua/Game/Common/Util.lua.meta
================================================
fileFormatVersion: 2
guid: abe1c3fb2a5fd79489c65338eef894e9
timeCreated: 1470562129
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/@Lua/Game/Common/i18n.lua
================================================
local i18n = {}
--# main.lua
i18n["1001"] = "初始化游戏"
i18n["1002"] = "初始化需要一点点时间(%d/100)"
LDeclare("i18n", i18n)
return i18n
================================================
FILE: Assets/Game/@Lua/Game/Common/i18n.lua.meta
================================================
fileFormatVersion: 2
guid: 92cbb1004d9363c4e9be2a66ae20d256
timeCreated: 1480475203
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/@Lua/Game/Common.meta
================================================
fileFormatVersion: 2
guid: 0ed788816d573da438a8f44208f496c8
folderAsset: yes
timeCreated: 1470562129
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/@Lua/Game/MsgBox.lua
================================================
-- 消息窗
local MsgBox = LDeclare("MsgBox", LClass("MsgBox"))
function MsgBox:Start()
print("MsgBox Start")
self.btn_close = self.gameObject.transform:Find("btn_close"):GetComponent(Button)
self.btn_close.onClick:AddListener(function()
self.gameObject:GetComponent(Image).sprite = nil
LWindowManager.GetInstance():popWindow("Prefabs/MsgBox.prefab")
end)
end
function MsgBox:OnDestroy()
LLoadBundle.GetInstance():UnloadBundles({
"atlas-face_png.ab",
"scenes-first_unity.ab",
"prefabs-msgbox_prefab.ab"})
end
return MsgBox
================================================
FILE: Assets/Game/@Lua/Game/MsgBox.lua.meta
================================================
fileFormatVersion: 2
guid: 6ef219370e84c734cacd4bdc6d2d217e
timeCreated: 1471161314
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/@Lua/Game/Proto/masterd.bytes
================================================
masterd.proto component"B
component_hello
appId (
appType (
groupId (
"
component_broadcastApp
id (
type (
state (
internaladdr (
internalport (
externaladdr (
externalport (
processid (
groupid (
externaddr
(
externport (
"
component_registerApp
id (
type (
groupid (
internaladdr (
internalport (
externaladdr (
externalport (
externaddr (
externport (
"=
component_updateApp
id (
type (
load (
*f
msgId
hello
registerApp
broadcastApp
updateApp
webAppCmd
adminAppCmd
================================================
FILE: Assets/Game/@Lua/Game/Proto/masterd.bytes.meta
================================================
fileFormatVersion: 2
guid: 222d8d82c180a3441b9b433d7bc13b4b
timeCreated: 1470564399
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/@Lua/Game/Proto.meta
================================================
fileFormatVersion: 2
guid: 4f1ae7b788560ec4a8a806b06b1f2136
folderAsset: yes
timeCreated: 1470561899
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/@Lua/Game.meta
================================================
fileFormatVersion: 2
guid: feb7d35f0122c7242a31bf2903ceb061
folderAsset: yes
timeCreated: 1470561899
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/@Lua/Lib/protobuf/parser.lua
================================================
-----------------------
-- simple proto parser
-----------------------
local lpeg = require "lpeg"
local P = lpeg.P
local S = lpeg.S
local R = lpeg.R
local C = lpeg.C
local Ct = lpeg.Ct
local Cg = lpeg.Cg
local Cc = lpeg.Cc
local V = lpeg.V
local next = next
local error = error
local tonumber = tonumber
local pairs = pairs
local ipairs = ipairs
local rawset = rawset
local tinsert = table.insert
local smatch = string.match
local sbyte = string.byte
local internal_type = {
double = "TYPE_DOUBLE",
float = "TYPE_FLOAT",
uint64 = "TYPE_UINT64",
int = "TYPE_INT32",
int32 = "TYPE_INT32",
int64 = "TYPE_INT64",
fixed64 = "TYPE_FIXED64",
fixed32 = "TYPE_FIXED32",
bool = "TYPE_BOOL",
string = "TYPE_STRING",
bytes = "TYPE_BYTES",
uint32 = "TYPE_UINT32",
sfixed32 = "TYPE_SFIXED32",
sfixed64 = "TYPE_SFIXED64",
sint32 = "TYPE_SINT32",
sint64 = "TYPE_SINT64",
}
local function count_lines(_,pos, parser_state)
if parser_state.pos < pos then
parser_state.line = parser_state.line + 1
parser_state.pos = pos
end
return pos
end
local exception = lpeg.Cmt( lpeg.Carg(1) , function ( _ , pos, parser_state)
error( "syntax error at [" .. (parser_state.file or "") .."] (" .. parser_state.line ..")" )
return pos
end)
local eof = P(-1)
local newline = lpeg.Cmt((P"\n" + "\r\n") * lpeg.Carg(1) ,count_lines)
local line_comment = "//" * (1 - newline) ^0 * (newline + eof)
local blank = S" \t" + newline + line_comment
local blank0 = blank ^ 0
local blanks = blank ^ 1
local alpha = R"az" + R"AZ" + "_"
local alnum = alpha + R"09"
local str_c = (1 - S("\\\"")) + P("\\") * 1
local str = P"\"" * C(str_c^0) * "\""
local dotname = ("." * alpha * alnum ^ 0) ^ 0
local typename = C(alpha * alnum ^ 0 * dotname)
local name = C(alpha * alnum ^ 0)
local filename = P"\"" * C((alnum + "/" + "." + "-")^1) * "\""
local id = R"09" ^ 1 / tonumber + "max" * Cc(-1)
local bool = "true" * Cc(true) + "false" * Cc(false)
local value = str + bool + name + id
local patterns = {}
local enum_item = Cg(name * blank0 * "=" * blank0 * id * blank0 * ";" * blank0)
local function insert(tbl, k,v)
tinsert(tbl, { name = k , number = v })
return tbl
end
patterns.ENUM = Ct(Cg("enum","type") * blanks * Cg(typename,"name") * blank0 *
"{" * blank0 *
Cg(lpeg.Cf(Ct"" * enum_item^1 , insert),"value")
* "}" * blank0)
local prefix_field = P"required" * Cc"LABEL_REQUIRED" +
P"optional" * Cc"LABEL_OPTIONAL" +
P"repeated" * Cc"LABEL_REPEATED"
local postfix_pair = blank0 * Cg(name * blank0 * "=" * blank0 * value * blank0)
local postfix_pair_2 = blank0 * "," * postfix_pair
local postfix_field = "[" * postfix_pair * postfix_pair_2^0 * blank0 * "]"
local options = lpeg.Cf(Ct"" * postfix_field , rawset) ^ -1
local function setoption(t, options)
if next(options) then
t.options = options
end
return t
end
local message_field = lpeg.Cf (
Ct( Cg(prefix_field,"label") * blanks *
Cg(typename,"type_name") * blanks *
Cg(name,"name") * blank0 * "=" * blank0 *
Cg(id,"number")
) * blank0 * options ,
setoption) * blank0 * ";" * blank0
local extensions = Ct(
Cg("extensions" , "type") * blanks *
Cg(id,"start") * blanks * "to" * blanks *
Cg(id,"end") * blank0 * ";" * blank0
)
patterns.EXTEND = Ct(
Cg("extend", "type") * blanks *
Cg(typename, "name") * blank0 * "{" * blank0 *
Cg(Ct((message_field) ^ 1),"extension") * "}" * blank0
)
patterns.MESSAGE = P { Ct(
Cg("message","type") * blanks *
Cg(typename,"name") * blank0 * "{" * blank0 *
Cg(Ct((message_field + patterns.ENUM + extensions + patterns.EXTEND + V(1)) ^ 0),"items") * "}" * blank0
) }
patterns.OPTION = Ct(
Cg("option" , "type") * blanks *
Cg(name, "name") * blank0 * "=" * blank0 *
Cg(value, "value")
) * blank0 * ";" * blank0
patterns.IMPORT = Ct( Cg("import" , "type") * blanks * Cg(filename, "name") ) * blank0 * ";" * blank0
patterns.PACKAGE = Ct( Cg("package", "type") * blanks * Cg(typename, "name") ) * blank0 * ";" * blank0
local proto_tbl = { "PROTO" }
do
local k, v = next(patterns)
local p = V(k)
proto_tbl[k] = v
for k,v in next , patterns , k do
proto_tbl[k] = v
p = p + V(k)
end
proto_tbl.PROTO = Ct(blank0 * p ^ 1)
end
local proto = P(proto_tbl)
local deal = {}
function deal:import(v)
self.dependency = self.dependency or {}
tinsert(self.dependency , v.name)
end
function deal:package(v)
self.package = v.name
end
function deal:enum(v)
self.enum_type = self.enum_type or {}
tinsert(self.enum_type , v)
end
function deal:option(v)
self.options = self.options or {}
self.options[v.name] = v.value
end
function deal:extend(v)
self.extension = self.extension or {}
local extendee = v.name
for _,v in ipairs(v.extension) do
v.extendee = extendee
v.type = internal_type[v.type_name]
if v.type then
v.type_name = nil
end
tinsert(self.extension , v)
end
end
function deal:extensions(v)
self.extension_range = self.extension_range or {}
tinsert(self.extension_range, v)
end
local function _add_nested_message(self, item)
if item.type == nil then
item.type = internal_type[item.type_name]
if item.type then
item.type_name = nil
end
self.field = self.field or {}
tinsert(self.field, item)
else
local f = deal[item.type]
item.type = nil
f(self , item)
end
end
function deal:message(v)
self.nested_type = self.nested_type or {}
local m = { name = v.name }
tinsert(self.nested_type , m)
for _,v in ipairs(v.items) do
_add_nested_message(m, v)
end
end
local function fix(r)
local p = {}
for _,v in ipairs(r) do
local f = deal[v.type]
v.type = nil
f(p , v)
end
p.message_type = p.nested_type
p.nested_type = nil
return p
end
--- fix message name
local NULL = {}
local function _match_name(namespace , n , all)
if sbyte(n) == 46 then
return n
end
repeat
local name = namespace .. "." .. n
if all[name] then
return name
end
namespace = smatch(namespace,"(.*)%.[%w_]+$")
until namespace == nil
end
local function _fix_field(namespace , field, all)
local type_name = field.type_name
if type_name == "" then
field.type_name = nil
return
elseif type_name == nil then
return
end
local full_name = assert(_match_name(namespace, field.type_name, all) , field.type_name , all)
field.type_name = full_name
field.type = all[full_name]
local options = field.options
if options then
if options.default then
field.default_value = tostring(options.default)
options.default = nil
end
if next(options) == nil then
field.options = nil
end
end
end
local function _fix_extension(namespace, ext, all)
for _,field in ipairs(ext or NULL) do
field.extendee = assert(_match_name(namespace, field.extendee,all),field.extendee)
_fix_field(namespace , field , all)
end
end
local function _fix_message(msg , all)
for _,field in ipairs(msg.field or NULL) do
_fix_field(assert(all[msg],msg.name) , field , all)
end
for _,nest in ipairs(msg.nested_type or NULL) do
_fix_message(nest , all)
end
_fix_extension(all[msg] , msg.extension , all)
end
local function _fix_typename(file , all)
for _,message in ipairs(file.message_type or NULL) do
_fix_message(message , all)
end
_fix_extension(file.package , file.extension , all)
end
--- merge messages
local function _enum_fullname(prefix, enum , all)
local fullname
if sbyte(enum.name) == 46 then
fullname = enum.name
else
fullname = prefix .. "." .. enum.name
end
all[fullname] = "TYPE_ENUM"
all[enum] = fullname
end
local function _message_fullname(prefix , msg , all)
local fullname
if sbyte(msg.name) == 46 then
fullname = msg.name
else
fullname = prefix .. "." .. msg.name
end
all[fullname] = "TYPE_MESSAGE"
all[msg] = fullname
for _,nest in ipairs(msg.nested_type or NULL) do
_message_fullname(fullname , nest , all)
end
for _,enum in ipairs(msg.enum_type or NULL) do
_enum_fullname(fullname , enum , all)
end
end
local function _gen_fullname(file , all)
local prefix = ""
if file.package then
prefix = "." .. file.package
end
for _,message in ipairs(file.message_type or NULL) do
_message_fullname(prefix , message , all)
end
for _,enum in ipairs(file.enum_type or NULL) do
_enum_fullname(prefix , enum , all)
end
end
--- parser
local parser = {}
local function parser_one(text,filename)
local state = { file = filename, pos = 0, line = 1 }
local r = lpeg.match(proto * -1 + exception , text , 1, state )
local t = fix(r)
return t
end
function parser.parser(text,filename)
local t = parser_one(text,filename)
local all = {}
_gen_fullname(t,all)
_fix_typename(t , all)
return t
end
local pb = require "protobuf"
function parser.register(fileset , path)
local all = {}
local files = {}
if type(fileset) == "string" then
fileset = { fileset }
end
for _, filename in ipairs(fileset) do
local fullname
if path then
fullname = path .. "/" .. filename
else
fullname = filename
end
local f = assert(io.open(fullname , "r"))
local buffer = f:read "*a"
f:close()
local t = parser_one(buffer,filename)
_gen_fullname(t,all)
t.name = filename
tinsert(files , t)
end
for _,file in ipairs(files) do
_fix_typename(file,all)
end
local pbencode = pb.encode("google.protobuf.FileDescriptorSet" , { file = files })
if pbencode == nil then
error(pb.lasterror())
end
pb.register(pbencode)
return files
end
return parser
================================================
FILE: Assets/Game/@Lua/Lib/protobuf/parser.lua.meta
================================================
fileFormatVersion: 2
guid: 6cd0b0e903f425e47800ac1108158e4e
timeCreated: 1467076000
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/@Lua/Lib/protobuf/protobuf.lua
================================================
local c = require "protobuf.c"
local setmetatable = setmetatable
local type = type
local table = table
local assert = assert
local pairs = pairs
local ipairs = ipairs
local string = string
local print = print
local io = io
local tinsert = table.insert
local rawget = rawget
module "protobuf"
local _pattern_cache = {}
-- skynet clear
local P = c._env_new()
local GC = c._gc(P)
function lasterror()
return c._last_error(P)
end
local decode_type_cache = {}
local _R_meta = {}
function _R_meta:__index(key)
local v = decode_type_cache[self._CType][key](self, key)
self[key] = v
return v
end
local _reader = {}
function _reader:int(key)
return c._rmessage_integer(self._CObj , key , 0)
end
function _reader:real(key)
return c._rmessage_real(self._CObj , key , 0)
end
function _reader:string(key)
return c._rmessage_string(self._CObj , key , 0)
end
function _reader:bool(key)
return c._rmessage_integer(self._CObj , key , 0) ~= 0
end
function _reader:message(key, message_type)
local rmessage = c._rmessage_message(self._CObj , key , 0)
if rmessage then
local v = {
_CObj = rmessage,
_CType = message_type,
_Parent = self,
}
return setmetatable( v , _R_meta )
end
end
function _reader:int32(key)
return c._rmessage_int32(self._CObj , key , 0)
end
function _reader:int64(key)
return c._rmessage_int64(self._CObj , key , 0)
end
function _reader:int52(key)
return c._rmessage_int52(self._CObj , key , 0)
end
function _reader:uint52(key)
return c._rmessage_uint52(self._CObj , key , 0)
end
function _reader:int_repeated(key)
local cobj = self._CObj
local n = c._rmessage_size(cobj , key)
local ret = {}
for i=0,n-1 do
tinsert(ret, c._rmessage_integer(cobj , key , i))
end
return ret
end
function _reader:real_repeated(key)
local cobj = self._CObj
local n = c._rmessage_size(cobj , key)
local ret = {}
for i=0,n-1 do
tinsert(ret, c._rmessage_real(cobj , key , i))
end
return ret
end
function _reader:string_repeated(key)
local cobj = self._CObj
local n = c._rmessage_size(cobj , key)
local ret = {}
for i=0,n-1 do
tinsert(ret, c._rmessage_string(cobj , key , i))
end
return ret
end
function _reader:bool_repeated(key)
local cobj = self._CObj
local n = c._rmessage_size(cobj , key)
local ret = {}
for i=0,n-1 do
tinsert(ret, c._rmessage_integer(cobj , key , i) ~= 0)
end
return ret
end
function _reader:message_repeated(key, message_type)
local cobj = self._CObj
local n = c._rmessage_size(cobj , key)
local ret = {}
for i=0,n-1 do
local m = {
_CObj = c._rmessage_message(cobj , key , i),
_CType = message_type,
_Parent = self,
}
tinsert(ret, setmetatable( m , _R_meta ))
end
return ret
end
function _reader:int32_repeated(key)
local cobj = self._CObj
local n = c._rmessage_size(cobj , key)
local ret = {}
for i=0,n-1 do
tinsert(ret, c._rmessage_int32(cobj , key , i))
end
return ret
end
function _reader:int64_repeated(key)
local cobj = self._CObj
local n = c._rmessage_size(cobj , key)
local ret = {}
for i=0,n-1 do
tinsert(ret, c._rmessage_int64(cobj , key , i))
end
return ret
end
function _reader:int52_repeated(key)
local cobj = self._CObj
local n = c._rmessage_size(cobj , key)
local ret = {}
for i=0,n-1 do
tinsert(ret, c._rmessage_int52(cobj , key , i))
end
return ret
end
function _reader:uint52_repeated(key)
local cobj = self._CObj
local n = c._rmessage_size(cobj , key)
local ret = {}
for i=0,n-1 do
tinsert(ret, c._rmessage_uint52(cobj , key , i))
end
return ret
end
_reader[1] = function(msg) return _reader.int end
_reader[2] = function(msg) return _reader.real end
_reader[3] = function(msg) return _reader.bool end
_reader[4] = function(msg) return _reader.string end
_reader[5] = function(msg) return _reader.string end
_reader[6] = function(msg)
local message = _reader.message
return function(self,key)
return message(self, key, msg)
end
end
_reader[7] = function(msg) return _reader.int64 end
_reader[8] = function(msg) return _reader.int32 end
_reader[9] = _reader[5]
_reader[10] = function(msg) return _reader.int52 end
_reader[11] = function(msg) return _reader.uint52 end
_reader[128+1] = function(msg) return _reader.int_repeated end
_reader[128+2] = function(msg) return _reader.real_repeated end
_reader[128+3] = function(msg) return _reader.bool_repeated end
_reader[128+4] = function(msg) return _reader.string_repeated end
_reader[128+5] = function(msg) return _reader.string_repeated end
_reader[128+6] = function(msg)
local message = _reader.message_repeated
return function(self,key)
return message(self, key, msg)
end
end
_reader[128+7] = function(msg) return _reader.int64_repeated end
_reader[128+8] = function(msg) return _reader.int32_repeated end
_reader[128+9] = _reader[128+5]
_reader[128+10] = function(msg) return _reader.int52_repeated end
_reader[128+11] = function(msg) return _reader.uint52_repeated end
local _decode_type_meta = {}
function _decode_type_meta:__index(key)
local t, msg = c._env_type(P, self._CType, key)
local func = assert(_reader[t],key)(msg)
self[key] = func
return func
end
setmetatable(decode_type_cache , {
__index = function(self, key)
local v = setmetatable({ _CType = key } , _decode_type_meta)
self[key] = v
return v
end
})
local function decode_message( message , buffer, length)
local rmessage = c._rmessage_new(P, message, buffer, length)
if rmessage then
local self = {
_CObj = rmessage,
_CType = message,
}
c._add_rmessage(GC,rmessage)
return setmetatable( self , _R_meta )
end
end
----------- encode ----------------
local encode_type_cache = {}
local function encode_message(CObj, message_type, t)
local type = encode_type_cache[message_type]
for k,v in pairs(t) do
local func = type[k]
func(CObj, k , v)
end
end
local _writer = {
int = c._wmessage_integer,
real = c._wmessage_real,
enum = c._wmessage_string,
string = c._wmessage_string,
int64 = c._wmessage_int64,
int32 = c._wmessage_int32,
int52 = c._wmessage_int52,
uint52 = c._wmessage_uint52,
}
function _writer:bool(k,v)
c._wmessage_integer(self, k, v and 1 or 0)
end
function _writer:message(k, v , message_type)
local submessage = c._wmessage_message(self, k)
encode_message(submessage, message_type, v)
end
function _writer:int_repeated(k,v)
for _,v in ipairs(v) do
c._wmessage_integer(self,k,v)
end
end
function _writer:real_repeated(k,v)
for _,v in ipairs(v) do
c._wmessage_real(self,k,v)
end
end
function _writer:bool_repeated(k,v)
for _,v in ipairs(v) do
c._wmessage_integer(self, k, v and 1 or 0)
end
end
function _writer:string_repeated(k,v)
for _,v in ipairs(v) do
c._wmessage_string(self,k,v)
end
end
function _writer:message_repeated(k,v, message_type)
for _,v in ipairs(v) do
local submessage = c._wmessage_message(self, k)
encode_message(submessage, message_type, v)
end
end
function _writer:int32_repeated(k,v)
for _,v in ipairs(v) do
c._wmessage_int32(self,k,v)
end
end
function _writer:int64_repeated(k,v)
for _,v in ipairs(v) do
c._wmessage_int64(self,k,v)
end
end
function _writer:int52_repeated(k,v)
for _,v in ipairs(v) do
c._wmessage_int52(self,k,v)
end
end
function _writer:uint52_repeated(k,v)
for _,v in ipairs(v) do
c._wmessage_uint52(self,k,v)
end
end
_writer[1] = function(msg) return _writer.int end
_writer[2] = function(msg) return _writer.real end
_writer[3] = function(msg) return _writer.bool end
_writer[4] = function(msg) return _writer.string end
_writer[5] = function(msg) return _writer.string end
_writer[6] = function(msg)
local message = _writer.message
return function(self,key , v)
return message(self, key, v, msg)
end
end
_writer[7] = function(msg) return _writer.int64 end
_writer[8] = function(msg) return _writer.int32 end
_writer[9] = _writer[5]
_writer[10] = function(msg) return _writer.int52 end
_writer[11] = function(msg) return _writer.uint52 end
_writer[128+1] = function(msg) return _writer.int_repeated end
_writer[128+2] = function(msg) return _writer.real_repeated end
_writer[128+3] = function(msg) return _writer.bool_repeated end
_writer[128+4] = function(msg) return _writer.string_repeated end
_writer[128+5] = function(msg) return _writer.string_repeated end
_writer[128+6] = function(msg)
local message = _writer.message_repeated
return function(self,key, v)
return message(self, key, v, msg)
end
end
_writer[128+7] = function(msg) return _writer.int64_repeated end
_writer[128+8] = function(msg) return _writer.int32_repeated end
_writer[128+9] = _writer[128+5]
_writer[128+10] = function(msg) return _writer.int52_repeated end
_writer[128+11] = function(msg) return _writer.uint52_repeated end
local _encode_type_meta = {}
function _encode_type_meta:__index(key)
local t, msg = c._env_type(P, self._CType, key)
local func = assert(_writer[t],key)(msg)
self[key] = func
return func
end
setmetatable(encode_type_cache , {
__index = function(self, key)
local v = setmetatable({ _CType = key } , _encode_type_meta)
self[key] = v
return v
end
})
function encode( message, t , func , ...)
local encoder = c._wmessage_new(P, message)
assert(encoder , message)
encode_message(encoder, message, t)
if func then
local buffer, len = c._wmessage_buffer(encoder)
local ret = func(buffer, len, ...)
c._wmessage_delete(encoder)
return ret
else
local s = c._wmessage_buffer_string(encoder)
c._wmessage_delete(encoder)
return s
end
end
--------- unpack ----------
local _pattern_type = {
[1] = {"%d","i"},
[2] = {"%F","r"},
[3] = {"%d","b"},
[4] = {"%d","i"},
[5] = {"%s","s"},
[6] = {"%s","m"},
[7] = {"%D","x"},
[8] = {"%d","p"},
[10] = {"%D","d"},
[11] = {"%D","u"},
[128+1] = {"%a","I"},
[128+2] = {"%a","R"},
[128+3] = {"%a","B"},
[128+4] = {"%a","I"},
[128+5] = {"%a","S"},
[128+6] = {"%a","M"},
[128+7] = {"%a","X"},
[128+8] = {"%a","P"},
[128+10] = {"%a", "D" },
[128+11] = {"%a", "U" },
}
_pattern_type[9] = _pattern_type[5]
_pattern_type[128+9] = _pattern_type[128+5]
local function _pattern_create(pattern)
local iter = string.gmatch(pattern,"[^ ]+")
local message = iter()
local cpat = {}
local lua = {}
for v in iter do
local tidx = c._env_type(P, message, v)
local t = _pattern_type[tidx]
assert(t,tidx)
tinsert(cpat,v .. " " .. t[1])
tinsert(lua,t[2])
end
local cobj = c._pattern_new(P, message , "@" .. table.concat(cpat," "))
if cobj == nil then
return
end
c._add_pattern(GC, cobj)
local pat = {
CObj = cobj,
format = table.concat(lua),
size = 0
}
pat.size = c._pattern_size(pat.format)
return pat
end
setmetatable(_pattern_cache, {
__index = function(t, key)
local v = _pattern_create(key)
t[key] = v
return v
end
})
function unpack(pattern, buffer, length)
local pat = _pattern_cache[pattern]
return c._pattern_unpack(pat.CObj , pat.format, pat.size, buffer, length)
end
function pack(pattern, ...)
local pat = _pattern_cache[pattern]
return c._pattern_pack(pat.CObj, pat.format, pat.size , ...)
end
function check(typename , field)
if field == nil then
return c._env_type(P,typename)
else
return c._env_type(P,typename,field) ~=0
end
end
--------------
local default_cache = {}
-- todo : clear default_cache, v._CObj
local function default_table(typename)
local v = default_cache[typename]
if v then
return v
end
v = { __index = assert(decode_message(typename , "")) }
default_cache[typename] = v
return v
end
local decode_message_mt = {}
local function decode_message_cb(typename, buffer)
return setmetatable ( { typename, buffer } , decode_message_mt)
end
function decode(typename, buffer, length)
local ret = {}
local ok = c._decode(P, decode_message_cb , ret , typename, buffer, length)
if ok then
return setmetatable(ret , default_table(typename))
else
return false , c._last_error(P)
end
end
local function expand(tbl)
local typename = rawget(tbl , 1)
local buffer = rawget(tbl , 2)
tbl[1] , tbl[2] = nil , nil
assert(c._decode(P, decode_message_cb , tbl , typename, buffer), typename)
setmetatable(tbl , default_table(typename))
end
function decode_message_mt.__index(tbl, key)
expand(tbl)
return tbl[key]
end
function decode_message_mt.__pairs(tbl)
expand(tbl)
return pairs(tbl)
end
local function set_default(typename, tbl)
for k,v in pairs(tbl) do
if type(v) == "table" then
local t, msg = c._env_type(P, typename, k)
if t == 6 then
set_default(msg, v)
elseif t == 128+6 then
for _,v in ipairs(v) do
set_default(msg, v)
end
end
end
end
return setmetatable(tbl , default_table(typename))
end
function register( buffer)
c._env_register(P, buffer)
end
function register_file(filename)
local f = assert(io.open(filename , "rb"))
local buffer = f:read "*a"
c._env_register(P, buffer)
f:close()
end
function enum_id(enum_type, enum_name)
return c._env_enum_id(P, enum_type, enum_name)
end
function extract(tbl)
local typename = rawget(tbl , 1)
local buffer = rawget(tbl , 2)
if type(typename) == "string" and type(buffer) == "string" then
if check(typename) then
expand(tbl)
end
end
for k, v in pairs(tbl) do
if type(v) == "table" then
extract(v)
end
end
end
default=set_default
================================================
FILE: Assets/Game/@Lua/Lib/protobuf/protobuf.lua.meta
================================================
fileFormatVersion: 2
guid: 17335bd7728baf44eb90e5b885018eb6
timeCreated: 1467076000
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/@Lua/Lib/protobuf.meta
================================================
fileFormatVersion: 2
guid: 7b27e103ca4e7a94db4809d5490bdfbb
folderAsset: yes
timeCreated: 1467076000
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/@Lua/Lib.meta
================================================
fileFormatVersion: 2
guid: 7837997a641ac9e42afe5dc7bb600f7c
folderAsset: yes
timeCreated: 1470561898
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/@Lua/import.lua
================================================
require "Base/LGlobal"
require "Base/LVersion"
require "Base/LClass"
require "Base/LMessage"
require "Game/Common/i18n"
require "Game/Common/Util"
require "Game/Common/MsgId"
require "Game/Common/EventNames"
require "Game/Common/NetworkManager"
require "Game/MsgBox"
================================================
FILE: Assets/Game/@Lua/import.lua.meta
================================================
fileFormatVersion: 2
guid: 77ef4bedebd064ab598b56673ae4559f
timeCreated: 1463891082
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/@Lua/main.lua
================================================
import "UnityEngine"
import "UnityEngine.Object"
import "UnityEngine.UI"
import "UnityEngine.SceneManagement"
import "Lui"
require "import"
local function main()
print(i18n["1001"])
-- NetworkManager:GetInstance()
LLoadBundle.GetInstance():LoadAllBundles({
"scenes-first_unity.ab",
"scenes-second_unity.ab",
"atlas-num_png.ab",
"atlas-face_png.ab",
"atlas-common_png.ab",
"prefabs-msgbox_prefab.ab",
"prefabs-windowgridview_prefab.ab",
"prefabs-list_cell_prefab.ab",
"prefabs-grid_cell_prefab.ab",
"prefabs-page_cell_prefab.ab"
},function()
local lab_progress = GameObject.Find("lab_progress"):GetComponent(Text)
LWindowManager:GetInstance():LoadSceneAsync("first",function( p )
lab_progress.text = string.format(i18n["1002"],p)
end)
end,nil)
end
-- Declare global function.
LDeclare("main", main)
return main
================================================
FILE: Assets/Game/@Lua/main.lua.meta
================================================
fileFormatVersion: 2
guid: d6e78b7e14bb27f4f9a3f16365b75394
timeCreated: 1474776353
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/@Lua.meta
================================================
fileFormatVersion: 2
guid: c08388a38d2a3d14db7bc4768cc0c13f
folderAsset: yes
timeCreated: 1455897199
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Editor/AssetBundleMaker/ExportAssetBundles.cs
================================================
using UnityEngine;
using UnityEditor;
using UnityEngine.Events;
using System.IO;
using System.Text;
using System.Collections.Generic;
public class ExportAssetBundles : Editor
{
public static void Run()
{
MakeDebugFile.CopyLuaTxt();
CreateAssetBundles();
// CreateZipFile();
CreateVersionFile();
AssetDatabase.Refresh();
}
public static void CreateAssetBundles()
{
Helper.forEachHandle(Application.dataPath + "/StreamingAssets", new List<string> { "ab", "manifest" }, (string filename) =>
{
string assetPath = filename.Replace(Application.dataPath, "Assets");
AssetDatabase.DeleteAsset(assetPath);
});
string[] paths = new string[] { "Audios", "Prefabs", "Atlas", "@Lua", "Scenes" };
List<AssetBundleBuild> buildMap = new List<AssetBundleBuild>();
foreach (string path in paths)
{
string basePath = Application.dataPath + "/Game/Resources/" + path;
if (path.StartsWith("@"))
{
List<string> list = new List<string>();
Helper.forEachHandle(basePath, null, (string filename) => {
string assetPath = filename.Replace(Application.dataPath, "Assets");
list.Add(assetPath);
});
AssetBundleBuild build = new AssetBundleBuild();
build.assetBundleName = path + ".ab";
build.assetNames = list.ToArray();
buildMap.Add(build);
}
else {
Helper.forEachHandle(basePath, null, (string filename) => {
string assetPath = filename.Replace(Application.dataPath, "Assets");
string baseName = assetPath.Substring(22);
AssetBundleBuild build = new AssetBundleBuild();
build.assetBundleName = baseName.Replace('.', '_').Replace(Path.DirectorySeparatorChar, '-') + ".ab";
build.assetNames = new string[] { assetPath };
buildMap.Add(build);
});
}
}
BuildPipeline.BuildAssetBundles(Application.streamingAssetsPath, buildMap.ToArray(),
BuildAssetBundleOptions.DeterministicAssetBundle |
BuildAssetBundleOptions.DisableWriteTypeTree |
BuildAssetBundleOptions.ChunkBasedCompression, ExportConfigWindow.BUILD_TARGET);
//删除临时lua文件
AssetDatabase.DeleteAsset("Assets/Game/Resources/@Lua");
}
static void CreateVersionFile()
{
string resPath = ExportConfigWindow.EXPORT_OUT_PATH + Path.DirectorySeparatorChar;
StringBuilder versions = new StringBuilder();
// string zipPath = resPath + LGameConfig.UPDATE_FILE_ZIP;
// if (!File.Exists(zipPath))
// {
// Debug.LogWarning("热更zip包不存在");
// return;
// }
Helper.forEachHandle(Application.dataPath + "/StreamingAssets", new List<string> { "ab" }, (string filename) =>
{
string baseName = Path.GetFileName(filename);
string md5 = ExportAssetBundles.MD5File(filename);
versions.Append(baseName).Append(",").Append(md5).Append("\n");
});
// string md5 = ExportAssetBundles.MD5File(zipPath);
// versions.Append(LGameConfig.UPDATE_FILE_ZIP).Append(",").Append(md5);
// 生成配置文件
FileStream stream = new FileStream(resPath + "version.ver", FileMode.Create);
byte[] data = Encoding.UTF8.GetBytes(versions.ToString());
stream.Write(data, 0, data.Length);
stream.Flush();
stream.Close();
Debug.Log(" 版本文件: " + resPath + "version.ver");
}
// static void CreateZipFile()
// {
// string srcPath = Application.streamingAssetsPath;
// string outPath = ExportConfigWindow.EXPORT_OUT_PATH + Path.DirectorySeparatorChar;
// Helper.forEachHandle(srcPath, new List<string>() { "meta" }, (string filename) =>
// {
// File.Delete(@filename);
// });
// if (!Directory.Exists(srcPath))
// {
// Directory.CreateDirectory(srcPath);
// }
// LUtil.PackFiles(outPath + LGameConfig.UPDATE_FILE_ZIP, srcPath);
// Debug.Log(" 热更zip包: " + outPath + LGameConfig.UPDATE_FILE_ZIP);
// }
public static string MD5File(string file)
{
try
{
FileStream fs = new FileStream(file, FileMode.Open);
System.Security.Cryptography.MD5 md5 = new System.Security.Cryptography.MD5CryptoServiceProvider();
byte[] retVal = md5.ComputeHash(fs);
fs.Close();
StringBuilder sb = new StringBuilder();
for (int i = 0; i < retVal.Length; i++)
{
sb.Append(retVal[i].ToString("x2"));
}
return sb.ToString();
}
catch (System.Exception ex)
{
throw new System.Exception("md5file() fail, error:" + ex.Message);
}
}
}
================================================
FILE: Assets/Game/Editor/AssetBundleMaker/ExportAssetBundles.cs.meta
================================================
fileFormatVersion: 2
guid: 80073506afe2099489208d71e7a56249
timeCreated: 1470452693
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Editor/AssetBundleMaker/ExportConfigWindow.cs
================================================
using UnityEngine;
using UnityEditor;
using System.Collections;
public class ExportConfigWindow : EditorWindow
{
public static string EXPORT_OUT_PATH = Application.dataPath;
public static BuildTarget BUILD_TARGET = BuildTarget.StandaloneWindows;
[MenuItem("Tools/HotFix Config")]
static void Init()
{
#if UNITY_STANDALONE_WIN
BUILD_TARGET = BuildTarget.StandaloneWindows;
#elif UNITY_ANDROID
BUILD_TARGET = BuildTarget.Android;
#elif UNITY_ANDROID
BUILD_TARGET = BuildTarget.iPhone;
#elif UNITY_STANDALONE_OSX
BUILD_TARGET = BuildTarget.StandaloneOSXUniversal;
#endif
// Get existing open window or if none, make a new one:
ExportConfigWindow window = (ExportConfigWindow)EditorWindow.GetWindow(typeof(ExportConfigWindow), true, "Hotfix");
window.Show();
}
void OnGUI()
{
GUILayout.Label("build target", EditorStyles.boldLabel);
BUILD_TARGET = (BuildTarget)EditorGUILayout.EnumPopup("Target", BUILD_TARGET);
if (GUILayout.Button("run"))
{
EditorApplication.delayCall += ExportAssetBundles.Run;
}
}
}
================================================
FILE: Assets/Game/Editor/AssetBundleMaker/ExportConfigWindow.cs.meta
================================================
fileFormatVersion: 2
guid: c2b5ca7dbd1c50444862028209d360b4
timeCreated: 1470452693
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Editor/AssetBundleMaker.meta
================================================
fileFormatVersion: 2
guid: 6ed52869528c7934aaebf7de26dd0e77
folderAsset: yes
timeCreated: 1470552333
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Editor/BmfontMaker/BMFont.cs
================================================
//----------------------------------------------
// NGUI: Next-Gen UI kit
// Copyright © 2011-2015 Tasharen Entertainment
//----------------------------------------------
using UnityEngine;
using System.Collections.Generic;
/// <summary>
/// BMFont reader. C# implementation of http://www.angelcode.com/products/bmfont/
/// </summary>
[System.Serializable]
public class BMFont
{
[HideInInspector][SerializeField] int mSize = 16; // How much to move the cursor when moving to the next line
[HideInInspector][SerializeField] int mBase = 0; // Offset from the top of the line to the base of each character
[HideInInspector][SerializeField] int mWidth = 0; // Original width of the texture
[HideInInspector][SerializeField] int mHeight = 0; // Original height of the texture
[HideInInspector][SerializeField] string mSpriteName;
// List of serialized glyphs
[HideInInspector][SerializeField] List<BMGlyph> mSaved = new List<BMGlyph>();
// Actual glyphs that we'll be working with are stored in a dictionary, making the lookup faster
Dictionary<int, BMGlyph> mDict = new Dictionary<int, BMGlyph>();
/// <summary>
/// Whether the font can be used.
/// </summary>
public bool isValid { get { return (mSaved.Count > 0); } }
/// <summary>
/// Size of this font (for example 32 means 32 pixels).
/// </summary>
public int charSize { get { return mSize; } set { mSize = value; } }
/// <summary>
/// Base offset applied to characters.
/// </summary>
public int baseOffset { get { return mBase; } set { mBase = value; } }
/// <summary>
/// Original width of the texture.
/// </summary>
public int texWidth { get { return mWidth; } set { mWidth = value; } }
/// <summary>
/// Original height of the texture.
/// </summary>
public int texHeight { get { return mHeight; } set { mHeight = value; } }
/// <summary>
/// Number of valid glyphs.
/// </summary>
public int glyphCount { get { return isValid ? mSaved.Count : 0; } }
/// <summary>
/// Original name of the sprite that the font is expecting to find (usually the name of the texture).
/// </summary>
public string spriteName { get { return mSpriteName; } set { mSpriteName = value; } }
/// <summary>
/// Access to BMFont's entire set of glyphs.
/// </summary>
public List<BMGlyph> glyphs { get { return mSaved; } }
/// <summary>
/// Helper function that retrieves the specified glyph, creating it if necessary.
/// </summary>
public BMGlyph GetGlyph (int index, bool createIfMissing)
{
// Get the requested glyph
BMGlyph glyph = null;
if (mDict.Count == 0)
{
// Populate the dictionary for faster access
for (int i = 0, imax = mSaved.Count; i < imax; ++i)
{
BMGlyph bmg = mSaved[i];
mDict.Add(bmg.index, bmg);
}
}
// Saved check is here so that the function call is not needed if it's true
if (!mDict.TryGetValue(index, out glyph) && createIfMissing)
{
glyph = new BMGlyph();
glyph.index = index;
mSaved.Add(glyph);
mDict.Add(index, glyph);
}
return glyph;
}
/// <summary>
/// Retrieve the specified glyph, if it's present.
/// </summary>
public BMGlyph GetGlyph (int index) { return GetGlyph(index, false); }
/// <summary>
/// Clear the glyphs.
/// </summary>
public void Clear ()
{
mDict.Clear();
mSaved.Clear();
}
/// <summary>
/// Trim the glyphs, ensuring that they will never go past the specified bounds.
/// </summary>
public void Trim (int xMin, int yMin, int xMax, int yMax)
{
if (isValid)
{
for (int i = 0, imax = mSaved.Count; i < imax; ++i)
{
BMGlyph glyph = mSaved[i];
if (glyph != null) glyph.Trim(xMin, yMin, xMax, yMax);
}
}
}
}
================================================
FILE: Assets/Game/Editor/BmfontMaker/BMFont.cs.meta
================================================
fileFormatVersion: 2
guid: 94cc67aca494b1943a7a0f51b581441d
timeCreated: 1463716780
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Editor/BmfontMaker/BMFontReader.cs
================================================
//----------------------------------------------
// NGUI: Next-Gen UI kit
// Copyright © 2011-2015 Tasharen Entertainment
//----------------------------------------------
using UnityEngine;
using UnityEditor;
using System.Text;
/// <summary>
/// Helper class that takes care of loading BMFont's glyph information from the specified byte array.
/// This functionality is not a part of BMFont anymore because Flash export option can't handle System.IO functions.
/// </summary>
public static class BMFontReader
{
/// <summary>
/// Helper function that retrieves the string value of the key=value pair.
/// </summary>
static string GetString (string s)
{
int idx = s.IndexOf('=');
return (idx == -1) ? "" : s.Substring(idx + 1);
}
/// <summary>
/// Helper function that retrieves the integer value of the key=value pair.
/// </summary>
static int GetInt (string s)
{
int val = 0;
string text = GetString(s);
#if UNITY_FLASH
try { val = int.Parse(text); } catch (System.Exception) { }
#else
int.TryParse(text, out val);
#endif
return val;
}
/// <summary>
/// Reload the font data.
/// </summary>
static public void Load (BMFont font, string name, byte[] bytes)
{
font.Clear();
if (bytes != null)
{
BmByteReader reader = new BmByteReader(bytes);
char[] separator = new char[] { ' ' };
while (reader.canRead)
{
string line = reader.ReadLine();
if (string.IsNullOrEmpty(line)) break;
string[] split = line.Split(separator, System.StringSplitOptions.RemoveEmptyEntries);
int len = split.Length;
if (split[0] == "char")
{
// Expected data style:
// char id=13 x=506 y=62 width=3 height=3 xoffset=-1 yoffset=50 xadvance=0 page=0 chnl=15
int channel = (len > 10) ? GetInt(split[10]) : 15;
if (len > 9 && GetInt(split[9]) > 0)
{
Debug.LogError("Your font was exported with more than one texture. Only one texture is supported by NGUI.\n" +
"You need to re-export your font, enlarging the texture's dimensions until everything fits into just one texture.");
break;
}
if (len > 8)
{
int id = GetInt(split[1]);
BMGlyph glyph = font.GetGlyph(id, true);
if (glyph != null)
{
glyph.x = GetInt(split[2]);
glyph.y = GetInt(split[3]);
glyph.width = GetInt(split[4]);
glyph.height = GetInt(split[5]);
glyph.offsetX = GetInt(split[6]);
glyph.offsetY = GetInt(split[7]);
glyph.advance = GetInt(split[8]);
glyph.channel = channel;
}
else Debug.Log("Char: " + split[1] + " (" + id + ") is NULL");
}
else
{
Debug.LogError("Unexpected number of entries for the 'char' field (" + name + ", " + split.Length + "):\n" + line);
break;
}
}
else if (split[0] == "kerning")
{
// Expected data style:
// kerning first=84 second=244 amount=-5
if (len > 3)
{
int first = GetInt(split[1]);
int second = GetInt(split[2]);
int amount = GetInt(split[3]);
BMGlyph glyph = font.GetGlyph(second, true);
if (glyph != null) glyph.SetKerning(first, amount);
}
else
{
Debug.LogError("Unexpected number of entries for the 'kerning' field (" +
name + ", " + split.Length + "):\n" + line);
break;
}
}
else if (split[0] == "common")
{
// Expected data style:
// common lineHeight=64 base=51 scaleW=512 scaleH=512 pages=1 packed=0 alphaChnl=1 redChnl=4 greenChnl=4 blueChnl=4
if (len > 5)
{
font.charSize = GetInt(split[1]);
font.baseOffset = GetInt(split[2]);
font.texWidth = GetInt(split[3]);
font.texHeight = GetInt(split[4]);
int pages = GetInt(split[5]);
if (pages != 1)
{
Debug.LogError("Font '" + name + "' must be created with only 1 texture, not " + pages);
break;
}
}
else
{
Debug.LogError("Unexpected number of entries for the 'common' field (" +
name + ", " + split.Length + "):\n" + line);
break;
}
}
else if (split[0] == "page")
{
// Expected data style:
// page id=0 file="textureName.png"
if (len > 2)
{
font.spriteName = GetString(split[2]).Replace("\"", "");
font.spriteName = font.spriteName.Replace(".png", "");
font.spriteName = font.spriteName.Replace(".tga", "");
}
}
}
}
}
}
================================================
FILE: Assets/Game/Editor/BmfontMaker/BMFontReader.cs.meta
================================================
fileFormatVersion: 2
guid: a9fc0907767cc05448abe2c012b90c22
timeCreated: 1463716780
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Editor/BmfontMaker/BMGlyph.cs
================================================
//----------------------------------------------
// NGUI: Next-Gen UI kit
// Copyright © 2011-2015 Tasharen Entertainment
//----------------------------------------------
using UnityEngine;
using System.Collections.Generic;
/// <summary>
/// Glyph structure used by BMFont. For more information see http://www.angelcode.com/products/bmfont/
/// </summary>
[System.Serializable]
public class BMGlyph
{
public int index; // Index of this glyph (used by BMFont)
public int x; // Offset from the left side of the texture to the left side of the glyph
public int y; // Offset from the top of the texture to the top of the glyph
public int width; // Glyph's width in pixels
public int height; // Glyph's height in pixels
public int offsetX; // Offset to apply to the cursor's left position before drawing this glyph
public int offsetY; // Offset to apply to the cursor's top position before drawing this glyph
public int advance; // How much to move the cursor after printing this character
public int channel; // Channel mask (in most cases this will be 15 (RGBA, 1+2+4+8)
public List<int> kerning;
/// <summary>
/// Retrieves the special amount by which to adjust the cursor position, given the specified previous character.
/// </summary>
public int GetKerning (int previousChar)
{
if (kerning != null && previousChar != 0)
{
for (int i = 0, imax = kerning.Count; i < imax; i += 2)
if (kerning[i] == previousChar)
return kerning[i + 1];
}
return 0;
}
/// <summary>
/// Add a new kerning entry to the character (or adjust an existing one).
/// </summary>
public void SetKerning (int previousChar, int amount)
{
if (kerning == null) kerning = new List<int>();
for (int i = 0; i < kerning.Count; i += 2)
{
if (kerning[i] == previousChar)
{
kerning[i + 1] = amount;
return;
}
}
kerning.Add(previousChar);
kerning.Add(amount);
}
/// <summary>
/// Trim the glyph, given the specified minimum and maximum dimensions in pixels.
/// </summary>
public void Trim (int xMin, int yMin, int xMax, int yMax)
{
int x1 = x + width;
int y1 = y + height;
if (x < xMin)
{
int offset = xMin - x;
x += offset;
width -= offset;
offsetX += offset;
}
if (y < yMin)
{
int offset = yMin - y;
y += offset;
height -= offset;
offsetY += offset;
}
if (x1 > xMax) width -= x1 - xMax;
if (y1 > yMax) height -= y1 - yMax;
}
}
================================================
FILE: Assets/Game/Editor/BmfontMaker/BMGlyph.cs.meta
================================================
fileFormatVersion: 2
guid: a523ba19da28a9c4fbda283c3433d53d
timeCreated: 1463716780
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Editor/BmfontMaker/BmBetterList.cs
================================================
//----------------------------------------------
// NGUI: Next-Gen UI kit
// Copyright © 2011-2015 Tasharen Entertainment
//----------------------------------------------
using UnityEngine;
using System.Collections.Generic;
using System.Diagnostics;
/// <summary>
/// This improved version of the System.Collections.Generic.List that doesn't release the buffer on Clear(),
/// resulting in better performance and less garbage collection.
/// PRO: BetterList performs faster than List when you Add and Remove items (although slower if you remove from the beginning).
/// CON: BetterList performs worse when sorting the list. If your operations involve sorting, use the standard List instead.
/// </summary>
public class BmBetterList<T>
{
#if UNITY_FLASH
List<T> mList = new List<T>();
/// <summary>
/// Direct access to the buffer. Note that you should not use its 'Length' parameter, but instead use BetterList.size.
/// </summary>
public T this[int i]
{
get { return mList[i]; }
set { mList[i] = value; }
}
/// <summary>
/// Compatibility with the non-flash syntax.
/// </summary>
public List<T> buffer { get { return mList; } }
/// <summary>
/// Direct access to the buffer's size. Note that it's only public for speed and efficiency. You shouldn't modify it.
/// </summary>
public int size { get { return mList.Count; } }
/// <summary>
/// For 'foreach' functionality.
/// </summary>
public IEnumerator<T> GetEnumerator () { return mList.GetEnumerator(); }
/// <summary>
/// Clear the array by resetting its size to zero. Note that the memory is not actually released.
/// </summary>
public void Clear () { mList.Clear(); }
/// <summary>
/// Clear the array and release the used memory.
/// </summary>
public void Release () { mList.Clear(); }
/// <summary>
/// Add the specified item to the end of the list.
/// </summary>
public void Add (T item) { mList.Add(item); }
/// <summary>
/// Insert an item at the specified index, pushing the entries back.
/// </summary>
public void Insert (int index, T item)
{
if (index > -1 && index < mList.Count) mList.Insert(index, item);
else mList.Add(item);
}
/// <summary>
/// Returns 'true' if the specified item is within the list.
/// </summary>
public bool Contains (T item) { return mList.Contains(item); }
/// <summary>
/// Return the index of the specified item.
/// </summary>
public int IndexOf (T item) { return mList.IndexOf(item); }
/// <summary>
/// Remove the specified item from the list. Note that RemoveAt() is faster and is advisable if you already know the index.
/// </summary>
public bool Remove (T item) { return mList.Remove(item); }
/// <summary>
/// Remove an item at the specified index.
/// </summary>
public void RemoveAt (int index) { mList.RemoveAt(index); }
/// <summary>
/// Remove an item from the end.
/// </summary>
public T Pop ()
{
if (buffer != null && size != 0)
{
T val = buffer[mList.Count - 1];
mList.RemoveAt(mList.Count - 1);
return val;
}
return default(T);
}
/// <summary>
/// Mimic List's ToArray() functionality, except that in this case the list is resized to match the current size.
/// </summary>
public T[] ToArray () { return mList.ToArray(); }
/// <summary>
/// List.Sort equivalent.
/// </summary>
public void Sort (System.Comparison<T> comparer) { mList.Sort(comparer); }
#else
/// <summary>
/// Direct access to the buffer. Note that you should not use its 'Length' parameter, but instead use BetterList.size.
/// </summary>
public T[] buffer;
/// <summary>
/// Direct access to the buffer's size. Note that it's only public for speed and efficiency. You shouldn't modify it.
/// </summary>
public int size = 0;
/// <summary>
/// For 'foreach' functionality.
/// </summary>
[DebuggerHidden]
[DebuggerStepThrough]
public IEnumerator<T> GetEnumerator ()
{
if (buffer != null)
{
for (int i = 0; i < size; ++i)
{
yield return buffer[i];
}
}
}
/// <summary>
/// Convenience function. I recommend using .buffer instead.
/// </summary>
[DebuggerHidden]
public T this[int i]
{
get { return buffer[i]; }
set { buffer[i] = value; }
}
/// <summary>
/// Helper function that expands the size of the array, maintaining the content.
/// </summary>
void AllocateMore ()
{
T[] newList = (buffer != null) ? new T[Mathf.Max(buffer.Length << 1, 32)] : new T[32];
if (buffer != null && size > 0) buffer.CopyTo(newList, 0);
buffer = newList;
}
/// <summary>
/// Trim the unnecessary memory, resizing the buffer to be of 'Length' size.
/// Call this function only if you are sure that the buffer won't need to resize anytime soon.
/// </summary>
void Trim ()
{
if (size > 0)
{
if (size < buffer.Length)
{
T[] newList = new T[size];
for (int i = 0; i < size; ++i) newList[i] = buffer[i];
buffer = newList;
}
}
else buffer = null;
}
/// <summary>
/// Clear the array by resetting its size to zero. Note that the memory is not actually released.
/// </summary>
public void Clear () { size = 0; }
/// <summary>
/// Clear the array and release the used memory.
/// </summary>
public void Release () { size = 0; buffer = null; }
/// <summary>
/// Add the specified item to the end of the list.
/// </summary>
public void Add (T item)
{
if (buffer == null || size == buffer.Length) AllocateMore();
buffer[size++] = item;
}
/// <summary>
/// Insert an item at the specified index, pushing the entries back.
/// </summary>
public void Insert (int index, T item)
{
if (buffer == null || size == buffer.Length) AllocateMore();
if (index > -1 && index < size)
{
for (int i = size; i > index; --i) buffer[i] = buffer[i - 1];
buffer[index] = item;
++size;
}
else Add(item);
}
/// <summary>
/// Returns 'true' if the specified item is within the list.
/// </summary>
public bool Contains (T item)
{
if (buffer == null) return false;
for (int i = 0; i < size; ++i) if (buffer[i].Equals(item)) return true;
return false;
}
/// <summary>
/// Return the index of the specified item.
/// </summary>
public int IndexOf (T item)
{
if (buffer == null) return -1;
for (int i = 0; i < size; ++i) if (buffer[i].Equals(item)) return i;
return -1;
}
/// <summary>
/// Remove the specified item from the list. Note that RemoveAt() is faster and is advisable if you already know the index.
/// </summary>
public bool Remove (T item)
{
if (buffer != null)
{
EqualityComparer<T> comp = EqualityComparer<T>.Default;
for (int i = 0; i < size; ++i)
{
if (comp.Equals(buffer[i], item))
{
--size;
buffer[i] = default(T);
for (int b = i; b < size; ++b) buffer[b] = buffer[b + 1];
buffer[size] = default(T);
return true;
}
}
}
return false;
}
/// <summary>
/// Remove an item at the specified index.
/// </summary>
public void RemoveAt (int index)
{
if (buffer != null && index > -1 && index < size)
{
--size;
buffer[index] = default(T);
for (int b = index; b < size; ++b) buffer[b] = buffer[b + 1];
buffer[size] = default(T);
}
}
/// <summary>
/// Remove an item from the end.
/// </summary>
public T Pop ()
{
if (buffer != null && size != 0)
{
T val = buffer[--size];
buffer[size] = default(T);
return val;
}
return default(T);
}
/// <summary>
/// Mimic List's ToArray() functionality, except that in this case the list is resized to match the current size.
/// </summary>
public T[] ToArray () { Trim(); return buffer; }
//class Comparer : System.Collections.IComparer
//{
// public System.Comparison<T> func;
// public int Compare (object x, object y) { return func((T)x, (T)y); }
//}
//Comparer mComp = new Comparer();
/// <summary>
/// List.Sort equivalent. Doing Array.Sort causes GC allocations.
/// </summary>
//public void Sort (System.Comparison<T> comparer)
//{
// if (size > 0)
// {
// mComp.func = comparer;
// System.Array.Sort(buffer, 0, size, mComp);
// }
//}
/// <summary>
/// List.Sort equivalent. Manual sorting causes no GC allocations.
/// </summary>
[DebuggerHidden]
[DebuggerStepThrough]
public void Sort (CompareFunc comparer)
{
int start = 0;
int max = size - 1;
bool changed = true;
while (changed)
{
changed = false;
for (int i = start; i < max; ++i)
{
// Compare the two values
if (comparer(buffer[i], buffer[i + 1]) > 0)
{
// Swap the values
T temp = buffer[i];
buffer[i] = buffer[i + 1];
buffer[i + 1] = temp;
changed = true;
}
else if (!changed)
{
// Nothing has changed -- we can start here next time
start = (i == 0) ? 0 : i - 1;
}
}
}
}
/// <summary>
/// Comparison function should return -1 if left is less than right, 1 if left is greater than right, and 0 if they match.
/// </summary>
public delegate int CompareFunc (T left, T right);
#endif
}
================================================
FILE: Assets/Game/Editor/BmfontMaker/BmBetterList.cs.meta
================================================
fileFormatVersion: 2
guid: d6ab7ca414bf6644983a7ca1041e1118
timeCreated: 1463752738
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Editor/BmfontMaker/BmByteReader.cs
================================================
//----------------------------------------------
// NGUI: Next-Gen UI kit
// Copyright © 2011-2015 Tasharen Entertainment
//----------------------------------------------
using UnityEngine;
using System.Text;
using System.Collections.Generic;
using System.IO;
/// <summary>
/// MemoryStream.ReadLine has an interesting oddity: it doesn't always advance the stream's position by the correct amount:
/// http://social.msdn.microsoft.com/Forums/en-AU/Vsexpressvcs/thread/b8f7837b-e396-494e-88e1-30547fcf385f
/// Solution? Custom line reader with the added benefit of not having to use streams at all.
/// </summary>
public class BmByteReader
{
byte[] mBuffer;
int mOffset = 0;
public BmByteReader (byte[] bytes) { mBuffer = bytes; }
public BmByteReader (TextAsset asset) { mBuffer = asset.bytes; }
/// <summary>
/// Read the contents of the specified file and return a Byte Reader to work with.
/// </summary>
static public BmByteReader Open (string path)
{
#if UNITY_EDITOR || (!UNITY_FLASH && !NETFX_CORE && !UNITY_WP8 && !UNITY_WP_8_1)
FileStream fs = File.OpenRead(path);
if (fs != null)
{
fs.Seek(0, SeekOrigin.End);
byte[] buffer = new byte[fs.Position];
fs.Seek(0, SeekOrigin.Begin);
fs.Read(buffer, 0, buffer.Length);
fs.Close();
return new BmByteReader(buffer);
}
#endif
return null;
}
/// <summary>
/// Whether the buffer is readable.
/// </summary>
public bool canRead { get { return (mBuffer != null && mOffset < mBuffer.Length); } }
/// <summary>
/// Read a single line from the buffer.
/// </summary>
static string ReadLine (byte[] buffer, int start, int count)
{
#if UNITY_FLASH
// Encoding.UTF8 is not supported in Flash :(
StringBuilder sb = new StringBuilder();
int max = start + count;
for (int i = start; i < max; ++i)
{
byte byte0 = buffer[i];
if ((byte0 & 128) == 0)
{
// If an UCS fits 7 bits, its coded as 0xxxxxxx. This makes ASCII character represented by themselves
sb.Append((char)byte0);
}
else if ((byte0 & 224) == 192)
{
// If an UCS fits 11 bits, it is coded as 110xxxxx 10xxxxxx
if (++i == count) break;
byte byte1 = buffer[i];
int ch = (byte0 & 31) << 6;
ch |= (byte1 & 63);
sb.Append((char)ch);
}
else if ((byte0 & 240) == 224)
{
// If an UCS fits 16 bits, it is coded as 1110xxxx 10xxxxxx 10xxxxxx
if (++i == count) break;
byte byte1 = buffer[i];
if (++i == count) break;
byte byte2 = buffer[i];
if (byte0 == 0xEF && byte1 == 0xBB && byte2 == 0xBF)
{
// Byte Order Mark -- generally the first 3 bytes in a Windows-saved UTF-8 file. Skip it.
}
else
{
int ch = (byte0 & 15) << 12;
ch |= (byte1 & 63) << 6;
ch |= (byte2 & 63);
sb.Append((char)ch);
}
}
else if ((byte0 & 248) == 240)
{
// If an UCS fits 21 bits, it is coded as 11110xxx 10xxxxxx 10xxxxxx 10xxxxxx
if (++i == count) break;
byte byte1 = buffer[i];
if (++i == count) break;
byte byte2 = buffer[i];
if (++i == count) break;
byte byte3 = buffer[i];
int ch = (byte0 & 7) << 18;
ch |= (byte1 & 63) << 12;
ch |= (byte2 & 63) << 6;
ch |= (byte3 & 63);
sb.Append((char)ch);
}
}
return sb.ToString();
#else
return Encoding.UTF8.GetString(buffer, start, count);
#endif
}
/// <summary>
/// Read a single line from the buffer.
/// </summary>
public string ReadLine () { return ReadLine(true); }
/// <summary>
/// Read a single line from the buffer.
/// </summary>
public string ReadLine (bool skipEmptyLines)
{
int max = mBuffer.Length;
// Skip empty characters
if (skipEmptyLines)
{
while (mOffset < max && mBuffer[mOffset] < 32) ++mOffset;
}
int end = mOffset;
if (end < max)
{
for (; ; )
{
if (end < max)
{
int ch = mBuffer[end++];
if (ch != '\n' && ch != '\r') continue;
}
else ++end;
string line = ReadLine(mBuffer, mOffset, end - mOffset - 1);
mOffset = end;
return line;
}
}
mOffset = max;
return null;
}
/// <summary>
/// Assume that the entire file is a collection of key/value pairs.
/// </summary>
public Dictionary<string, string> ReadDictionary ()
{
Dictionary<string, string> dict = new Dictionary<string, string>();
char[] separator = new char[] { '=' };
while (canRead)
{
string line = ReadLine();
if (line == null) break;
if (line.StartsWith("//")) continue;
#if UNITY_FLASH
string[] split = line.Split(separator, System.StringSplitOptions.RemoveEmptyEntries);
#else
string[] split = line.Split(separator, 2, System.StringSplitOptions.RemoveEmptyEntries);
#endif
if (split.Length == 2)
{
string key = split[0].Trim();
string val = split[1].Trim().Replace("\\n", "\n");
dict[key] = val;
}
}
return dict;
}
static BmBetterList<string> mTemp = new BmBetterList<string>();
/// <summary>
/// Read a single line of Comma-Separated Values from the file.
/// </summary>
public BmBetterList<string> ReadCSV ()
{
mTemp.Clear();
string line = "";
bool insideQuotes = false;
int wordStart = 0;
while (canRead)
{
if (insideQuotes)
{
string s = ReadLine(false);
if (s == null) return null;
s = s.Replace("\\n", "\n");
line += "\n" + s;
}
else
{
line = ReadLine(true);
if (line == null) return null;
line = line.Replace("\\n", "\n");
wordStart = 0;
}
for (int i = wordStart, imax = line.Length; i < imax; ++i)
{
char ch = line[i];
if (ch == ',')
{
if (!insideQuotes)
{
mTemp.Add(line.Substring(wordStart, i - wordStart));
wordStart = i + 1;
}
}
else if (ch == '"')
{
if (insideQuotes)
{
if (i + 1 >= imax)
{
mTemp.Add(line.Substring(wordStart, i - wordStart).Replace("\"\"", "\""));
return mTemp;
}
if (line[i + 1] != '"')
{
mTemp.Add(line.Substring(wordStart, i - wordStart).Replace("\"\"", "\""));
insideQuotes = false;
if (line[i + 1] == ',')
{
++i;
wordStart = i + 1;
}
}
else ++i;
}
else
{
wordStart = i + 1;
insideQuotes = true;
}
}
}
if (wordStart < line.Length)
{
if (insideQuotes) continue;
mTemp.Add(line.Substring(wordStart, line.Length - wordStart));
}
return mTemp;
}
return null;
}
}
================================================
FILE: Assets/Game/Editor/BmfontMaker/BmByteReader.cs.meta
================================================
fileFormatVersion: 2
guid: f40e2da786f71024e92246ddf360eb32
timeCreated: 1463752697
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Editor/BmfontMaker/BmFontEditor.cs
================================================
using UnityEngine;
using UnityEditor;
public class BmFontEditor : EditorWindow
{
[MenuItem("Tools/BMFont Maker")]
static public void OpenBMFontMaker()
{
EditorWindow.GetWindow<BmFontEditor>(false, "BMFont Maker", true).Show();
}
[SerializeField]
private Font targetFont;
[SerializeField]
private TextAsset fntData;
[SerializeField]
private Material fontMaterial;
[SerializeField]
private Texture2D fontTexture;
private BMFont bmFont = new BMFont();
public BmFontEditor()
{
}
void OnGUI()
{
targetFont = EditorGUILayout.ObjectField("Target Font", targetFont, typeof(Font), false) as Font;
fntData = EditorGUILayout.ObjectField("Fnt Data", fntData, typeof(TextAsset), false) as TextAsset;
fontMaterial = EditorGUILayout.ObjectField("Font Material", fontMaterial, typeof(Material), false) as Material;
fontTexture = EditorGUILayout.ObjectField("Font Texture", fontTexture, typeof(Texture2D), false) as Texture2D;
if (GUILayout.Button("Create BMFont"))
{
BMFontReader.Load(bmFont, fntData.name, fntData.bytes); // 借用NGUI封装的读取类
CharacterInfo[] characterInfo = new CharacterInfo[bmFont.glyphs.Count];
for (int i = 0; i < bmFont.glyphs.Count; i++)
{
BMGlyph bmInfo = bmFont.glyphs[i];
CharacterInfo info = new CharacterInfo();
info.index = bmInfo.index;
info.uv.x = (float)bmInfo.x / (float)bmFont.texWidth;
info.uv.y = 1 - (float)bmInfo.y / (float)bmFont.texHeight;
info.uv.width = (float)bmInfo.width / (float)bmFont.texWidth;
info.uv.height = -1f * (float)bmInfo.height / (float)bmFont.texHeight;
info.vert.x = 0;
info.vert.y = -(float)bmInfo.height;
info.vert.width = (float)bmInfo.width;
info.vert.height = (float)bmInfo.height;
info.width = (float)bmInfo.advance;
characterInfo[i] = info;
}
targetFont.characterInfo = characterInfo;
if (fontMaterial)
{
fontMaterial.mainTexture = fontTexture;
}
targetFont.material = fontMaterial;
fontMaterial.shader = Shader.Find("UI/Default");//这一行很关键,如果用standard的shader,放到Android手机上,第一次加载会很慢
Debug.Log("create font <" + targetFont.name + "> success");
Close();
}
}
}
================================================
FILE: Assets/Game/Editor/BmfontMaker/BmFontEditor.cs.meta
================================================
fileFormatVersion: 2
guid: 209ec617b615f1e45b6ff6819281ecec
timeCreated: 1470452693
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Editor/BmfontMaker.meta
================================================
fileFormatVersion: 2
guid: be5b5ab2f2e32e64d870debcd5ccc7b2
folderAsset: yes
timeCreated: 1470552281
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Editor/Helper.cs
================================================
using UnityEngine;
using UnityEngine.Events;
using System.Collections.Generic;
using System.Security.Cryptography;
using System.IO;
using System.Text;
using System;
public class Helper
{
public static string RunCmd(string command, string args, string workDir)
{
//例Process
System.Diagnostics.Process p = new System.Diagnostics.Process();
p.StartInfo.FileName = command; //确定程序名
p.StartInfo.Arguments = args; //确定程式命令行
p.StartInfo.WorkingDirectory = workDir; //工作目录
p.StartInfo.UseShellExecute = false; //Shell的使用
p.StartInfo.RedirectStandardInput = true; //重定向输入
p.StartInfo.RedirectStandardOutput = true; //重定向输出
p.StartInfo.RedirectStandardError = true; //重定向输出错误
p.StartInfo.CreateNoWindow = true; //设置置不显示示窗口
p.Start();
return p.StandardOutput.ReadToEnd(); //输出出流取得命令行结果果
}
public static void CopyDirectory(string sourceDirName, string destDirName)
{
try
{
if (!Directory.Exists(destDirName))
{
Directory.CreateDirectory(destDirName);
File.SetAttributes(destDirName, File.GetAttributes(sourceDirName));
}
if (destDirName[destDirName.Length - 1] != Path.DirectorySeparatorChar)
destDirName = destDirName + Path.DirectorySeparatorChar;
string[] files = Directory.GetFiles(sourceDirName);
foreach (string file in files)
{
//if (File.Exists(destDirName + Path.GetFileName(file)))
// continue;
File.Copy(file, destDirName + Path.GetFileName(file), true);
File.SetAttributes(destDirName + Path.GetFileName(file), FileAttributes.Normal);
}
string[] dirs = Directory.GetDirectories(sourceDirName);
foreach (string dir in dirs)
{
CopyDirectory(dir, destDirName + Path.GetFileName(dir));
}
}
catch (System.Exception ex)
{
Debug.LogError(ex.Message);
}
}
public static void forEachHandle(string path, List<string> matchExts, UnityAction<string> handle)
{
string[] names = Directory.GetFiles(path);
string[] dirs = Directory.GetDirectories(path);
foreach (string filename in names)
{
if (filename.EndsWith("meta") || string.IsNullOrEmpty(Path.GetFileNameWithoutExtension(filename)))
continue;
string[] name_splits = filename.Split('.');
string ext = name_splits[name_splits.Length - 1];
if (matchExts == null)
{
handle.Invoke(filename);
}
else if (matchExts.Contains(ext))
{
handle.Invoke(filename);
}
}
foreach (string dir in dirs)
{
forEachHandle(dir, matchExts, handle);
}
}
}
================================================
FILE: Assets/Game/Editor/Helper.cs.meta
================================================
fileFormatVersion: 2
guid: 196a3b7fa2c6e604c89974a2810ade0a
timeCreated: 1474773601
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Editor/I18nExporter/I18nExporter.cs
================================================
using UnityEngine;
using System.Collections.Generic;
using UnityEditor;
using System.IO;
using System.Text;
// 国际化 导出
public class I18nExporter : Editor
{
private static Dictionary<string, Dictionary<string, string>> _markDatas;
private static Dictionary<string, string> _markFiles;
private static List<string> ignorePath;
private static int _markId;
private static string _outputPath;
[MenuItem("Tools/I18n Export")]
public static void Run()
{
Load();
Scan();
Export();
}
private static void Load()
{
_outputPath = Application.dataPath + "/Game/@Lua/Game/Common/i18n.lua";
ignorePath = new List<string>()
{
"i18n.lua"
};
if (File.Exists(_outputPath))
{
_markDatas = new Dictionary<string, Dictionary<string, string>>();
_markFiles = new Dictionary<string, string>();
StreamReader sr = new StreamReader(_outputPath, Encoding.UTF8);
string line;
Dictionary<string, string> markDic = null;
while ((line = sr.ReadLine()) != null)
{
if (line.StartsWith("i18n["))
{
int startIdx = line.LastIndexOf("i18n[\"") + 6;
int endIdx = line.IndexOf("\"]");
string key = line.Substring(startIdx, endIdx - startIdx);
startIdx = line.LastIndexOf("= \"") + 3;
endIdx = line.LastIndexOf("\"");
string value = line.Substring(startIdx, endIdx - startIdx);
markDic.Add(value,string.Format("i18n[\"{0}\"]",key));
_markId = Mathf.Max(_markId, int.Parse(key));
}
else if (line.StartsWith("--# "))
{
int startIdx = line.IndexOf("--# ") + 4;
int endIdx = line.LastIndexOf(".lua") + 4;
string fileName = line.Substring(startIdx, endIdx - startIdx);
_markDatas.Add(fileName, new Dictionary<string, string>());
markDic = _markDatas[fileName];
}
}
sr.Close();
sr.Dispose();
}
else
{
_markDatas = new Dictionary<string, Dictionary<string, string>>();
_markFiles = new Dictionary<string, string>();
_markId = 1000;
}
}
private static void Scan()
{
Helper.forEachHandle(Application.dataPath + "/Game/@Lua", new List<string> { "lua" }, (string filePath) =>
{
string basePath = Path.GetFileName(filePath);
if (ignorePath.Contains(basePath)) return;
Dictionary<string, string> markDic = null; //标记字典
if (!_markDatas.ContainsKey(basePath))
{
markDic = new Dictionary<string, string>();
_markDatas.Add(basePath, markDic);
}
else
{
markDic = _markDatas[basePath];
}
using (StreamReader sr = new StreamReader(filePath, Encoding.UTF8))
{
string line;
StringBuilder content = new StringBuilder();
while ((line = sr.ReadLine()) != null)
{
StringBuilder newLine = new StringBuilder();
StringBuilder markKey = new StringBuilder();
bool isMarking = false;
char[] chars = line.ToCharArray();
for (int i = 0; i < chars.Length; i++)
{
char c = chars[i];
bool _isReset = false;
if (c == '"' && chars[i - 1] != '\\')
{
isMarking = !isMarking;
if (isMarking == false) //结束标记
{
string markKeyString = markKey.ToString();
if (isChinese(markKeyString))
{
string holder = getHolder(basePath, markKeyString);
if (!markDic.ContainsKey(markKeyString))
markDic.Add(markKeyString, holder);
newLine.Append(holder);
_isReset = true;
}
else //不是中文
{
newLine.Append('"').Append(markKeyString);
}
markKey = new StringBuilder(); //清空
}
}
else
{
if (isMarking)
{
markKey.Append(c);
}
}
if (!isMarking && !_isReset)
{
newLine.Append(c);
}
}
content.Append(newLine).Append('\n');
}
if (markDic.Count > 0)
{
_markFiles.Add(filePath, content.ToString());
}
sr.Close();
}
});
}
private static void Export()
{
StringBuilder i18n = new StringBuilder();
i18n.Append("local i18n = {}\n");
foreach (string fileName in _markDatas.Keys)
{
if(_markDatas[fileName].Count > 0)
{
i18n.AppendFormat("--# {0}\n", fileName);
}
foreach(string chinese in _markDatas[fileName].Keys)
{
i18n.AppendFormat("{0} = \"{1}\"\n", _markDatas[fileName][chinese], chinese);
}
}
i18n.Append("\nLDeclare(\"i18n\", i18n)\n");
i18n.Append("return i18n\n");
using (FileStream fs = new FileStream(_outputPath, FileMode.Create))
{
StreamWriter sw = new StreamWriter(fs);
sw.Write(i18n.ToString());
sw.Flush();
sw.Close();
fs.Close();
}
foreach (string filePath in _markFiles.Keys)
{
using (FileStream fs = new FileStream(filePath, FileMode.Create))
{
StreamWriter sw = new StreamWriter(fs);
sw.Write(_markFiles[filePath]);
sw.Flush();
sw.Close();
fs.Close();
}
}
AssetDatabase.Refresh();
Debug.Log("导出完成 " + _outputPath);
}
private static string getHolder(string fileName ,string chinese)
{
Dictionary<string, string> dic = _markDatas[fileName];
if (!dic.ContainsKey(chinese))
{
_markId++;
dic.Add(chinese,string.Format("i18n[\"{0}\"]",_markId.ToString()));
}
return dic[chinese];
}
private static bool isChinese(string text)
{
bool hasChinese = false;
char[] c = text.ToCharArray();
int len = c.Length;
for (int i = 0; i < len; i++)
{
if (c[i] >= 0x4e00 && c[i] <= 0x9fbb)
{
hasChinese = true;
break;
}
}
return hasChinese;
}
}
================================================
FILE: Assets/Game/Editor/I18nExporter/I18nExporter.cs.meta
================================================
fileFormatVersion: 2
guid: c2b26f6664b1b7945aa35eb2065410f4
timeCreated: 1479285206
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Editor/I18nExporter.meta
================================================
fileFormatVersion: 2
guid: 9c4941af0a98cb545b673822c2777637
folderAsset: yes
timeCreated: 1479526088
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Editor/MakeDebugFile.cs
================================================
using UnityEngine;
using UnityEngine.Events;
using System.Collections.Generic;
using UnityEditor;
using System.IO;
using System;
public class MakeDebugFile : Editor
{
public static string luajitPath = Application.dataPath + "/../build/luajit-2.0.4/src";
//[MenuItem("Tools/Copy")]
public static void CopyLuaTxt() {
string fromUrl = Application.dataPath + "/Game/@Lua";
string toUrl = Application.dataPath + "/Game/Resources/@Lua";
AssetDatabase.DeleteAsset ("Assets/Game/Resources/@Lua");
Directory.CreateDirectory(toUrl);
CopyAndChangeDirectory(fromUrl, toUrl,new List<string>{".lua"});
AssetDatabase.Refresh();
Debug.Log("copy finish:" + toUrl);
}
//[MenuItem("Tools/test")]
//public static void Test()
//{
// TextAsset textAsset = AssetDatabase.LoadAssetAtPath<TextAsset>("Assets/test.txt");
// byte[] encrypts = LUtil.AESEncrypt(textAsset.bytes,LGameConfig.EncryptKey32,"1234567890123456");
// byte[] content = LUtil.AESDecrypt(encrypts, LGameConfig.EncryptKey32, "1234567890123456");
// Debug.Log(System.Text.Encoding.UTF8.GetString(content));
//}
[MenuItem("Tools/Edit Atlas Suffix")]
public static void EditAtlasSuffix()
{
string basePath = Application.dataPath + "/Game/Resources/Atlas";
Helper.forEachHandle(basePath, new List<string>{"txt","tpsheet"}, (string path) =>
{
string[] name_splits = path.Split('.');
string ext = name_splits[name_splits.Length - 1];
if(ext == "tpsheet")
{
File.Move(name_splits[0] + ".tpsheet", name_splits[0] + ".txt");
}
else
{
File.Move(name_splits[0] + ".txt", name_splits[0] + ".tpsheet");
}
});
AssetDatabase.Refresh();
Debug.Log("Atlas后缀修改完成");
}
public static void CopyAndChangeDirectory(string sourceDirName, string destDirName,List<string> exts)
{
try
{
if (!Directory.Exists(destDirName))
{
Directory.CreateDirectory(destDirName);
File.SetAttributes(destDirName, File.GetAttributes(sourceDirName));
}
if (destDirName[destDirName.Length - 1] != Path.DirectorySeparatorChar)
destDirName = destDirName + Path.DirectorySeparatorChar;
string[] files = Directory.GetFiles(sourceDirName);
foreach (string file in files)
{
//if (File.Exists(destDirName + Path.GetFileName(file)))
// continue;
if (file.EndsWith("meta"))
continue;
string destFileName = destDirName + Path.GetFileName(file);
if (exts.Contains(Path.GetExtension(file)))
{
if (LGameConfig.GetInstance().isEncrypt)
{
destFileName = destDirName + Path.GetFileNameWithoutExtension(file) + ".bytes";
//luajit
Helper.RunCmd(luajitPath + "/luajit.exe", string.Format("-b {0} {1}", file, destFileName), luajitPath);
////encrypt
//FileStream fr = new FileStream(destFileName, FileMode.Open);
//byte[] encryptStrs = new byte[fr.Length];
//fr.Read(encryptStrs, 0, encryptStrs.Length);
//fr.Close();
//FileStream fs = new FileStream(destFileName, FileMode.Create);
//fs.Write(encryptStrs, 0, encryptStrs.Length);
//fs.Flush();
//fs.Close();
}
else
{
destFileName = destDirName + Path.GetFileNameWithoutExtension(file) + ".txt";
File.Copy(file, destFileName, true);
}
}
else
{
File.Copy(file, destFileName, true);
}
File.SetAttributes(destFileName, FileAttributes.Normal);
}
string[] dirs = Directory.GetDirectories(sourceDirName);
foreach (string dir in dirs)
{
CopyAndChangeDirectory(dir, destDirName + Path.GetFileName(dir),exts);
}
}
catch (Exception ex)
{
Debug.Log(ex.Message);
}
}
}
================================================
FILE: Assets/Game/Editor/MakeDebugFile.cs.meta
================================================
fileFormatVersion: 2
guid: 5bb958e901dce9145a21802afa3038c0
timeCreated: 1470478793
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Editor/TexturePackerImporter/SettingsTexturePackerImporter.txt
================================================
version: 2
importPivots: 1
tpsheetFileNames:
- Assets/codeandweb.com/Example/SpriteSheet/sprites.tpsheet
textureFileNames:
- Assets/codeandweb.com/Example/SpriteSheet/sprites.png
normalmapFileNames:
- Assets/codeandweb.com/Example/SpriteSheet/sprites_n.png
================================================
FILE: Assets/Game/Editor/TexturePackerImporter/SettingsTexturePackerImporter.txt.meta
================================================
fileFormatVersion: 2
guid: df6f73f5fa571dd48b8c6bd40825fa11
timeCreated: 1475288740
licenseType: Free
TextScriptImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Editor/TexturePackerImporter/TexturePackerImporter.cs
================================================
using UnityEngine;
using UnityEditor;
using System.IO;
using System.Text;
using System.Collections.Generic;
public class TexturePackerImporter : Editor {
[MenuItem("Tools/Atlas Build")]
public static void Build()
{
CreateAtlas();
MakeSprites();
}
protected static void CreateAtlas()
{
//选择并设置TP命令行的参数和参数值
string args = " --sheet {0}.png --data {1}.txt --format unity-texture2d --trim-mode None --pack-mode Best --algorithm MaxRects --max-size 2048 --size-constraints POT --disable-rotation --scale 1 {2}";
string inputPath = string.Format("{0}/Game/Images", Application.dataPath);//小图目录
string[] paths = Directory.GetDirectories(inputPath);
foreach(string path in paths)
{
StringBuilder sb = new StringBuilder("");
string[] files = Directory.GetFiles(path);
foreach(string file in files)
{
if(file.EndsWith(".png") || file.EndsWith(".jpg"))
{
sb.Append(file);
sb.Append(" ");
}
}
string name = Path.GetFileName(path);
string sheetPath = string.Format("{0}/Game/Resources/Atlas/{1}", Application.dataPath, name);//用TP打包好的图集存放目录
Helper.RunCmd("D:/TexturePacker/bin/TexturePacker.exe", string.Format(args, sheetPath, sheetPath, sb.ToString()), "");
Debug.Log("生成图集:" + sheetPath);
}
AssetDatabase.Refresh();
}
protected static void MakeSprites()
{
string atlasPath = string.Format("{0}/Game/Resources/Atlas", Application.dataPath);
string[] files = Directory.GetFiles(atlasPath);
foreach(string file in files)
{
if (file.EndsWith(".txt"))
{
Texture2D texture = AssetDatabase.LoadAssetAtPath<Texture2D>(file.Replace(Application.dataPath, "Assets").Split('.')[0] + ".png");
TextAsset textAsset = AssetDatabase.LoadAssetAtPath<TextAsset>(file.Replace(Application.dataPath, "Assets"));
string[] lineArray = textAsset.text.Split(new char[] { '\n' });
Dictionary<string, Vector4> tIpterMap = new Dictionary<string, Vector4>();
TextureImporter asetImp = GetTextureIpter(texture);
SaveBoreder(tIpterMap, asetImp);
List<SpriteMetaData> metaDatas = new List<SpriteMetaData>();
for (int i = 0; i < lineArray.Length; i++)
{
if ((lineArray[i].IndexOf('#') == -1) && (lineArray[i].IndexOf(':') == -1))
{
lineArray[i] = lineArray[i].Replace("\r", "");
if ((lineArray[i] != ""))
{
string[] str = lineArray[i].Split(new char[] { ';' });
SpriteMetaData metaData = new SpriteMetaData();
metaData.name = str[0];
metaData.rect = new Rect(
float.Parse(str[1]),
float.Parse(str[2]),
float.Parse(str[3]),
float.Parse(str[4]));
metaData.pivot = new Vector2(0.5f, 0.5f);
if (tIpterMap.ContainsKey(metaData.name)) //保存九宫格数据
{
metaData.border = tIpterMap[metaData.name];
}
metaDatas.Add(metaData);
}
}
}
asetImp.spritesheet = metaDatas.ToArray();
asetImp.textureType = TextureImporterType.Sprite;
asetImp.spriteImportMode = SpriteImportMode.Multiple;
asetImp.mipmapEnabled = false;
asetImp.SaveAndReimport();
AssetDatabase.DeleteAsset(file.Replace(Application.dataPath, "Assets"));
}
}
}
//如果这张图集已经拉好了9宫格,需要先保存起来
protected static void SaveBoreder(Dictionary<string, Vector4> tIpterMap, TextureImporter tIpter)
{
for (int i = 0, size = tIpter.spritesheet.Length; i < size; i++)
{
tIpterMap.Add(tIpter.spritesheet[i].name, tIpter.spritesheet[i].border);
}
}
protected static TextureImporter GetTextureIpter(Texture2D texture)
{
TextureImporter textureIpter = null;
string impPath = AssetDatabase.GetAssetPath(texture);
textureIpter = TextureImporter.GetAtPath(impPath) as TextureImporter;
return textureIpter;
}
}
================================================
FILE: Assets/Game/Editor/TexturePackerImporter/TexturePackerImporter.cs.meta
================================================
fileFormatVersion: 2
guid: 1164d51e0c6d5ec4cabeb4c8a1ad7399
timeCreated: 1475288614
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Editor/TexturePackerImporter.meta
================================================
fileFormatVersion: 2
guid: 5e7cbf6a101751b46a61ec6fcdaf74a8
folderAsset: yes
timeCreated: 1470452684
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Editor.meta
================================================
fileFormatVersion: 2
guid: cbec7ab89fb11e547abc9b009e8ffef3
folderAsset: yes
timeCreated: 1451462546
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Images/common/ctlv_bg.png.meta
================================================
fileFormatVersion: 2
guid: d8d4e984467472f41ba638b478aeff80
timeCreated: 1475290841
licenseType: Free
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 0
textureType: -1
buildTargetSettings: []
spriteSheet:
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Images/common/ctlv_joy.png.meta
================================================
fileFormatVersion: 2
guid: ad8ffcca49584c04cab19fe55e06f829
timeCreated: 1475290841
licenseType: Free
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 0
textureType: -1
buildTargetSettings: []
spriteSheet:
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Images/common/img_cat.png.meta
================================================
fileFormatVersion: 2
guid: 9ab0257ab97f5e24e8e941e0db884c2b
timeCreated: 1475290841
licenseType: Free
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 0
textureType: -1
buildTargetSettings: []
spriteSheet:
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Images/common/progress_bar.jpg.meta
================================================
fileFormatVersion: 2
guid: df8f3cb38bf73464e8dd48c7eddebf7f
timeCreated: 1478518828
licenseType: Free
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: -1
buildTargetSettings: []
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Images/common.meta
================================================
fileFormatVersion: 2
guid: b2b3ac64d2468e840890d907dac9674a
folderAsset: yes
timeCreated: 1475290770
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Images/face/0101.png.meta
================================================
fileFormatVersion: 2
guid: 27b5249286dedcb4f8472da72324028f
timeCreated: 1475290651
licenseType: Free
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 0
textureType: -1
buildTargetSettings: []
spriteSheet:
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Images/face/0102.png.meta
================================================
fileFormatVersion: 2
guid: 48feb112c2d43c343a11a6969b8d511f
timeCreated: 1475290651
licenseType: Free
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 0
textureType: -1
buildTargetSettings: []
spriteSheet:
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Images/face/0103.png.meta
================================================
fileFormatVersion: 2
guid: 769bafe28f6138946b8b96ba364d2d10
timeCreated: 1475290651
licenseType: Free
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 0
textureType: -1
buildTargetSettings: []
spriteSheet:
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Images/face/0201.png.meta
================================================
fileFormatVersion: 2
guid: ff9c9677a194d3f46b85fd3289ab6f6f
timeCreated: 1475290748
licenseType: Free
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 0
textureType: -1
buildTargetSettings: []
spriteSheet:
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Images/face/0202.png.meta
================================================
fileFormatVersion: 2
guid: 90c4c47701f497847899ee4acf198361
timeCreated: 1475290748
licenseType: Free
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 0
textureType: -1
buildTargetSettings: []
spriteSheet:
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Images/face/0203.png.meta
================================================
fileFormatVersion: 2
guid: 1bfa89fb2f4b81b46a8b18d31c50d2b2
timeCreated: 1475290747
licenseType: Free
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 0
textureType: -1
buildTargetSettings: []
spriteSheet:
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Images/face.meta
================================================
fileFormatVersion: 2
guid: d49f9a80226fb2d43889709c0ddb1998
folderAsset: yes
timeCreated: 1475290679
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Images/num/+.png.meta
================================================
fileFormatVersion: 2
guid: ee4d297ad55eb6642be52b8ad7ce597f
timeCreated: 1475288826
licenseType: Free
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 0
textureType: -1
buildTargetSettings: []
spriteSheet:
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Images/num/-.png.meta
================================================
fileFormatVersion: 2
guid: b73574b7669bab942b875279e4e01fd4
timeCreated: 1475288826
licenseType: Free
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 0
textureType: -1
buildTargetSettings: []
spriteSheet:
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Images/num/0.png.meta
================================================
fileFormatVersion: 2
guid: 448be106794026d4891045dead0b0c10
timeCreated: 1475288826
licenseType: Free
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 0
textureType: -1
buildTargetSettings: []
spriteSheet:
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Images/num/1.png.meta
================================================
fileFormatVersion: 2
guid: bb2a46b41f14fd043b2a15cc3afa89a5
timeCreated: 1475288826
licenseType: Free
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 0
textureType: -1
buildTargetSettings: []
spriteSheet:
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Images/num/2.png.meta
================================================
fileFormatVersion: 2
guid: a920a31557130fd4392ed11cc4f5cde4
timeCreated: 1475288826
licenseType: Free
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 0
textureType: -1
buildTargetSettings: []
spriteSheet:
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Images/num/3.png.meta
================================================
fileFormatVersion: 2
guid: f78572fbf789e764ab689fdb9a6678a5
timeCreated: 1475288827
licenseType: Free
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 0
textureType: -1
buildTargetSettings: []
spriteSheet:
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Images/num/4.png.meta
================================================
fileFormatVersion: 2
guid: effdadaa3f670864aa1a1ad924b2c84c
timeCreated: 1475288827
licenseType: Free
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 0
textureType: -1
buildTargetSettings: []
spriteSheet:
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Images/num/5.png.meta
================================================
fileFormatVersion: 2
guid: bedb6fccbfc4ada4795c4974b5e1d5d1
timeCreated: 1475288826
licenseType: Free
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 0
textureType: -1
buildTargetSettings: []
spriteSheet:
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Images/num/6.png.meta
================================================
fileFormatVersion: 2
guid: 0137ba463e7d2af4185c175cbb5d7ef9
timeCreated: 1475288825
licenseType: Free
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 0
textureType: -1
buildTargetSettings: []
spriteSheet:
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Images/num/7.png.meta
================================================
fileFormatVersion: 2
guid: 007f51b12131499408d8eb1e966f4a13
timeCreated: 1475288824
licenseType: Free
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 0
textureType: -1
buildTargetSettings: []
spriteSheet:
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Images/num/8.png.meta
================================================
fileFormatVersion: 2
guid: 1e442073bd5a83540831526cf6b8ffba
timeCreated: 1475288825
licenseType: Free
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 0
textureType: -1
buildTargetSettings: []
spriteSheet:
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Images/num/9.png.meta
================================================
fileFormatVersion: 2
guid: 3ea6ceaf13333284abeb18992f0d00da
timeCreated: 1475288825
licenseType: Free
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 0
textureType: -1
buildTargetSettings: []
spriteSheet:
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Images/num.meta
================================================
fileFormatVersion: 2
guid: 61bceac2d08e72a43927a6ca2b73ceda
folderAsset: yes
timeCreated: 1475288820
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Images.meta
================================================
fileFormatVersion: 2
guid: 5e1f5b75292887f448e6bc8a4d02f65d
folderAsset: yes
timeCreated: 1475288778
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Models/CubeMap.mat.meta
================================================
fileFormatVersion: 2
guid: d57775a52c3b77a4fa822d2cbe1b6e28
timeCreated: 1470559566
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Models/CubeMap.shader
================================================
Shader "Example/CubeMap" {
Properties{
_MainTex("Texture",2D) = "white" {}
_BumpMap("Bumpmap",2D) = "bump" {}
_Cube("Cubemap",CUBE) = "" {}
}
SubShader{
Tags {"RenderType"="Opaque"}
CGPROGRAM
#pragma surface surf Lambert
struct Input {
float2 uv_BumpMap;
float2 uv_MainTex;
float3 worldRefl;
INTERNAL_DATA
};
sampler2D _MainTex;
sampler2D _BumpMap;
samplerCUBE _Cube;
void surf(Input IN, inout SurfaceOutput o) {
o.Albedo = tex2D(_MainTex, IN.uv_MainTex) * 0.5;
o.Normal = UnpackNormal(tex2D(_BumpMap, IN.uv_BumpMap));
o.Emission = texCUBE(_Cube, WorldReflectionVector(IN,o.Normal));
}
ENDCG
}
Fallback "Diffuse"
}
================================================
FILE: Assets/Game/Models/CubeMap.shader.meta
================================================
fileFormatVersion: 2
guid: df77af1b98a2cfc4faf9c1f500bf7f4e
timeCreated: 1470559566
licenseType: Free
ShaderImporter:
defaultTextures: []
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Models/Teddy/Materials/TeddyBear_color.mat.meta
================================================
fileFormatVersion: 2
guid: 5170bca6033460448afb5938543ca8b1
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Models/Teddy/Materials/TeddyBear_color.tga.meta
================================================
fileFormatVersion: 2
guid: 13ec991b6199ff54085108d33af49c79
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: .25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 8
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 256
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: .5, y: .5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 0
textureType: -1
buildTargetSettings: []
spriteSheet:
sprites: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Models/Teddy/Materials/Teddy_DIF.mat.meta
================================================
fileFormatVersion: 2
guid: ed769c2e0ccae0f4c95e3494f3bdbecf
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Models/Teddy/Materials/Teddy_DIF.psd.meta
================================================
fileFormatVersion: 2
guid: e03df07cc0e635c449f2d796328840ad
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: .25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 8
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 256
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: .5, y: .5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 0
textureType: -1
buildTargetSettings: []
spriteSheet:
sprites: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Models/Teddy/Materials/Teddy_Eye.mat.meta
================================================
fileFormatVersion: 2
guid: f5b7e16e3bc986144bb38e058ac7516b
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Models/Teddy/Materials/Teddy_Eye.psd.meta
================================================
fileFormatVersion: 2
guid: d7540a3a54457354bb75b58f978f763c
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: .25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 8
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 64
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: .5, y: .5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 0
textureType: -1
buildTargetSettings: []
spriteSheet:
sprites: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Models/Teddy/Materials.meta
================================================
fileFormatVersion: 2
guid: 5fe267c58209a394b8d6b55e791e2051
folderAsset: yes
timeCreated: 1451461408
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Models/Teddy/Teddy.controller.meta
================================================
fileFormatVersion: 2
guid: 17ca7bb459b01f2489da46de7962d709
timeCreated: 1451883534
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Models/Teddy/Teddy.fbx.meta
================================================
fileFormatVersion: 2
guid: 5eb27fd0b014c9847ad0ce07b511ac21
timeCreated: 1451461409
licenseType: Free
ModelImporter:
serializedVersion: 18
fileIDToRecycleName:
100000: Bip001
100002: Bip001 Footsteps
100004: Bip001 Head
100006: Bip001 HeadNub
100008: Bip001 L Calf
100010: Bip001 L Clavicle
100012: Bip001 L Finger0
100014: Bip001 L Finger0Nub
100016: Bip001 L Foot
100018: Bip001 L Forearm
100020: Bip001 L Hand
100022: Bip001 L Thigh
100024: Bip001 L Toe0
100026: Bip001 L Toe01
100028: Bip001 L Toe02
100030: Bip001 L Toe0Nub
100032: Bip001 L UpperArm
100034: Bip001 Neck
100036: Bip001 Pelvis
100038: Bip001 R Calf
100040: Bip001 R Clavicle
100042: Bip001 R Finger0
100044: Bip001 R Finger0Nub
100046: Bip001 R Foot
100048: Bip001 R Forearm
100050: Bip001 R Hand
100052: Bip001 R Thigh
100054: Bip001 R Toe0
100056: Bip001 R Toe01
100058: Bip001 R Toe02
100060: Bip001 R Toe0Nub
100062: Bip001 R UpperArm
100064: Bip001 Spine
100066: Bip001 Spine1
100068: Bip001 Spine2
100070: Bip001 Spine3
100072: Eye_Left
100074: Eye_Right
100076: //RootNode
100078: Teddy_Body
400000: Bip001
400002: Bip001 Footsteps
400004: Bip001 Head
400006: Bip001 HeadNub
400008: Bip001 L Calf
400010: Bip001 L Clavicle
400012: Bip001 L Finger0
400014: Bip001 L Finger0Nub
400016: Bip001 L Foot
400018: Bip001 L Forearm
400020: Bip001 L Hand
400022: Bip001 L Thigh
400024: Bip001 L Toe0
400026: Bip001 L Toe01
400028: Bip001 L Toe02
400030: Bip001 L Toe0Nub
400032: Bip001 L UpperArm
400034: Bip001 Neck
400036: Bip001 Pelvis
400038: Bip001 R Calf
400040: Bip001 R Clavicle
400042: Bip001 R Finger0
400044: Bip001 R Finger0Nub
400046: Bip001 R Foot
400048: Bip001 R Forearm
400050: Bip001 R Hand
400052: Bip001 R Thigh
400054: Bip001 R Toe0
400056: Bip001 R Toe01
400058: Bip001 R Toe02
400060: Bip001 R Toe0Nub
400062: Bip001 R UpperArm
400064: Bip001 Spine
400066: Bip001 Spine1
400068: Bip001 Spine2
400070: Bip001 Spine3
400072: Eye_Left
400074: Eye_Right
400076: //RootNode
400078: Teddy_Body
4300000: Eye_Left
4300002: Eye_Right
4300004: Teddy_Body
7400000: run
7400002: atk
7400004: idle
9500000: //RootNode
13700000: Eye_Left
13700002: Eye_Right
13700004: Teddy_Body
materials:
importMaterials: 1
materialName: 0
materialSearch: 1
animations:
legacyGenerateAnimations: 4
bakeSimulation: 0
optimizeGameObjects: 0
motionNodeName:
animationImportErrors:
animationImportWarnings:
animationRetargetingWarnings:
animationDoRetargetingWarnings: 0
animationCompression: 1
animationRotationError: .5
animationPositionError: .5
animationScaleError: .5
animationWrapMode: 0
extraExposedTransformPaths: []
clipAnimations:
- serializedVersion: 16
name: run
takeName: Take 001
firstFrame: 0
lastFrame: 25
wrapMode: 0
orientationOffsetY: 0
level: 0
cycleOffset: 0
loop: 0
loopTime: 0
loopBlend: 0
loopBlendOrientation: 0
loopBlendPositionY: 0
loopBlendPositionXZ: 0
keepOriginalOrientation: 0
keepOriginalPositionY: 1
keepOriginalPositionXZ: 0
heightFromFeet: 0
mirror: 0
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
curves: []
events: []
transformMask:
- path:
weight: 1
- path: Bip001
weight: 1
- path: Bip001/Bip001 Footsteps
weight: 1
- path: Bip001/Bip001 Pelvis
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 L Thigh
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 L Thigh/Bip001 L Calf
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 L Thigh/Bip001 L Calf/Bip001
L Foot
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 L Thigh/Bip001 L Calf/Bip001
L Foot/Bip001 L Toe0
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 L Thigh/Bip001 L Calf/Bip001
L Foot/Bip001 L Toe0/Bip001 L Toe01
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 L Thigh/Bip001 L Calf/Bip001
L Foot/Bip001 L Toe0/Bip001 L Toe01/Bip001 L Toe02
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 L Thigh/Bip001 L Calf/Bip001
L Foot/Bip001 L Toe0/Bip001 L Toe01/Bip001 L Toe02/Bip001 L Toe0Nub
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 R Thigh
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 R Thigh/Bip001 R Calf
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 R Thigh/Bip001 R Calf/Bip001
R Foot
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 R Thigh/Bip001 R Calf/Bip001
R Foot/Bip001 R Toe0
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 R Thigh/Bip001 R Calf/Bip001
R Foot/Bip001 R Toe0/Bip001 R Toe01
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 R Thigh/Bip001 R Calf/Bip001
R Foot/Bip001 R Toe0/Bip001 R Toe01/Bip001 R Toe02
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 R Thigh/Bip001 R Calf/Bip001
R Foot/Bip001 R Toe0/Bip001 R Toe01/Bip001 R Toe02/Bip001 R Toe0Nub
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 Head
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 Head/Bip001 HeadNub
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 L Clavicle
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 L Clavicle/Bip001 L UpperArm
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 L Clavicle/Bip001 L UpperArm/Bip001 L Forearm
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 L Clavicle/Bip001 L UpperArm/Bip001 L Forearm/Bip001
L Hand
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 L Clavicle/Bip001 L UpperArm/Bip001 L Forearm/Bip001
L Hand/Bip001 L Finger0
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 L Clavicle/Bip001 L UpperArm/Bip001 L Forearm/Bip001
L Hand/Bip001 L Finger0/Bip001 L Finger0Nub
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 R Clavicle
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 R Clavicle/Bip001 R UpperArm
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 R Clavicle/Bip001 R UpperArm/Bip001 R Forearm
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 R Clavicle/Bip001 R UpperArm/Bip001 R Forearm/Bip001
R Hand
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 R Clavicle/Bip001 R UpperArm/Bip001 R Forearm/Bip001
R Hand/Bip001 R Finger0
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 R Clavicle/Bip001 R UpperArm/Bip001 R Forearm/Bip001
R Hand/Bip001 R Finger0/Bip001 R Finger0Nub
weight: 1
- path: Eye_Left
weight: 1
- path: Eye_Right
weight: 1
- path: Teddy_Body
weight: 1
maskType: 0
maskSource: {instanceID: 0}
- serializedVersion: 16
name: atk
takeName: Take 001
firstFrame: 25
lastFrame: 60
wrapMode: 0
orientationOffsetY: 0
level: 0
cycleOffset: 0
loop: 0
loopTime: 0
loopBlend: 0
loopBlendOrientation: 0
loopBlendPositionY: 0
loopBlendPositionXZ: 0
keepOriginalOrientation: 0
keepOriginalPositionY: 1
keepOriginalPositionXZ: 0
heightFromFeet: 0
mirror: 0
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
curves: []
events: []
transformMask:
- path:
weight: 1
- path: Bip001
weight: 1
- path: Bip001/Bip001 Footsteps
weight: 1
- path: Bip001/Bip001 Pelvis
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 L Thigh
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 L Thigh/Bip001 L Calf
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 L Thigh/Bip001 L Calf/Bip001
L Foot
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 L Thigh/Bip001 L Calf/Bip001
L Foot/Bip001 L Toe0
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 L Thigh/Bip001 L Calf/Bip001
L Foot/Bip001 L Toe0/Bip001 L Toe01
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 L Thigh/Bip001 L Calf/Bip001
L Foot/Bip001 L Toe0/Bip001 L Toe01/Bip001 L Toe02
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 L Thigh/Bip001 L Calf/Bip001
L Foot/Bip001 L Toe0/Bip001 L Toe01/Bip001 L Toe02/Bip001 L Toe0Nub
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 R Thigh
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 R Thigh/Bip001 R Calf
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 R Thigh/Bip001 R Calf/Bip001
R Foot
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 R Thigh/Bip001 R Calf/Bip001
R Foot/Bip001 R Toe0
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 R Thigh/Bip001 R Calf/Bip001
R Foot/Bip001 R Toe0/Bip001 R Toe01
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 R Thigh/Bip001 R Calf/Bip001
R Foot/Bip001 R Toe0/Bip001 R Toe01/Bip001 R Toe02
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 R Thigh/Bip001 R Calf/Bip001
R Foot/Bip001 R Toe0/Bip001 R Toe01/Bip001 R Toe02/Bip001 R Toe0Nub
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 Head
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 Head/Bip001 HeadNub
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 L Clavicle
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 L Clavicle/Bip001 L UpperArm
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 L Clavicle/Bip001 L UpperArm/Bip001 L Forearm
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 L Clavicle/Bip001 L UpperArm/Bip001 L Forearm/Bip001
L Hand
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 L Clavicle/Bip001 L UpperArm/Bip001 L Forearm/Bip001
L Hand/Bip001 L Finger0
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 L Clavicle/Bip001 L UpperArm/Bip001 L Forearm/Bip001
L Hand/Bip001 L Finger0/Bip001 L Finger0Nub
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 R Clavicle
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 R Clavicle/Bip001 R UpperArm
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 R Clavicle/Bip001 R UpperArm/Bip001 R Forearm
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 R Clavicle/Bip001 R UpperArm/Bip001 R Forearm/Bip001
R Hand
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 R Clavicle/Bip001 R UpperArm/Bip001 R Forearm/Bip001
R Hand/Bip001 R Finger0
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 R Clavicle/Bip001 R UpperArm/Bip001 R Forearm/Bip001
R Hand/Bip001 R Finger0/Bip001 R Finger0Nub
weight: 1
- path: Eye_Left
weight: 1
- path: Eye_Right
weight: 1
- path: Teddy_Body
weight: 1
maskType: 0
maskSource: {instanceID: 0}
- serializedVersion: 16
name: idle
takeName: Take 001
firstFrame: 60
lastFrame: 75
wrapMode: 0
orientationOffsetY: 0
level: 0
cycleOffset: 0
loop: 0
loopTime: 1
loopBlend: 0
loopBlendOrientation: 0
loopBlendPositionY: 0
loopBlendPositionXZ: 0
keepOriginalOrientation: 0
keepOriginalPositionY: 1
keepOriginalPositionXZ: 0
heightFromFeet: 0
mirror: 0
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
curves: []
events: []
transformMask:
- path:
weight: 1
- path: Bip001
weight: 1
- path: Bip001/Bip001 Footsteps
weight: 1
- path: Bip001/Bip001 Pelvis
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 L Thigh
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 L Thigh/Bip001 L Calf
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 L Thigh/Bip001 L Calf/Bip001
L Foot
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 L Thigh/Bip001 L Calf/Bip001
L Foot/Bip001 L Toe0
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 L Thigh/Bip001 L Calf/Bip001
L Foot/Bip001 L Toe0/Bip001 L Toe01
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 L Thigh/Bip001 L Calf/Bip001
L Foot/Bip001 L Toe0/Bip001 L Toe01/Bip001 L Toe02
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 L Thigh/Bip001 L Calf/Bip001
L Foot/Bip001 L Toe0/Bip001 L Toe01/Bip001 L Toe02/Bip001 L Toe0Nub
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 R Thigh
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 R Thigh/Bip001 R Calf
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 R Thigh/Bip001 R Calf/Bip001
R Foot
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 R Thigh/Bip001 R Calf/Bip001
R Foot/Bip001 R Toe0
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 R Thigh/Bip001 R Calf/Bip001
R Foot/Bip001 R Toe0/Bip001 R Toe01
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 R Thigh/Bip001 R Calf/Bip001
R Foot/Bip001 R Toe0/Bip001 R Toe01/Bip001 R Toe02
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 R Thigh/Bip001 R Calf/Bip001
R Foot/Bip001 R Toe0/Bip001 R Toe01/Bip001 R Toe02/Bip001 R Toe0Nub
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 Head
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 Head/Bip001 HeadNub
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 L Clavicle
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 L Clavicle/Bip001 L UpperArm
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 L Clavicle/Bip001 L UpperArm/Bip001 L Forearm
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 L Clavicle/Bip001 L UpperArm/Bip001 L Forearm/Bip001
L Hand
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 L Clavicle/Bip001 L UpperArm/Bip001 L Forearm/Bip001
L Hand/Bip001 L Finger0
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 L Clavicle/Bip001 L UpperArm/Bip001 L Forearm/Bip001
L Hand/Bip001 L Finger0/Bip001 L Finger0Nub
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 R Clavicle
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 R Clavicle/Bip001 R UpperArm
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 R Clavicle/Bip001 R UpperArm/Bip001 R Forearm
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 R Clavicle/Bip001 R UpperArm/Bip001 R Forearm/Bip001
R Hand
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 R Clavicle/Bip001 R UpperArm/Bip001 R Forearm/Bip001
R Hand/Bip001 R Finger0
weight: 1
- path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001
Spine3/Bip001 Neck/Bip001 R Clavicle/Bip001 R UpperArm/Bip001 R Forearm/Bip001
R Hand/Bip001 R Finger0/Bip001 R Finger0Nub
weight: 1
- path: Eye_Left
weight: 1
- path: Eye_Right
weight: 1
- path: Teddy_Body
weight: 1
maskType: 0
maskSource: {instanceID: 0}
isReadable: 1
meshes:
lODScreenPercentages: []
globalScale: 100
meshCompression: 0
addColliders: 0
importBlendShapes: 1
swapUVChannels: 0
generateSecondaryUV: 0
useFileUnits: 1
optimizeMeshForGPU: 1
keepQuads: 0
weldVertices: 1
secondaryUVAngleDistortion: 8
secondaryUVAreaDistortion: 15.000001
secondaryUVHardAngle: 88
secondaryUVPackMargin: 4
useFileScale: 1
tangentSpace:
normalSmoothAngle: 60
splitTangentsAcrossUV: 1
normalImportMode: 0
tangentImportMode: 1
importAnimation: 1
copyAvatar: 0
humanDescription:
human: []
skeleton: []
armTwist: .5
foreArmTwist: .5
upperLegTwist: .5
legTwist: .5
armStretch: .0500000007
legStretch: .0500000007
feetSpacing: 0
rootMotionBoneName:
hasTranslationDoF: 0
lastHumanDescriptionAvatarSource: {instanceID: 0}
animationType: 2
humanoidOversampling: 1
additionalBone: 0
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Models/Teddy/TeddyBear.fbx.meta
================================================
fileFormatVersion: 2
guid: 51305fd23db2d994d9ee372ceac378c3
timeCreated: 1451461409
licenseType: Free
ModelImporter:
serializedVersion: 18
fileIDToRecycleName:
100000: ChestJoint01
100002: HeadJoint01
100004: HipJoint01
100006: Left_AnkleJoint01
100008: Left_ArmJoint01
100010: Left_ElbowJoint01
100012: Left_KneeJoint01
100014: Left_ShoulderJoint01
100016: Left_ThighJoint01
100018: Left_ToeJoint01
100020: Left_WristJoint01
100022: Right_AnkleJoint01
100024: Right_ArmJoint01
100026: Right_ElbowJoint01
100028: Right_KneeJoint01
100030: Right_ShoulderJoint01
100032: Right_ThighJoint01
100034: Right_ToeJoint01
100036: Right_WristJoint01
100038: RootJoint01
100040: Teddy_Bear
100042: //RootNode
400000: ChestJoint01
400002: HeadJoint01
400004: HipJoint01
400006: Left_AnkleJoint01
400008: Left_ArmJoint01
400010: Left_ElbowJoint01
400012: Left_KneeJoint01
400014: Left_ShoulderJoint01
400016: Left_ThighJoint01
400018: Left_ToeJoint01
400020: Left_WristJoint01
400022: Right_AnkleJoint01
400024: Right_ArmJoint01
400026: Right_ElbowJoint01
400028: Right_KneeJoint01
400030: Right_ShoulderJoint01
400032: Right_ThighJoint01
400034: Right_ToeJoint01
400036: Right_WristJoint01
400038: RootJoint01
400040: Teddy_Bear
400042: //RootNode
4300000: Teddy_Bear
9500000: //RootNode
13700000: Teddy_Bear
materials:
importMaterials: 1
materialName: 0
materialSearch: 1
animations:
legacyGenerateAnimations: 4
bakeSimulation: 0
optimizeGameObjects: 0
motionNodeName:
animationImportErrors:
animationImportWarnings:
animationRetargetingWarnings:
animationDoRetargetingWarnings: 0
animationCompression: 1
animationRotationError: .5
animationPositionError: .5
animationScaleError: .5
animationWrapMode: 0
extraExposedTransformPaths: []
clipAnimations: []
isReadable: 1
meshes:
lODScreenPercentages: []
globalScale: 1
meshCompression: 0
addColliders: 0
importBlendShapes: 1
swapUVChannels: 0
generateSecondaryUV: 0
useFileUnits: 1
optimizeMeshForGPU: 1
keepQuads: 0
weldVertices: 1
secondaryUVAngleDistortion: 8
secondaryUVAreaDistortion: 15.000001
secondaryUVHardAngle: 88
secondaryUVPackMargin: 4
useFileScale: 1
tangentSpace:
normalSmoothAngle: 60
splitTangentsAcrossUV: 1
normalImportMode: 0
tangentImportMode: 1
importAnimation: 1
copyAvatar: 0
humanDescription:
human: []
skeleton: []
armTwist: .5
foreArmTwist: .5
upperLegTwist: .5
legTwist: .5
armStretch: .0500000007
legStretch: .0500000007
feetSpacing: 0
rootMotionBoneName:
hasTranslationDoF: 0
lastHumanDescriptionAvatarSource: {instanceID: 0}
animationType: 2
humanoidOversampling: 1
additionalBone: 0
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Models/Teddy.meta
================================================
fileFormatVersion: 2
guid: a66a4f61606a24dd3816d8e90d3a4c84
folderAsset: yes
timeCreated: 1474243881
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Models/cubemap.jpg.meta
================================================
fileFormatVersion: 2
guid: 879a814d4a496da44ade1bc4d510e583
timeCreated: 1470559565
licenseType: Free
TextureImporter:
fileIDToRecycleName:
8900000: generatedCubemap
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: 1
nPOTScale: 1
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 0
textureType: 3
buildTargetSettings: []
spriteSheet:
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Models.meta
================================================
fileFormatVersion: 2
guid: 2fe00afb39194574f811581265ac548e
folderAsset: yes
timeCreated: 1470558010
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
================================================
FILE: Assets/Game/Resources/Atlas/common.png.meta
================================================
fileFormatVersion: 2
guid: 70d5c8ff6242c9b4eb6cb9c65da6ffec
timeCreated: 1479526118
licenseType: Free
TextureImporter:
fileIDToRecycleName:
21300000: ctlv_bg
21300002: ctlv_joy
21300004: img_cat
21300006: progress_bar
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 0
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 2
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
gitextract_b1oub49q/ ├── .gitignore ├── Assembly-CSharp-Editor.csproj ├── Assembly-CSharp-firstpass.csproj ├── Assets/ │ ├── Game/ │ │ ├── @Lua/ │ │ │ ├── Base/ │ │ │ │ ├── LClass.lua │ │ │ │ ├── LClass.lua.meta │ │ │ │ ├── LGlobal.lua │ │ │ │ ├── LGlobal.lua.meta │ │ │ │ ├── LMessage.lua │ │ │ │ ├── LMessage.lua.meta │ │ │ │ ├── LVersion.lua │ │ │ │ └── LVersion.lua.meta │ │ │ ├── Base.meta │ │ │ ├── Game/ │ │ │ │ ├── Common/ │ │ │ │ │ ├── EventNames.lua │ │ │ │ │ ├── EventNames.lua.meta │ │ │ │ │ ├── MsgId.lua │ │ │ │ │ ├── MsgId.lua.meta │ │ │ │ │ ├── NetworkManager.lua │ │ │ │ │ ├── NetworkManager.lua.meta │ │ │ │ │ ├── Util.lua │ │ │ │ │ ├── Util.lua.meta │ │ │ │ │ ├── i18n.lua │ │ │ │ │ └── i18n.lua.meta │ │ │ │ ├── Common.meta │ │ │ │ ├── MsgBox.lua │ │ │ │ ├── MsgBox.lua.meta │ │ │ │ ├── Proto/ │ │ │ │ │ ├── masterd.bytes │ │ │ │ │ └── masterd.bytes.meta │ │ │ │ └── Proto.meta │ │ │ ├── Game.meta │ │ │ ├── Lib/ │ │ │ │ ├── protobuf/ │ │ │ │ │ ├── parser.lua │ │ │ │ │ ├── parser.lua.meta │ │ │ │ │ ├── protobuf.lua │ │ │ │ │ └── protobuf.lua.meta │ │ │ │ └── protobuf.meta │ │ │ ├── Lib.meta │ │ │ ├── import.lua │ │ │ ├── import.lua.meta │ │ │ ├── main.lua │ │ │ └── main.lua.meta │ │ ├── @Lua.meta │ │ ├── Editor/ │ │ │ ├── AssetBundleMaker/ │ │ │ │ ├── ExportAssetBundles.cs │ │ │ │ ├── ExportAssetBundles.cs.meta │ │ │ │ ├── ExportConfigWindow.cs │ │ │ │ └── ExportConfigWindow.cs.meta │ │ │ ├── AssetBundleMaker.meta │ │ │ ├── BmfontMaker/ │ │ │ │ ├── BMFont.cs │ │ │ │ ├── BMFont.cs.meta │ │ │ │ ├── BMFontReader.cs │ │ │ │ ├── BMFontReader.cs.meta │ │ │ │ ├── BMGlyph.cs │ │ │ │ ├── BMGlyph.cs.meta │ │ │ │ ├── BmBetterList.cs │ │ │ │ ├── BmBetterList.cs.meta │ │ │ │ ├── BmByteReader.cs │ │ │ │ ├── BmByteReader.cs.meta │ │ │ │ ├── BmFontEditor.cs │ │ │ │ └── BmFontEditor.cs.meta │ │ │ ├── BmfontMaker.meta │ │ │ ├── Helper.cs │ │ │ ├── Helper.cs.meta │ │ │ ├── I18nExporter/ │ │ │ │ ├── I18nExporter.cs │ │ │ │ └── I18nExporter.cs.meta │ │ │ ├── I18nExporter.meta │ │ │ ├── MakeDebugFile.cs │ │ │ ├── MakeDebugFile.cs.meta │ │ │ ├── TexturePackerImporter/ │ │ │ │ ├── SettingsTexturePackerImporter.txt │ │ │ │ ├── SettingsTexturePackerImporter.txt.meta │ │ │ │ ├── TexturePackerImporter.cs │ │ │ │ └── TexturePackerImporter.cs.meta │ │ │ └── TexturePackerImporter.meta │ │ ├── Editor.meta │ │ ├── Images/ │ │ │ ├── common/ │ │ │ │ ├── ctlv_bg.png.meta │ │ │ │ ├── ctlv_joy.png.meta │ │ │ │ ├── img_cat.png.meta │ │ │ │ └── progress_bar.jpg.meta │ │ │ ├── common.meta │ │ │ ├── face/ │ │ │ │ ├── 0101.png.meta │ │ │ │ ├── 0102.png.meta │ │ │ │ ├── 0103.png.meta │ │ │ │ ├── 0201.png.meta │ │ │ │ ├── 0202.png.meta │ │ │ │ └── 0203.png.meta │ │ │ ├── face.meta │ │ │ ├── num/ │ │ │ │ ├── +.png.meta │ │ │ │ ├── -.png.meta │ │ │ │ ├── 0.png.meta │ │ │ │ ├── 1.png.meta │ │ │ │ ├── 2.png.meta │ │ │ │ ├── 3.png.meta │ │ │ │ ├── 4.png.meta │ │ │ │ ├── 5.png.meta │ │ │ │ ├── 6.png.meta │ │ │ │ ├── 7.png.meta │ │ │ │ ├── 8.png.meta │ │ │ │ └── 9.png.meta │ │ │ └── num.meta │ │ ├── Images.meta │ │ ├── Models/ │ │ │ ├── CubeMap.mat │ │ │ ├── CubeMap.mat.meta │ │ │ ├── CubeMap.shader │ │ │ ├── CubeMap.shader.meta │ │ │ ├── Teddy/ │ │ │ │ ├── Materials/ │ │ │ │ │ ├── TeddyBear_color.mat │ │ │ │ │ ├── TeddyBear_color.mat.meta │ │ │ │ │ ├── TeddyBear_color.tga │ │ │ │ │ ├── TeddyBear_color.tga.meta │ │ │ │ │ ├── Teddy_DIF.mat │ │ │ │ │ ├── Teddy_DIF.mat.meta │ │ │ │ │ ├── Teddy_DIF.psd │ │ │ │ │ ├── Teddy_DIF.psd.meta │ │ │ │ │ ├── Teddy_Eye.mat │ │ │ │ │ ├── Teddy_Eye.mat.meta │ │ │ │ │ ├── Teddy_Eye.psd │ │ │ │ │ └── Teddy_Eye.psd.meta │ │ │ │ ├── Materials.meta │ │ │ │ ├── Teddy.controller │ │ │ │ ├── Teddy.controller.meta │ │ │ │ ├── Teddy.fbx │ │ │ │ ├── Teddy.fbx.meta │ │ │ │ ├── TeddyBear.fbx │ │ │ │ └── TeddyBear.fbx.meta │ │ │ ├── Teddy.meta │ │ │ └── cubemap.jpg.meta │ │ ├── Models.meta │ │ ├── Resources/ │ │ │ ├── Atlas/ │ │ │ │ ├── common.png.meta │ │ │ │ ├── face.png.meta │ │ │ │ └── num.png.meta │ │ │ ├── Atlas.meta │ │ │ ├── Audios/ │ │ │ │ ├── dungeon01.mp3.meta │ │ │ │ ├── dungeon02.mp3.meta │ │ │ │ ├── effect2.mp3.meta │ │ │ │ ├── effect_bombPattern.mp3.meta │ │ │ │ ├── effect_buttonClick.mp3.meta │ │ │ │ ├── effect_clearPattern.mp3.meta │ │ │ │ ├── effect_game_fail.mp3.meta │ │ │ │ ├── effect_game_pass.mp3.meta │ │ │ │ ├── effect_ice.mp3.meta │ │ │ │ ├── effect_noclear.mp3.meta │ │ │ │ ├── effect_timewarning.mp3.meta │ │ │ │ ├── effect_unswap.mp3.meta │ │ │ │ ├── endgame.mp3.meta │ │ │ │ ├── enemy1_down 1.mp3.meta │ │ │ │ ├── enemy1_down.mp3.meta │ │ │ │ ├── enemy2_down 1.mp3.meta │ │ │ │ ├── enemy2_down.mp3.meta │ │ │ │ ├── enemy2_out 1.mp3.meta │ │ │ │ ├── enemy2_out.mp3.meta │ │ │ │ ├── enemy3_down 1.mp3.meta │ │ │ │ └── enemy3_down.mp3.meta │ │ │ ├── Audios.meta │ │ │ ├── Prefabs/ │ │ │ │ ├── MsgBox.prefab │ │ │ │ ├── MsgBox.prefab.meta │ │ │ │ ├── Teddy.prefab │ │ │ │ ├── Teddy.prefab.meta │ │ │ │ ├── WindowGridView.prefab │ │ │ │ ├── WindowGridView.prefab.meta │ │ │ │ ├── grid_cell.prefab │ │ │ │ ├── grid_cell.prefab.meta │ │ │ │ ├── list_cell.prefab │ │ │ │ ├── list_cell.prefab.meta │ │ │ │ ├── page_cell.prefab │ │ │ │ ├── page_cell.prefab.meta │ │ │ │ ├── scorl_test.prefab │ │ │ │ ├── scorl_test.prefab.meta │ │ │ │ ├── tbl_test.prefab │ │ │ │ └── tbl_test.prefab.meta │ │ │ ├── Prefabs.meta │ │ │ ├── Scenes/ │ │ │ │ ├── first.unity │ │ │ │ ├── first.unity.meta │ │ │ │ ├── second.unity │ │ │ │ ├── second.unity.meta │ │ │ │ ├── start.unity │ │ │ │ └── start.unity.meta │ │ │ ├── Scenes.meta │ │ │ ├── Scripts/ │ │ │ │ ├── Demo/ │ │ │ │ │ ├── Firstui.cs │ │ │ │ │ ├── Firstui.cs.meta │ │ │ │ │ ├── Secondui.cs │ │ │ │ │ ├── Secondui.cs.meta │ │ │ │ │ ├── WindowGridView.cs │ │ │ │ │ └── WindowGridView.cs.meta │ │ │ │ ├── Demo.meta │ │ │ │ ├── LBase/ │ │ │ │ │ ├── Game.cs │ │ │ │ │ ├── Game.cs.meta │ │ │ │ │ ├── LArchiveBin.cs │ │ │ │ │ ├── LArchiveBin.cs.meta │ │ │ │ │ ├── LArchiveBinFile.cs │ │ │ │ │ ├── LArchiveBinFile.cs.meta │ │ │ │ │ ├── LGameConfig.cs │ │ │ │ │ ├── LGameConfig.cs.meta │ │ │ │ │ ├── LLoadBundle.cs │ │ │ │ │ ├── LLoadBundle.cs.meta │ │ │ │ │ ├── LLuaBehaviourBase.cs │ │ │ │ │ ├── LLuaBehaviourBase.cs.meta │ │ │ │ │ ├── LLuaBehaviourInterface.cs │ │ │ │ │ ├── LLuaBehaviourInterface.cs.meta │ │ │ │ │ ├── LLuaTable.cs │ │ │ │ │ ├── LLuaTable.cs.meta │ │ │ │ │ ├── LResUpdate.cs │ │ │ │ │ ├── LResUpdate.cs.meta │ │ │ │ │ ├── LUtil.cs │ │ │ │ │ └── LUtil.cs.meta │ │ │ │ ├── LBase.meta │ │ │ │ ├── LWidget/ │ │ │ │ │ ├── LButton.cs │ │ │ │ │ ├── LButton.cs.meta │ │ │ │ │ ├── LControlView.cs │ │ │ │ │ ├── LControlView.cs.meta │ │ │ │ │ ├── LDragView.cs │ │ │ │ │ ├── LDragView.cs.meta │ │ │ │ │ ├── LExpandListView.cs │ │ │ │ │ ├── LExpandListView.cs.meta │ │ │ │ │ ├── LExpandNode.cs │ │ │ │ │ ├── LExpandNode.cs.meta │ │ │ │ │ ├── LFPSView.cs │ │ │ │ │ ├── LFPSView.cs.meta │ │ │ │ │ ├── LGridPageView.cs │ │ │ │ │ ├── LGridPageView.cs.meta │ │ │ │ │ ├── LGridView.cs │ │ │ │ │ ├── LGridView.cs.meta │ │ │ │ │ ├── LHUDSort.cs │ │ │ │ │ ├── LHUDSort.cs.meta │ │ │ │ │ ├── LHUDView.cs │ │ │ │ │ ├── LHUDView.cs.meta │ │ │ │ │ ├── LInputfield.cs │ │ │ │ │ ├── LInputfield.cs.meta │ │ │ │ │ ├── LLabelAtlas.cs │ │ │ │ │ ├── LLabelAtlas.cs.meta │ │ │ │ │ ├── LListView.cs │ │ │ │ │ ├── LListView.cs.meta │ │ │ │ │ ├── LMacros.cs │ │ │ │ │ ├── LMacros.cs.meta │ │ │ │ │ ├── LMovieClip.cs │ │ │ │ │ ├── LMovieClip.cs.meta │ │ │ │ │ ├── LPageView.cs │ │ │ │ │ ├── LPageView.cs.meta │ │ │ │ │ ├── LPickMark.cs │ │ │ │ │ ├── LPickMark.cs.meta │ │ │ │ │ ├── LProgress.cs │ │ │ │ │ ├── LProgress.cs.meta │ │ │ │ │ ├── LRichText.cs │ │ │ │ │ ├── LRichText.cs.meta │ │ │ │ │ ├── LScrollView.cs │ │ │ │ │ ├── LScrollView.cs.meta │ │ │ │ │ ├── LSlider.cs │ │ │ │ │ ├── LSlider.cs.meta │ │ │ │ │ ├── LSwitch.cs │ │ │ │ │ ├── LSwitch.cs.meta │ │ │ │ │ ├── LTableView.cs │ │ │ │ │ ├── LTableView.cs.meta │ │ │ │ │ ├── LTouchView.cs │ │ │ │ │ ├── LTouchView.cs.meta │ │ │ │ │ ├── LogCollect.cs │ │ │ │ │ └── LogCollect.cs.meta │ │ │ │ ├── LWidget.meta │ │ │ │ ├── LWindow/ │ │ │ │ │ ├── LWindowBase.cs │ │ │ │ │ ├── LWindowBase.cs.meta │ │ │ │ │ ├── LWindowManager.cs │ │ │ │ │ └── LWindowManager.cs.meta │ │ │ │ ├── LWindow.meta │ │ │ │ ├── Net/ │ │ │ │ │ ├── Network.cs │ │ │ │ │ ├── Network.cs.meta │ │ │ │ │ ├── NetworkInterface.cs │ │ │ │ │ ├── NetworkInterface.cs.meta │ │ │ │ │ ├── Reactor.cs │ │ │ │ │ ├── Reactor.cs.meta │ │ │ │ │ ├── ServerProxy.cs │ │ │ │ │ ├── ServerProxy.cs.meta │ │ │ │ │ ├── TCPClientWorker.cs │ │ │ │ │ └── TCPClientWorker.cs.meta │ │ │ │ └── Net.meta │ │ │ ├── Scripts.meta │ │ │ ├── config.txt │ │ │ └── config.txt.meta │ │ └── Resources.meta │ ├── Game.meta │ ├── Plugins/ │ │ ├── Android/ │ │ │ ├── libs/ │ │ │ │ ├── armeabi-v7a/ │ │ │ │ │ └── libslua.so.meta │ │ │ │ ├── armeabi-v7a.meta │ │ │ │ ├── x86/ │ │ │ │ │ └── libslua.so.meta │ │ │ │ └── x86.meta │ │ │ └── libs.meta │ │ ├── Android.meta │ │ ├── ILeanTween.cs │ │ ├── ILeanTween.cs.meta │ │ ├── LTDescr.cs │ │ ├── LTDescr.cs.meta │ │ ├── LeanAudio.cs │ │ ├── LeanAudio.cs.meta │ │ ├── LeanTween.cs │ │ ├── LeanTween.cs.meta │ │ ├── Slua_Managed/ │ │ │ ├── ByteArray.cs │ │ │ ├── ByteArray.cs.meta │ │ │ ├── Coroutine.cs │ │ │ ├── Coroutine.cs.meta │ │ │ ├── Helper.cs │ │ │ ├── Helper.cs.meta │ │ │ ├── Logger.cs │ │ │ ├── Logger.cs.meta │ │ │ ├── Lua3rdDLL.cs │ │ │ ├── Lua3rdDLL.cs.meta │ │ │ ├── Lua3rdMeta.cs │ │ │ ├── Lua3rdMeta.cs.meta │ │ │ ├── LuaArray.cs │ │ │ ├── LuaArray.cs.meta │ │ │ ├── LuaByteArray.cs │ │ │ ├── LuaByteArray.cs.meta │ │ │ ├── LuaDLL.cs │ │ │ ├── LuaDLL.cs.meta │ │ │ ├── LuaDLLWrapper.cs │ │ │ ├── LuaDLLWrapper.cs.meta │ │ │ ├── LuaObject.cs │ │ │ ├── LuaObject.cs.meta │ │ │ ├── LuaObject_basetype.cs │ │ │ ├── LuaObject_basetype.cs.meta │ │ │ ├── LuaObject_overload.cs │ │ │ ├── LuaObject_overload.cs.meta │ │ │ ├── LuaState.cs │ │ │ ├── LuaState.cs.meta │ │ │ ├── LuaSvr.cs │ │ │ ├── LuaSvr.cs.meta │ │ │ ├── LuaSvrGameObject.cs │ │ │ ├── LuaSvrGameObject.cs.meta │ │ │ ├── LuaValueType.cs │ │ │ ├── LuaValueType.cs.meta │ │ │ ├── LuaVarObject.cs │ │ │ ├── LuaVarObject.cs.meta │ │ │ ├── ObjectCache.cs │ │ │ ├── ObjectCache.cs.meta │ │ │ ├── SLuaSetting.cs │ │ │ ├── SLuaSetting.cs.meta │ │ │ ├── Timer.cs │ │ │ ├── Timer.cs.meta │ │ │ ├── WeakDictionary.cs │ │ │ └── WeakDictionary.cs.meta │ │ ├── Slua_Managed.meta │ │ ├── iOS/ │ │ │ ├── libslua.a │ │ │ └── libslua.a.meta │ │ ├── iOS.meta │ │ ├── slua.bundle/ │ │ │ ├── Contents/ │ │ │ │ ├── Info.plist │ │ │ │ ├── Info.plist.meta │ │ │ │ ├── MacOS/ │ │ │ │ │ ├── slua │ │ │ │ │ └── slua.meta │ │ │ │ └── MacOS.meta │ │ │ └── Contents.meta │ │ ├── slua.bundle.meta │ │ ├── x64/ │ │ │ ├── slua.dll.meta │ │ │ └── slua.so.meta │ │ ├── x64.meta │ │ ├── x86/ │ │ │ ├── slua.dll.meta │ │ │ └── slua.so.meta │ │ └── x86.meta │ ├── Plugins.meta │ ├── README │ ├── README.meta │ ├── Slua/ │ │ ├── Editor/ │ │ │ ├── CustomEditor.cs │ │ │ ├── CustomEditor.cs.meta │ │ │ ├── CustomExport.cs │ │ │ ├── CustomExport.cs.meta │ │ │ ├── LuaCodeGen.cs │ │ │ └── LuaCodeGen.cs.meta │ │ ├── Editor.meta │ │ ├── LuaObject.meta │ │ ├── Resources/ │ │ │ ├── Particle System.prefab │ │ │ ├── Particle System.prefab.meta │ │ │ ├── circle/ │ │ │ │ ├── circle.txt │ │ │ │ └── circle.txt.meta │ │ │ ├── circle.meta │ │ │ ├── custom.txt │ │ │ ├── custom.txt.meta │ │ │ ├── delegate.txt │ │ │ ├── delegate.txt.meta │ │ │ ├── lua3rdmeta.asset │ │ │ ├── lua3rdmeta.asset.meta │ │ │ ├── main.txt │ │ │ ├── main.txt.meta │ │ │ ├── module/ │ │ │ │ ├── some.txt │ │ │ │ └── some.txt.meta │ │ │ ├── module.meta │ │ │ ├── new_coroutine.txt │ │ │ ├── new_coroutine.txt.meta │ │ │ ├── perf.txt │ │ │ ├── perf.txt.meta │ │ │ ├── setting.asset │ │ │ ├── setting.asset.meta │ │ │ ├── valuetype.txt │ │ │ ├── valuetype.txt.meta │ │ │ ├── varobj.txt │ │ │ └── varobj.txt.meta │ │ ├── Resources.meta │ │ ├── Source/ │ │ │ ├── LuaThreadWrapper.cs │ │ │ ├── LuaThreadWrapper.cs.meta │ │ │ ├── UnityExtension.cs │ │ │ └── UnityExtension.cs.meta │ │ ├── Source.meta │ │ ├── example/ │ │ │ ├── Circle.cs │ │ │ ├── Circle.cs.meta │ │ │ ├── Custom.cs │ │ │ ├── Custom.cs.meta │ │ │ ├── Deleg.cs │ │ │ ├── Deleg.cs.meta │ │ │ ├── HelloWorld.cs │ │ │ ├── HelloWorld.cs.meta │ │ │ ├── Main.cs │ │ │ ├── Main.cs.meta │ │ │ ├── NewCoroutine.cs │ │ │ ├── NewCoroutine.cs.meta │ │ │ ├── Perf.cs │ │ │ ├── Perf.cs.meta │ │ │ ├── ValueType.cs │ │ │ ├── ValueType.cs.meta │ │ │ ├── VarObj.cs │ │ │ ├── VarObj.cs.meta │ │ │ ├── circle.unity │ │ │ ├── circle.unity.meta │ │ │ ├── custom.unity │ │ │ ├── custom.unity.meta │ │ │ ├── delegate.unity │ │ │ ├── delegate.unity.meta │ │ │ ├── main.unity │ │ │ ├── main.unity.meta │ │ │ ├── new_coroutine.unity │ │ │ ├── new_coroutine.unity.meta │ │ │ ├── performance_test.unity │ │ │ ├── performance_test.unity.meta │ │ │ ├── test/ │ │ │ │ ├── README.md │ │ │ │ ├── README.md.meta │ │ │ │ ├── TestLua.cs │ │ │ │ ├── TestLua.cs.meta │ │ │ │ ├── test.cs │ │ │ │ ├── test.cs.meta │ │ │ │ ├── test.unity │ │ │ │ └── test.unity.meta │ │ │ ├── test.meta │ │ │ ├── valuetype_test.unity │ │ │ ├── valuetype_test.unity.meta │ │ │ ├── varobj.unity │ │ │ └── varobj.unity.meta │ │ └── example.meta │ ├── Slua.meta │ ├── StreamingAssets/ │ │ └── StreamingAssets │ └── StreamingAssets.meta ├── LICENSE ├── ProjectSettings/ │ ├── AudioManager.asset │ ├── ClusterInputManager.asset │ ├── DynamicsManager.asset │ ├── EditorBuildSettings.asset │ ├── EditorSettings.asset │ ├── GraphicsSettings.asset │ ├── InputManager.asset │ ├── NavMeshAreas.asset │ ├── NetworkManager.asset │ ├── Physics2DSettings.asset │ ├── ProjectSettings.asset │ ├── ProjectVersion.txt │ ├── QualitySettings.asset │ ├── TagManager.asset │ ├── TimeManager.asset │ ├── UnityAdsSettings.asset │ └── UnityConnectSettings.asset ├── README.md ├── build/ │ ├── SConstruct │ ├── lua-5.1.5/ │ │ ├── COPYRIGHT │ │ ├── HISTORY │ │ ├── INSTALL │ │ ├── Makefile │ │ ├── README │ │ ├── doc/ │ │ │ ├── contents.html │ │ │ ├── lua.1 │ │ │ ├── lua.css │ │ │ ├── lua.html │ │ │ ├── luac.1 │ │ │ ├── luac.html │ │ │ ├── manual.css │ │ │ ├── manual.html │ │ │ └── readme.html │ │ ├── etc/ │ │ │ ├── Makefile │ │ │ ├── README │ │ │ ├── all.c │ │ │ ├── lua.hpp │ │ │ ├── lua.pc │ │ │ ├── luavs.bat │ │ │ ├── min.c │ │ │ ├── noparser.c │ │ │ └── strict.lua │ │ ├── slua/ │ │ │ ├── slua/ │ │ │ │ └── Info.plist │ │ │ └── slua.xcodeproj/ │ │ │ ├── project.pbxproj │ │ │ ├── project.xcworkspace/ │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ ├── xcshareddata/ │ │ │ │ │ └── slua.xccheckout │ │ │ │ └── xcuserdata/ │ │ │ │ └── sineysan.xcuserdatad/ │ │ │ │ ├── UserInterfaceState.xcuserstate │ │ │ │ └── WorkspaceSettings.xcsettings │ │ │ └── xcuserdata/ │ │ │ └── sineysan.xcuserdatad/ │ │ │ └── xcschemes/ │ │ │ ├── slua.xcscheme │ │ │ └── xcschememanagement.plist │ │ └── src/ │ │ ├── Makefile │ │ ├── lapi.c │ │ ├── lapi.h │ │ ├── lauxlib.c │ │ ├── lauxlib.h │ │ ├── lbaselib.c │ │ ├── lcode.c │ │ ├── lcode.h │ │ ├── ldblib.c │ │ ├── ldebug.c │ │ ├── ldebug.h │ │ ├── ldo.c │ │ ├── ldo.h │ │ ├── ldump.c │ │ ├── lfunc.c │ │ ├── lfunc.h │ │ ├── lgc.c │ │ ├── lgc.h │ │ ├── linit.c │ │ ├── liolib.c │ │ ├── llex.c │ │ ├── llex.h │ │ ├── llimits.h │ │ ├── lmathlib.c │ │ ├── lmem.c │ │ ├── lmem.h │ │ ├── loadlib.c │ │ ├── lobject.c │ │ ├── lobject.h │ │ ├── lopcodes.c │ │ ├── lopcodes.h │ │ ├── loslib.c │ │ ├── lparser.c │ │ ├── lparser.h │ │ ├── lstate.c │ │ ├── lstate.h │ │ ├── lstring.c │ │ ├── lstring.h │ │ ├── lstrlib.c │ │ ├── ltable.c │ │ ├── ltable.h │ │ ├── ltablib.c │ │ ├── ltm.c │ │ ├── ltm.h │ │ ├── lua.c │ │ ├── lua.h │ │ ├── luac.c │ │ ├── luaconf.h │ │ ├── lualib.h │ │ ├── lundump.c │ │ ├── lundump.h │ │ ├── lvm.c │ │ ├── lvm.h │ │ ├── lzio.c │ │ ├── lzio.h │ │ └── print.c │ ├── luajit-2.0.4/ │ │ ├── COPYRIGHT │ │ ├── Makefile │ │ ├── README │ │ ├── doc/ │ │ │ ├── bluequad-print.css │ │ │ ├── bluequad.css │ │ │ ├── changes.html │ │ │ ├── contact.html │ │ │ ├── ext_c_api.html │ │ │ ├── ext_ffi.html │ │ │ ├── ext_ffi_api.html │ │ │ ├── ext_ffi_semantics.html │ │ │ ├── ext_ffi_tutorial.html │ │ │ ├── ext_jit.html │ │ │ ├── extensions.html │ │ │ ├── faq.html │ │ │ ├── install.html │ │ │ ├── luajit.html │ │ │ ├── running.html │ │ │ └── status.html │ │ ├── dynasm/ │ │ │ ├── dasm_arm.h │ │ │ ├── dasm_arm.lua │ │ │ ├── dasm_mips.h │ │ │ ├── dasm_mips.lua │ │ │ ├── dasm_ppc.h │ │ │ ├── dasm_ppc.lua │ │ │ ├── dasm_proto.h │ │ │ ├── dasm_x64.lua │ │ │ ├── dasm_x86.h │ │ │ ├── dasm_x86.lua │ │ │ └── dynasm.lua │ │ ├── etc/ │ │ │ ├── luajit.1 │ │ │ └── luajit.pc │ │ └── src/ │ │ ├── Makefile │ │ ├── Makefile.dep │ │ ├── host/ │ │ │ ├── README │ │ │ ├── buildvm.c │ │ │ ├── buildvm.h │ │ │ ├── buildvm_asm.c │ │ │ ├── buildvm_fold.c │ │ │ ├── buildvm_lib.c │ │ │ ├── buildvm_peobj.c │ │ │ ├── genminilua.lua │ │ │ └── minilua.c │ │ ├── jit/ │ │ │ ├── bc.lua │ │ │ ├── bcsave.lua │ │ │ ├── dis_arm.lua │ │ │ ├── dis_mips.lua │ │ │ ├── dis_mipsel.lua │ │ │ ├── dis_ppc.lua │ │ │ ├── dis_x64.lua │ │ │ ├── dis_x86.lua │ │ │ ├── dump.lua │ │ │ ├── v.lua │ │ │ └── vmdef.lua │ │ ├── lauxlib.h │ │ ├── lib_aux.c │ │ ├── lib_base.c │ │ ├── lib_bit.c │ │ ├── lib_debug.c │ │ ├── lib_ffi.c │ │ ├── lib_init.c │ │ ├── lib_io.c │ │ ├── lib_jit.c │ │ ├── lib_math.c │ │ ├── lib_os.c │ │ ├── lib_package.c │ │ ├── lib_string.c │ │ ├── lib_table.c │ │ ├── lj.supp │ │ ├── lj_alloc.c │ │ ├── lj_alloc.h │ │ ├── lj_api.c │ │ ├── lj_arch.h │ │ ├── lj_asm.c │ │ ├── lj_asm.h │ │ ├── lj_asm_arm.h │ │ ├── lj_asm_mips.h │ │ ├── lj_asm_ppc.h │ │ ├── lj_asm_x86.h │ │ ├── lj_bc.c │ │ ├── lj_bc.h │ │ ├── lj_bcdump.h │ │ ├── lj_bcread.c │ │ ├── lj_bcwrite.c │ │ ├── lj_carith.c │ │ ├── lj_carith.h │ │ ├── lj_ccall.c │ │ ├── lj_ccall.h │ │ ├── lj_ccallback.c │ │ ├── lj_ccallback.h │ │ ├── lj_cconv.c │ │ ├── lj_cconv.h │ │ ├── lj_cdata.c │ │ ├── lj_cdata.h │ │ ├── lj_char.c │ │ ├── lj_char.h │ │ ├── lj_clib.c │ │ ├── lj_clib.h │ │ ├── lj_cparse.c │ │ ├── lj_cparse.h │ │ ├── lj_crecord.c │ │ ├── lj_crecord.h │ │ ├── lj_ctype.c │ │ ├── lj_ctype.h │ │ ├── lj_debug.c │ │ ├── lj_debug.h │ │ ├── lj_def.h │ │ ├── lj_dispatch.c │ │ ├── lj_dispatch.h │ │ ├── lj_emit_arm.h │ │ ├── lj_emit_mips.h │ │ ├── lj_emit_ppc.h │ │ ├── lj_emit_x86.h │ │ ├── lj_err.c │ │ ├── lj_err.h │ │ ├── lj_errmsg.h │ │ ├── lj_ff.h │ │ ├── lj_ffrecord.c │ │ ├── lj_ffrecord.h │ │ ├── lj_frame.h │ │ ├── lj_func.c │ │ ├── lj_func.h │ │ ├── lj_gc.c │ │ ├── lj_gc.h │ │ ├── lj_gdbjit.c │ │ ├── lj_gdbjit.h │ │ ├── lj_ir.c │ │ ├── lj_ir.h │ │ ├── lj_ircall.h │ │ ├── lj_iropt.h │ │ ├── lj_jit.h │ │ ├── lj_lex.c │ │ ├── lj_lex.h │ │ ├── lj_lib.c │ │ ├── lj_lib.h │ │ ├── lj_load.c │ │ ├── lj_mcode.c │ │ ├── lj_mcode.h │ │ ├── lj_meta.c │ │ ├── lj_meta.h │ │ ├── lj_obj.c │ │ ├── lj_obj.h │ │ ├── lj_opt_dce.c │ │ ├── lj_opt_fold.c │ │ ├── lj_opt_loop.c │ │ ├── lj_opt_mem.c │ │ ├── lj_opt_narrow.c │ │ ├── lj_opt_sink.c │ │ ├── lj_opt_split.c │ │ ├── lj_parse.c │ │ ├── lj_parse.h │ │ ├── lj_record.c │ │ ├── lj_record.h │ │ ├── lj_snap.c │ │ ├── lj_snap.h │ │ ├── lj_state.c │ │ ├── lj_state.h │ │ ├── lj_str.c │ │ ├── lj_str.h │ │ ├── lj_strscan.c │ │ ├── lj_strscan.h │ │ ├── lj_tab.c │ │ ├── lj_tab.h │ │ ├── lj_target.h │ │ ├── lj_target_arm.h │ │ ├── lj_target_mips.h │ │ ├── lj_target_ppc.h │ │ ├── lj_target_x86.h │ │ ├── lj_trace.c │ │ ├── lj_trace.h │ │ ├── lj_traceerr.h │ │ ├── lj_udata.c │ │ ├── lj_udata.h │ │ ├── lj_vm.h │ │ ├── lj_vmevent.c │ │ ├── lj_vmevent.h │ │ ├── lj_vmmath.c │ │ ├── ljamalg.c │ │ ├── lua.h │ │ ├── lua.hpp │ │ ├── luaconf.h │ │ ├── luajit.c │ │ ├── luajit.h │ │ ├── lualib.h │ │ ├── msvcbuild.bat │ │ ├── ps4build.bat │ │ ├── psvitabuild.bat │ │ ├── slua.c │ │ ├── vm_arm.dasc │ │ ├── vm_mips.dasc │ │ ├── vm_ppc.dasc │ │ ├── vm_ppcspe.dasc │ │ ├── vm_x86.dasc │ │ └── xedkbuild.bat │ ├── luajit-2.1.0/ │ │ ├── COPYRIGHT │ │ ├── Makefile │ │ ├── README │ │ ├── doc/ │ │ │ ├── bluequad-print.css │ │ │ ├── bluequad.css │ │ │ ├── changes.html │ │ │ ├── contact.html │ │ │ ├── ext_c_api.html │ │ │ ├── ext_ffi.html │ │ │ ├── ext_ffi_api.html │ │ │ ├── ext_ffi_semantics.html │ │ │ ├── ext_ffi_tutorial.html │ │ │ ├── ext_jit.html │ │ │ ├── ext_profiler.html │ │ │ ├── extensions.html │ │ │ ├── faq.html │ │ │ ├── install.html │ │ │ ├── luajit.html │ │ │ ├── running.html │ │ │ └── status.html │ │ ├── dynasm/ │ │ │ ├── dasm_arm.h │ │ │ ├── dasm_arm.lua │ │ │ ├── dasm_arm64.h │ │ │ ├── dasm_arm64.lua │ │ │ ├── dasm_mips.h │ │ │ ├── dasm_mips.lua │ │ │ ├── dasm_ppc.h │ │ │ ├── dasm_ppc.lua │ │ │ ├── dasm_proto.h │ │ │ ├── dasm_x64.lua │ │ │ ├── dasm_x86.h │ │ │ ├── dasm_x86.lua │ │ │ └── dynasm.lua │ │ ├── etc/ │ │ │ ├── luajit.1 │ │ │ └── luajit.pc │ │ └── src/ │ │ ├── Makefile │ │ ├── Makefile.dep │ │ ├── host/ │ │ │ ├── README │ │ │ ├── buildvm.c │ │ │ ├── buildvm.h │ │ │ ├── buildvm_asm.c │ │ │ ├── buildvm_fold.c │ │ │ ├── buildvm_lib.c │ │ │ ├── buildvm_libbc.h │ │ │ ├── buildvm_peobj.c │ │ │ ├── genlibbc.lua │ │ │ ├── genminilua.lua │ │ │ └── minilua.c │ │ ├── jit/ │ │ │ ├── bc.lua │ │ │ ├── bcsave.lua │ │ │ ├── dis_arm.lua │ │ │ ├── dis_mips.lua │ │ │ ├── dis_mipsel.lua │ │ │ ├── dis_ppc.lua │ │ │ ├── dis_x64.lua │ │ │ ├── dis_x86.lua │ │ │ ├── dump.lua │ │ │ ├── p.lua │ │ │ ├── v.lua │ │ │ └── zone.lua │ │ ├── lauxlib.h │ │ ├── lib_aux.c │ │ ├── lib_base.c │ │ ├── lib_bit.c │ │ ├── lib_debug.c │ │ ├── lib_ffi.c │ │ ├── lib_init.c │ │ ├── lib_io.c │ │ ├── lib_jit.c │ │ ├── lib_math.c │ │ ├── lib_os.c │ │ ├── lib_package.c │ │ ├── lib_string.c │ │ ├── lib_table.c │ │ ├── lj.supp │ │ ├── lj_alloc.c │ │ ├── lj_alloc.h │ │ ├── lj_api.c │ │ ├── lj_arch.h │ │ ├── lj_asm.c │ │ ├── lj_asm.h │ │ ├── lj_asm_arm.h │ │ ├── lj_asm_mips.h │ │ ├── lj_asm_ppc.h │ │ ├── lj_asm_x86.h │ │ ├── lj_bc.c │ │ ├── lj_bc.h │ │ ├── lj_bcdump.h │ │ ├── lj_bcread.c │ │ ├── lj_bcwrite.c │ │ ├── lj_buf.c │ │ ├── lj_buf.h │ │ ├── lj_carith.c │ │ ├── lj_carith.h │ │ ├── lj_ccall.c │ │ ├── lj_ccall.h │ │ ├── lj_ccallback.c │ │ ├── lj_ccallback.h │ │ ├── lj_cconv.c │ │ ├── lj_cconv.h │ │ ├── lj_cdata.c │ │ ├── lj_cdata.h │ │ ├── lj_char.c │ │ ├── lj_char.h │ │ ├── lj_clib.c │ │ ├── lj_clib.h │ │ ├── lj_cparse.c │ │ ├── lj_cparse.h │ │ ├── lj_crecord.c │ │ ├── lj_crecord.h │ │ ├── lj_ctype.c │ │ ├── lj_ctype.h │ │ ├── lj_debug.c │ │ ├── lj_debug.h │ │ ├── lj_def.h │ │ ├── lj_dispatch.c │ │ ├── lj_dispatch.h │ │ ├── lj_emit_arm.h │ │ ├── lj_emit_mips.h │ │ ├── lj_emit_ppc.h │ │ ├── lj_emit_x86.h │ │ ├── lj_err.c │ │ ├── lj_err.h │ │ ├── lj_errmsg.h │ │ ├── lj_ff.h │ │ ├── lj_ffrecord.c │ │ ├── lj_ffrecord.h │ │ ├── lj_frame.h │ │ ├── lj_func.c │ │ ├── lj_func.h │ │ ├── lj_gc.c │ │ ├── lj_gc.h │ │ ├── lj_gdbjit.c │ │ ├── lj_gdbjit.h │ │ ├── lj_ir.c │ │ ├── lj_ir.h │ │ ├── lj_ircall.h │ │ ├── lj_iropt.h │ │ ├── lj_jit.h │ │ ├── lj_lex.c │ │ ├── lj_lex.h │ │ ├── lj_lib.c │ │ ├── lj_lib.h │ │ ├── lj_load.c │ │ ├── lj_mcode.c │ │ ├── lj_mcode.h │ │ ├── lj_meta.c │ │ ├── lj_meta.h │ │ ├── lj_obj.c │ │ ├── lj_obj.h │ │ ├── lj_opt_dce.c │ │ ├── lj_opt_fold.c │ │ ├── lj_opt_loop.c │ │ ├── lj_opt_mem.c │ │ ├── lj_opt_narrow.c │ │ ├── lj_opt_sink.c │ │ ├── lj_opt_split.c │ │ ├── lj_parse.c │ │ ├── lj_parse.h │ │ ├── lj_profile.c │ │ ├── lj_profile.h │ │ ├── lj_record.c │ │ ├── lj_record.h │ │ ├── lj_snap.c │ │ ├── lj_snap.h │ │ ├── lj_state.c │ │ ├── lj_state.h │ │ ├── lj_str.c │ │ ├── lj_str.h │ │ ├── lj_strfmt.c │ │ ├── lj_strfmt.h │ │ ├── lj_strscan.c │ │ ├── lj_strscan.h │ │ ├── lj_tab.c │ │ ├── lj_tab.h │ │ ├── lj_target.h │ │ ├── lj_target_arm.h │ │ ├── lj_target_arm64.h │ │ ├── lj_target_mips.h │ │ ├── lj_target_ppc.h │ │ ├── lj_target_x86.h │ │ ├── lj_trace.c │ │ ├── lj_trace.h │ │ ├── lj_traceerr.h │ │ ├── lj_udata.c │ │ ├── lj_udata.h │ │ ├── lj_vm.h │ │ ├── lj_vmevent.c │ │ ├── lj_vmevent.h │ │ ├── lj_vmmath.c │ │ ├── ljamalg.c │ │ ├── lua.h │ │ ├── lua.hpp │ │ ├── luaconf.h │ │ ├── luajit.c │ │ ├── luajit.h │ │ ├── lualib.h │ │ ├── msvcbuild.bat │ │ ├── ps4build.bat │ │ ├── psvitabuild.bat │ │ ├── vm_arm.dasc │ │ ├── vm_arm64.dasc │ │ ├── vm_mips.dasc │ │ ├── vm_ppc.dasc │ │ ├── vm_x64.dasc │ │ ├── vm_x86.dasc │ │ ├── xb1build.bat │ │ └── xedkbuild.bat │ ├── luajit-osx/ │ │ ├── slua/ │ │ │ ├── Info.plist │ │ │ └── main.c │ │ └── slua.xcodeproj/ │ │ ├── project.pbxproj │ │ ├── project.xcworkspace/ │ │ │ ├── contents.xcworkspacedata │ │ │ ├── xcshareddata/ │ │ │ │ └── slua.xccheckout │ │ │ └── xcuserdata/ │ │ │ ├── sineysan.xcuserdatad/ │ │ │ │ ├── UserInterfaceState.xcuserstate │ │ │ │ └── WorkspaceSettings.xcsettings │ │ │ └── yongkangchen.xcuserdatad/ │ │ │ └── UserInterfaceState.xcuserstate │ │ └── xcuserdata/ │ │ └── yongkangchen.xcuserdatad/ │ │ └── xcschemes/ │ │ ├── slua.xcscheme │ │ └── xcschememanagement.plist │ ├── make_android.sh │ ├── make_ios.sh │ ├── make_osx.sh │ ├── make_osx_jit.sh │ ├── make_win_with_2013.bat │ └── slua.c ├── classes.dex ├── classes.jar ├── debugger/ │ ├── README.txt │ └── mac/ │ ├── ldb │ └── runldb.sh ├── uLui.CSharp.Editor.csproj ├── uLui.CSharp.Plugins.csproj ├── uLui.CSharp.csproj ├── uLui.Editor.csproj ├── uLui.Plugins.csproj └── uLui.csproj
Showing preview only (678K chars total). Download the full file or copy to clipboard to get everything.
SYMBOL INDEX (8040 symbols across 377 files)
FILE: Assets/Game/Editor/AssetBundleMaker/ExportAssetBundles.cs
class ExportAssetBundles (line 8) | public class ExportAssetBundles : Editor
method Run (line 10) | public static void Run()
method CreateAssetBundles (line 19) | public static void CreateAssetBundles()
method CreateVersionFile (line 70) | static void CreateVersionFile()
method MD5File (line 121) | public static string MD5File(string file)
FILE: Assets/Game/Editor/AssetBundleMaker/ExportConfigWindow.cs
class ExportConfigWindow (line 5) | public class ExportConfigWindow : EditorWindow
method Init (line 10) | [MenuItem("Tools/HotFix Config")]
method OnGUI (line 27) | void OnGUI()
FILE: Assets/Game/Editor/BmfontMaker/BMFont.cs
class BMFont (line 13) | [System.Serializable]
method GetGlyph (line 80) | public BMGlyph GetGlyph (int index, bool createIfMissing)
method GetGlyph (line 110) | public BMGlyph GetGlyph (int index) { return GetGlyph(index, false); }
method Clear (line 116) | public void Clear ()
method Trim (line 126) | public void Trim (int xMin, int yMin, int xMax, int yMax)
FILE: Assets/Game/Editor/BmfontMaker/BMFontReader.cs
class BMFontReader (line 15) | public static class BMFontReader
method GetString (line 21) | static string GetString (string s)
method GetInt (line 31) | static int GetInt (string s)
method Load (line 47) | static public void Load (BMFont font, string name, byte[] bytes)
FILE: Assets/Game/Editor/BmfontMaker/BMGlyph.cs
class BMGlyph (line 13) | [System.Serializable]
method GetKerning (line 31) | public int GetKerning (int previousChar)
method SetKerning (line 46) | public void SetKerning (int previousChar, int amount)
method Trim (line 67) | public void Trim (int xMin, int yMin, int xMax, int yMax)
FILE: Assets/Game/Editor/BmfontMaker/BmBetterList.cs
class BmBetterList (line 17) | public class BmBetterList<T>
method GetEnumerator (line 49) | public IEnumerator<T> GetEnumerator () { return mList.GetEnumerator(); }
method Clear (line 55) | public void Clear () { mList.Clear(); }
method Release (line 61) | public void Release () { mList.Clear(); }
method Add (line 67) | public void Add (T item) { mList.Add(item); }
method Insert (line 73) | public void Insert (int index, T item)
method Contains (line 83) | public bool Contains (T item) { return mList.Contains(item); }
method IndexOf (line 89) | public int IndexOf (T item) { return mList.IndexOf(item); }
method Remove (line 95) | public bool Remove (T item) { return mList.Remove(item); }
method RemoveAt (line 101) | public void RemoveAt (int index) { mList.RemoveAt(index); }
method Pop (line 107) | public T Pop ()
method ToArray (line 122) | public T[] ToArray () { return mList.ToArray(); }
method Sort (line 128) | public void Sort (System.Comparison<T> comparer) { mList.Sort(comparer...
method GetEnumerator (line 148) | [DebuggerHidden]
method AllocateMore (line 176) | void AllocateMore ()
method Trim (line 188) | void Trim ()
method Clear (line 206) | public void Clear () { size = 0; }
method Release (line 212) | public void Release () { size = 0; buffer = null; }
method Add (line 218) | public void Add (T item)
method Insert (line 228) | public void Insert (int index, T item)
method Contains (line 245) | public bool Contains (T item)
method IndexOf (line 256) | public int IndexOf (T item)
method Remove (line 267) | public bool Remove (T item)
method RemoveAt (line 292) | public void RemoveAt (int index)
method Pop (line 307) | public T Pop ()
method ToArray (line 322) | public T[] ToArray () { Trim(); return buffer; }
method Sort (line 349) | [DebuggerHidden]
FILE: Assets/Game/Editor/BmfontMaker/BmByteReader.cs
class BmByteReader (line 17) | public class BmByteReader
method BmByteReader (line 22) | public BmByteReader (byte[] bytes) { mBuffer = bytes; }
method BmByteReader (line 23) | public BmByteReader (TextAsset asset) { mBuffer = asset.bytes; }
method Open (line 29) | static public BmByteReader Open (string path)
method ReadLine (line 57) | static string ReadLine (byte[] buffer, int start, int count)
method ReadLine (line 130) | public string ReadLine () { return ReadLine(true); }
method ReadLine (line 136) | public string ReadLine (bool skipEmptyLines)
method ReadDictionary (line 172) | public Dictionary<string, string> ReadDictionary ()
method ReadCSV (line 205) | public BmBetterList<string> ReadCSV ()
FILE: Assets/Game/Editor/BmfontMaker/BmFontEditor.cs
class BmFontEditor (line 4) | public class BmFontEditor : EditorWindow
method OpenBMFontMaker (line 6) | [MenuItem("Tools/BMFont Maker")]
method BmFontEditor (line 23) | public BmFontEditor()
method OnGUI (line 27) | void OnGUI()
FILE: Assets/Game/Editor/Helper.cs
class Helper (line 9) | public class Helper
method RunCmd (line 11) | public static string RunCmd(string command, string args, string workDir)
method CopyDirectory (line 27) | public static void CopyDirectory(string sourceDirName, string destDirN...
method forEachHandle (line 61) | public static void forEachHandle(string path, List<string> matchExts, ...
FILE: Assets/Game/Editor/I18nExporter/I18nExporter.cs
class I18nExporter (line 7) | public class I18nExporter : Editor
method Run (line 15) | [MenuItem("Tools/I18n Export")]
method Load (line 23) | private static void Load()
method Scan (line 75) | private static void Scan()
method Export (line 155) | private static void Export()
method getHolder (line 199) | private static string getHolder(string fileName ,string chinese)
method isChinese (line 210) | private static bool isChinese(string text)
FILE: Assets/Game/Editor/MakeDebugFile.cs
class MakeDebugFile (line 8) | public class MakeDebugFile : Editor
method CopyLuaTxt (line 13) | public static void CopyLuaTxt() {
method EditAtlasSuffix (line 37) | [MenuItem("Tools/Edit Atlas Suffix")]
method CopyAndChangeDirectory (line 59) | public static void CopyAndChangeDirectory(string sourceDirName, string...
FILE: Assets/Game/Editor/TexturePackerImporter/TexturePackerImporter.cs
class TexturePackerImporter (line 7) | public class TexturePackerImporter : Editor {
method Build (line 9) | [MenuItem("Tools/Atlas Build")]
method CreateAtlas (line 16) | protected static void CreateAtlas()
method MakeSprites (line 43) | protected static void MakeSprites()
method SaveBoreder (line 97) | protected static void SaveBoreder(Dictionary<string, Vector4> tIpterMa...
method GetTextureIpter (line 105) | protected static TextureImporter GetTextureIpter(Texture2D texture)
FILE: Assets/Game/Resources/Scripts/Demo/Firstui.cs
class Firstui (line 9) | public class Firstui : MonoBehaviour
method Start (line 29) | void Start()
FILE: Assets/Game/Resources/Scripts/Demo/Secondui.cs
class Secondui (line 5) | public class Secondui : MonoBehaviour {
method Start (line 15) | void Start() {
method OnLevelWasLoaded (line 56) | void OnLevelWasLoaded(int level){
FILE: Assets/Game/Resources/Scripts/Demo/WindowGridView.cs
class WindowGridView (line 7) | public class WindowGridView : LWindowBase
method WindowGridView (line 13) | public WindowGridView()
method Start (line 18) | void Start()
method Open (line 38) | public override void Open(object[] list)
method Close (line 50) | public override void Close()
FILE: Assets/Game/Resources/Scripts/LBase/Game.cs
class Game (line 8) | [CustomLuaClassAttribute]
method Start (line 15) | void Start()
method GetLuaSvr (line 37) | public static LuaSvr GetLuaSvr()
method tick (line 42) | void tick(int p)
method loadFileWithSuffix (line 50) | protected byte[] loadFileWithSuffix(string strFile)
method loadLuaWithAb (line 84) | protected byte[] loadLuaWithAb(string strFile)
method complete (line 103) | void complete()
FILE: Assets/Game/Resources/Scripts/LBase/LArchiveBin.cs
class LArchiveBin (line 6) | public class LArchiveBin {
method LArchiveBin (line 22) | public LArchiveBin()
method GetStream (line 31) | public Stream GetStream()
method IsValid (line 41) | public bool IsValid()
method ReadBuffer (line 51) | public int ReadBuffer(ref byte[] aBuff, int nBuffSize)
method ReadBool (line 62) | public int ReadBool(ref bool bValue)
method ReadString (line 76) | public int ReadString(ref string strValue)
method ReadString (line 87) | public int ReadString(ref string strValue, bool bUnicode)
method ReadFloat (line 133) | public int ReadFloat(ref float fValue)
method ReadDouble (line 147) | public int ReadDouble(ref double dValue)
method ReadInt8 (line 161) | public int ReadInt8(ref byte n8Value)
method ReadInt16 (line 175) | public int ReadInt16(ref Int16 n16Value)
method ReadUInt16 (line 189) | public int ReadUInt16(ref UInt16 u16Value)
method ReadInt32 (line 203) | public int ReadInt32(ref int nValue)
method ReadUInt32 (line 217) | public int ReadUInt32(ref UInt32 u32Value)
method ReadInt64 (line 231) | public int ReadInt64(ref Int64 n64Value)
method ReadUInt64 (line 245) | public int ReadUInt64(ref UInt64 dw64Value)
method WriteBuffer (line 259) | public int WriteBuffer(byte[] aBuff)
method WriteBool (line 275) | public int WriteBool(bool bValue)
method WriteString (line 291) | public int WriteString(string strValue)
method WriteString (line 302) | public int WriteString(string strValue, bool bUnicode)
method WriteFloat (line 338) | public int WriteFloat(float fValue)
method WriteDouble (line 355) | public int WriteDouble(double dValue)
method WriteInt8 (line 372) | public int WriteInt8(byte n8Value)
method WriteInt16 (line 389) | public int WriteInt16(Int16 nValue)
method WriteUInt16 (line 406) | public int WriteUInt16(UInt16 nValue)
method WriteInt32 (line 423) | public int WriteInt32(int nValue)
method WriteUInt32 (line 440) | public int WriteUInt32(UInt32 nValue)
method WriteInt64 (line 457) | public int WriteInt64(Int64 n64Value)
method WriteUInt64 (line 474) | public int WriteUInt64(UInt64 dw64Value)
FILE: Assets/Game/Resources/Scripts/LBase/LArchiveBinFile.cs
class LArchiveBinFile (line 4) | public class LArchiveBinFile : LArchiveBin {
method Open (line 11) | public bool Open(string strFileName, FileMode eMode, FileAccess eAccess)
method Close (line 46) | public bool Close()
FILE: Assets/Game/Resources/Scripts/LBase/LGameConfig.cs
class LGameConfig (line 7) | [CustomLuaClass]
method HandleLog (line 66) | [DoNotToLua]
method LGameConfig (line 81) | private LGameConfig()
method GetInstance (line 97) | public static LGameConfig GetInstance()
method GetLoadUrl (line 154) | public string GetLoadUrl(string strPathName)
method GetLoadUrlForDir (line 175) | public string GetLoadUrlForDir(string strPathName)
method GetABNameWithAtlasPath (line 189) | public static string GetABNameWithAtlasPath(string path){
method LoadConfig (line 193) | private void LoadConfig()
FILE: Assets/Game/Resources/Scripts/LBase/LLoadBundle.cs
class LLoadBundle (line 8) | [CustomLuaClass]
method GetBundleByName (line 16) | public AssetBundle GetBundleByName(string name)
method LLoadBundle (line 23) | private LLoadBundle()
method GetInstance (line 30) | public static LLoadBundle GetInstance()
method LoadAllBundles (line 42) | public void LoadAllBundles(string[] bundle_names, UnityAction callFunc...
method Load (line 54) | IEnumerator Load(string[] bundle_names, UnityAction callFunc,UnityActi...
method LoadAsset (line 87) | public Object LoadAsset(string bundleName, string assetName)
method LoadAllAsset (line 103) | public Object[] LoadAllAsset(string bundleName, string assetName)
method LoadAsset (line 108) | public T LoadAsset<T>(string bundleName, string assetName) where T : O...
method LoadAllAsset (line 131) | public T[] LoadAllAsset<T>(string bundleName, string assetName) where ...
method GetSpritesByName (line 151) | public Sprite[] GetSpritesByName(string bundlePath,string assetName)
method GetSpriteByName (line 188) | public Sprite GetSpriteByName(string bundlePath, string assetName)
method UnloadBundles (line 194) | public void UnloadBundles(string[] bundle_names)
FILE: Assets/Game/Resources/Scripts/LBase/LLuaBehaviourBase.cs
class LLuaBehaviourBase (line 5) | [CustomLuaClass]
method Awake (line 16) | void Awake()
method Start (line 33) | void Start()
method Update (line 42) | void Update()
method OnDestroy (line 51) | void OnDestroy()
method OnApplicationQuit (line 107) | void OnApplicationQuit()
method GetInstance (line 458) | public LuaTable GetInstance()
method CreateClassInstance (line 469) | private bool CreateClassInstance(string strClassName)
FILE: Assets/Game/Resources/Scripts/LBase/LLuaBehaviourInterface.cs
class LLuaBehaviourInterface (line 7) | public class LLuaBehaviourInterface
method LLuaBehaviourInterface (line 149) | public LLuaBehaviourInterface()
method Awake (line 169) | public void Awake()
method LateUpdate (line 180) | public void LateUpdate()
method FixedUpdate (line 191) | public void FixedUpdate()
method OnAnimatorIK (line 203) | public void OnAnimatorIK(int nLayerIndex)
method OnAnimatorMove (line 214) | public void OnAnimatorMove()
method OnApplicationFocus (line 225) | public void OnApplicationFocus(bool bFocusStatus)
method OnApplicationPause (line 236) | public void OnApplicationPause(bool bPauseStatus)
method OnApplicationQuit (line 247) | public void OnApplicationQuit()
method OnBecameInvisible (line 258) | public void OnBecameInvisible()
method OnBecameVisible (line 269) | public void OnBecameVisible()
method OnCollisionEnter (line 280) | public void OnCollisionEnter(Collision cCollision)
method OnCollisionEnter2D (line 291) | public void OnCollisionEnter2D(Collision2D cCollision2D)
method OnCollisionExit (line 302) | public void OnCollisionExit(Collision cCollisionInfo)
method OnCollisionExit2D (line 313) | public void OnCollisionExit2D(Collision2D cCollision2DInfo)
method OnCollisionStay (line 324) | public void OnCollisionStay(Collision cCollisionInfo)
method OnCollisionStay2D (line 335) | public void OnCollisionStay2D(Collision2D cCollision2DInfo)
method OnControllerColliderHit (line 346) | public void OnControllerColliderHit(ControllerColliderHit cHit)
method OnDestroy (line 357) | public void OnDestroy()
method OnDisable (line 368) | public void OnDisable()
method OnEnable (line 379) | public void OnEnable()
method OnJointBreak (line 390) | public void OnJointBreak(float fBreakForce)
method OnLevelWasLoaded (line 401) | public void OnLevelWasLoaded(int nLevel)
method OnMouseDown (line 412) | public void OnMouseDown()
method OnMouseDrag (line 423) | public void OnMouseDrag()
method OnMouseEnter (line 434) | public void OnMouseEnter()
method OnMouseExit (line 445) | public void OnMouseExit()
method OnMouseOver (line 456) | public void OnMouseOver()
method OnMouseUp (line 467) | public void OnMouseUp()
method OnMouseUpAsButton (line 478) | public void OnMouseUpAsButton()
method OnParticleCollision (line 490) | public void OnParticleCollision(GameObject cOtherObj)
method OnPostRender (line 501) | public void OnPostRender()
method OnPreCull (line 512) | public void OnPreCull()
method OnPreRender (line 523) | public void OnPreRender()
method OnRenderImage (line 535) | public void OnRenderImage(RenderTexture cSrc, RenderTexture cDst)
method OnRenderObject (line 546) | public void OnRenderObject()
method OnTransformChildrenChanged (line 557) | public void OnTransformChildrenChanged()
method OnTransformParentChanged (line 568) | public void OnTransformParentChanged()
method OnTriggerEnter (line 579) | public void OnTriggerEnter(Collider cOther)
method OnTriggerEnter2D (line 590) | public void OnTriggerEnter2D(Collider2D cOther)
method OnTriggerExit (line 601) | public void OnTriggerExit(Collider cOther)
method OnTriggerExit2D (line 612) | public void OnTriggerExit2D(Collider2D cOther)
method OnTriggerStay (line 623) | public void OnTriggerStay(Collider cOther)
method OnTriggerStay2D (line 634) | public void OnTriggerStay2D(Collider2D cOther)
method OnValidate (line 645) | public void OnValidate()
method OnWillRenderObject (line 656) | public void OnWillRenderObject()
method OnPointerClick (line 661) | public void OnPointerClick(PointerEventData eventData)
method Start (line 672) | public void Start()
method Update (line 683) | public void Update()
method OnEventAnim (line 688) | public void OnEventAnim()
method OnEventAnimInt (line 693) | public void OnEventAnimInt(int i)
method OnEventAnimFloat (line 698) | public void OnEventAnimFloat(float f)
method OnEventAnimString (line 703) | public void OnEventAnimString(string s)
method OnEventAnimObject (line 708) | public void OnEventAnimObject(object o)
method OnWindowOpen (line 713) | public void OnWindowOpen(object[] objs)
method OnWindowClose (line 718) | public void OnWindowClose()
method DoFile (line 729) | public bool DoFile(string strFile)
method CreateClassInstance (line 764) | public bool CreateClassInstance(string strClassName)
method GetChunkHolder (line 813) | public LLuaTable GetChunkHolder()
method GetChunk (line 824) | public LuaTable GetChunk()
method SetData (line 841) | public void SetData(string strName, object cValue)
method SetData (line 859) | public void SetData(string strName, object[] cArrayValue)
method SetData (line 876) | public void SetData(int nIndex, object cValue)
method SetData (line 894) | public void SetData(int nIndex, object[] cArrayValue)
method GetData (line 910) | public object GetData(string strName)
method GetData (line 926) | public object GetData(int nIndex)
method CallMethod (line 943) | public object CallMethod(ref LuaFunction cFunc, string strFunc)
method CallMethod (line 961) | public object CallMethod(ref LuaFunction cFunc, string strFunc, object...
method CallMethod (line 980) | public object CallMethod(ref LuaFunction cFunc, string strFunc, object...
method CallMethod (line 1000) | public object CallMethod(ref LuaFunction cFunc, string strFunc, object...
method CallMethod (line 1018) | public object CallMethod(ref LuaFunction cFunc, string strFunc, params...
FILE: Assets/Game/Resources/Scripts/LBase/LLuaTable.cs
class LLuaTable (line 7) | public class LLuaTable
method LLuaTable (line 18) | public LLuaTable(LuaTable cTable)
method GetChunk (line 55) | public LuaTable GetChunk()
method SetData (line 67) | public void SetData(string strName, object cValue)
method SetData (line 85) | public void SetData(string strName, object[] cArrayValue)
method SetData (line 117) | public void SetData(int nIndex, object cValue)
method SetData (line 135) | public void SetData(int nIndex, object[] cArrayValue)
method GetData (line 166) | public object GetData(string strName)
method GetData (line 182) | public object GetData(int nIndex)
method CallMethod (line 199) | public object CallMethod(ref LuaFunction cResFunc, string strFunc)
method CallMethod (line 252) | public object CallMethod(ref LuaFunction cResFunc, string strFunc, obj...
method CallMethod (line 306) | public object CallMethod(ref LuaFunction cResFunc, string strFunc, obj...
method CallMethod (line 361) | public object CallMethod(ref LuaFunction cResFunc, string strFunc, obj...
method CallMethod (line 414) | public object CallMethod(ref LuaFunction cResFunc, string strFunc, par...
FILE: Assets/Game/Resources/Scripts/LBase/LResUpdate.cs
class LResUpdate (line 11) | [CustomLuaClassAttribute]
method checkUpdate (line 55) | public void checkUpdate()
method DownLoadRes (line 84) | private void DownLoadRes()
method ReplaceLocalRes (line 104) | private void ReplaceLocalRes(string fileName, byte[] data,UnityAction ...
method Complate (line 181) | private /*IEnumerator*/ void Complate()
method UpdateLocalVersionFile (line 209) | private void UpdateLocalVersionFile()
method CompareVersion (line 233) | private void CompareVersion()
method ParseVersionFile (line 263) | private void ParseVersionFile(string content, Dictionary<string, strin...
method DownLoad (line 282) | private IEnumerator DownLoad(string url, HandleFinishDownload finishFun)
FILE: Assets/Game/Resources/Scripts/LBase/LUtil.cs
class LUtil (line 10) | [CustomLuaClassAttribute]
method FormatException (line 19) | [DoNotToLua]
method AESEncrypt (line 104) | public static Byte[] AESEncrypt(Byte[] Data, String Key, String Vector)
method AESDecrypt (line 144) | public static Byte[] AESDecrypt(Byte[] Data, String Key, String Vector)
method GetTimeStamp (line 232) | public static long GetTimeStamp(bool bflag = true)
method NormalizeTimpstamp0 (line 244) | public static string NormalizeTimpstamp0(long timpStamp)
method GetSecondString (line 258) | public string GetSecondString(int second)
method ConvertIntDateTime (line 267) | public static System.DateTime ConvertIntDateTime(double d)
method ConvertDateTimeInt (line 281) | public static double ConvertDateTimeInt(System.DateTime time)
method DateTimeToUnixTimestamp (line 295) | public static long DateTimeToUnixTimestamp(DateTime dateTime)
method UnixTimestampToDateTime (line 306) | public static DateTime UnixTimestampToDateTime(DateTime target, long t...
method StringToColor (line 312) | public static Color StringToColor(string color)
method ints (line 337) | public static int[] ints(int i){
method removeAllChild (line 341) | public static void removeAllChild(Transform tran)
FILE: Assets/Game/Resources/Scripts/LWidget/LButton.cs
class LButton (line 37) | [SLua.CustomLuaClass]
method LButton (line 48) | public LButton()
method OnPointerDown (line 53) | [SLua.DoNotToLua]
method OnPointerUp (line 64) | [SLua.DoNotToLua]
method OnPointerExit (line 75) | [SLua.DoNotToLua]
method executeLongClickHandler (line 86) | protected void executeLongClickHandler()
method Update (line 95) | void Update()
FILE: Assets/Game/Resources/Scripts/LWidget/LControlView.cs
class LControlView (line 36) | [SLua.CustomLuaClass]
method LControlView (line 57) | public LControlView()
method OnPointerDown (line 67) | [SLua.DoNotToLua]
method OnDrag (line 89) | [SLua.DoNotToLua]
method OnPointerUp (line 130) | [SLua.DoNotToLua]
method relocateJoystick (line 158) | protected void relocateJoystick(bool anim)
method stopAnimateUpdate (line 173) | protected void stopAnimateUpdate()
method LateUpdate (line 185) | void LateUpdate(){
method onExecuteEventHandle (line 225) | void onExecuteEventHandle(bool isFinish)
FILE: Assets/Game/Resources/Scripts/LWidget/LDragView.cs
class LDragView (line 35) | [SLua.CustomLuaClass]
method OnBeginDrag (line 42) | [SLua.DoNotToLua]
method OnDrag (line 49) | [SLua.DoNotToLua]
method OnEndDrag (line 56) | [SLua.DoNotToLua]
FILE: Assets/Game/Resources/Scripts/LWidget/LExpandListView.cs
class LExpandListView (line 32) | [SLua.CustomLuaClass]
method LExpandListView (line 42) | public LExpandListView()
method expand (line 48) | public void expand(int idx)
method collapse (line 53) | public void collapse(int idx)
method insertExpandableNodeAtLast (line 58) | public void insertExpandableNodeAtLast(LExpandNode node)
method insertExpandableNodeAtFront (line 70) | public void insertExpandableNodeAtFront(LExpandNode node)
method removeExpandNode (line 82) | public void removeExpandNode(LExpandNode node)
method removeExpandNodeAtIndex (line 94) | public void removeExpandNodeAtIndex(int idx)
method removeLastExpandNode (line 101) | public void removeLastExpandNode()
method removeFrontExpandNode (line 108) | public void removeFrontExpandNode()
method removeAllExpandNodes (line 115) | public void removeAllExpandNodes()
method getExpandableNodes (line 126) | public List<LExpandNode> getExpandableNodes()
method getExpandableNodeCount (line 131) | public int getExpandableNodeCount()
method getExpandableNodeAtIndex (line 136) | public LExpandNode getExpandableNodeAtIndex(int idx)
method updateNodesPosition (line 141) | public void updateNodesPosition()
method prepare (line 216) | public void prepare()
method reloadData (line 242) | public void reloadData()
FILE: Assets/Game/Resources/Scripts/LWidget/LExpandNode.cs
class LExpandNode (line 34) | [SLua.CustomLuaClass]
method LExpandNode (line 43) | public LExpandNode()
method insertItemNodeAtLast (line 50) | public void insertItemNodeAtLast(GameObject obj)
method insertItemNodeAtFront (line 61) | public void insertItemNodeAtFront(GameObject obj)
method removeItemNode (line 72) | public void removeItemNode(GameObject obj)
method removeItemNodeAtIndex (line 85) | public void removeItemNodeAtIndex(int idx)
method getItemNodeAtIndex (line 92) | public GameObject getItemNodeAtIndex(int idx)
method removeAllItemNodes (line 98) | public void removeAllItemNodes()
method setExpanded (line 109) | public void setExpanded(bool value)
method isExpanded (line 114) | public bool isExpanded()
method getExpandableNodeItemList (line 119) | public List<GameObject> getExpandableNodeItemList()
method prepare (line 124) | public void prepare(int itemNums)
FILE: Assets/Game/Resources/Scripts/LWidget/LFPSView.cs
class LFPSView (line 31) | [SLua.CustomLuaClass]
method Show (line 36) | public static LFPSView Show()
method Start (line 48) | void Start()
method Update (line 53) | void Update()
method UpdateUsed (line 68) | void UpdateUsed()
method UpdateFPS (line 99) | void UpdateFPS()
method OnGUI (line 115) | void OnGUI()
FILE: Assets/Game/Resources/Scripts/LWidget/LGridPageView.cs
class LGridPageViewPage (line 36) | public class LGridPageViewPage : LTableViewCell
method LGridPageViewPage (line 39) | public LGridPageViewPage()
class LGridPageViewCell (line 46) | public class LGridPageViewCell : LTableViewCell
class LGridPageView (line 54) | [SLua.CustomLuaClass]
method SetCellHandle (line 66) | public void SetCellHandle(UnityAction<int, GameObject> act)
method LGridPageView (line 71) | public LGridPageView()
method updateGridCellsPosition (line 82) | public void updateGridCellsPosition()
method updatePageCount (line 99) | public void updatePageCount()
method reloadData (line 112) | public override void reloadData()
method onScrolling (line 119) | protected override void onScrolling()
method updateCellByAdapter (line 153) | protected override void updateCellByAdapter(int page)
method _onGridDataSourceAdapterHandler (line 241) | protected LGridPageViewCell _onGridDataSourceAdapterHandler(LGridPageV...
method setPageChangedHandler (line 262) | public void setPageChangedHandler(UnityAction<int> action)
FILE: Assets/Game/Resources/Scripts/LWidget/LGridView.cs
class LGridViewCell (line 37) | public class LGridViewCell : LTableViewCell
class LGridView (line 45) | [SLua.CustomLuaClass]
method SetCellHandle (line 61) | public void SetCellHandle(UnityAction<int, GameObject> act)
method LGridView (line 66) | public LGridView()
method removeAllFromUsed (line 79) | public void removeAllFromUsed()
method removeAllFromFreed (line 89) | public void removeAllFromFreed()
method insertSortableCell (line 99) | public void insertSortableCell(LGridViewCell cell, int idx)
method cellPositionFromIndex (line 120) | protected Vector2 cellPositionFromIndex(int idx)
method updateCellAtIndex (line 129) | public void updateCellAtIndex(int idx, int row)
method cellBeginRowFromOffset (line 151) | protected int cellBeginRowFromOffset(Vector2 offset)
method cellEndRowFromOffset (line 163) | protected int cellEndRowFromOffset(Vector2 offset)
method cellFirstIndexFromRow (line 174) | protected int cellFirstIndexFromRow(int row)
method updatePositions (line 179) | protected void updatePositions()
method getCells (line 207) | public List<LGridViewCell> getCells()
method cellAtIndex (line 217) | public LGridViewCell cellAtIndex(int idx)
method dequeueCell (line 233) | protected LGridViewCell dequeueCell()
method reloadData (line 248) | public void reloadData()
method onScrolling (line 282) | protected override void onScrolling()
method _onScrollingAsync (line 351) | IEnumerator _onScrollingAsync(int beginRow,int endRow){
method onDraggingScrollEnded (line 371) | protected override void onDraggingScrollEnded()
method _onDataSourceAdapterHandler (line 406) | protected LGridViewCell _onDataSourceAdapterHandler(LGridViewCell cell...
FILE: Assets/Game/Resources/Scripts/LWidget/LHUDSort.cs
class LHUDSort (line 31) | [CustomLuaClass]
method Start (line 37) | void Start () {
method Update (line 42) | void Update () {
FILE: Assets/Game/Resources/Scripts/LWidget/LHUDView.cs
class LHUDView (line 29) | [CustomLuaClass]
method Update (line 35) | void Update()
FILE: Assets/Game/Resources/Scripts/LWidget/LInputfield.cs
class LInputfield (line 32) | public class LInputfield : MonoBehaviour,IPointerClickHandler {
method Start (line 40) | void Start(){
method GetKeyboardHeight (line 53) | public static int GetKeyboardHeight()
method Update (line 76) | void Update(){
method OnPointerClick (line 91) | public void OnPointerClick(PointerEventData eventData)
FILE: Assets/Game/Resources/Scripts/LWidget/LLabelAtlas.cs
class LCacheElement (line 36) | class LCacheElement : Object
method LCacheElement (line 40) | public LCacheElement(GameObject node)
class LLabelAtlas (line 49) | [SLua.CustomLuaClass]
method LLabelAtlas (line 62) | public LLabelAtlas()
method Start (line 69) | void Start()
method reload (line 74) | public void reload()
method loadTexture (line 84) | protected void loadTexture()
method render (line 93) | protected void render()
method getCacheImage (line 160) | protected GameObject getCacheImage()
FILE: Assets/Game/Resources/Scripts/LWidget/LListView.cs
class LListNode (line 38) | public class LListNode
method LListNode (line 42) | public LListNode(GameObject obj, int tpl_id)
class LListView (line 53) | [SLua.CustomLuaClass]
method LListView (line 64) | public LListView()
method getNodeAtIndex (line 73) | public GameObject getNodeAtIndex(int idx)
method getIndexByObject (line 83) | public int getIndexByObject(GameObject obj)
method insertNodeAtLast (line 93) | public void insertNodeAtLast(GameObject node, int tpl_id)
method insertNodeAtFront (line 109) | public void insertNodeAtFront(GameObject node, int tpl_id)
method insertNode (line 125) | public void insertNode(GameObject node, int tpl_id,int idx)
method removeNodeAtIndex (line 139) | public void removeNodeAtIndex(int idx)
method removeNode (line 156) | public void removeNode(GameObject node)
method removeFrontNode (line 183) | public void removeFrontNode()
method removeLastNode (line 200) | public void removeLastNode()
method removeAllNodes (line 217) | public void removeAllNodes()
method updateNodesPosition (line 236) | protected void updateNodesPosition()
method reloadData (line 290) | public void reloadData()
method onScrolling (line 317) | protected override void onScrolling()
method scrollToCell (line 338) | public void scrollToCell (GameObject cell,float duration)
method checkRecycleItem (line 349) | protected void checkRecycleItem()
method pushFreePool (line 364) | private void pushFreePool(LListNode node)
method popFreePool (line 373) | private LListNode popFreePool(int id)
method dequeueItem (line 387) | public GameObject dequeueItem(int id)
FILE: Assets/Game/Resources/Scripts/LWidget/LMovieClip.cs
class LMovieClip (line 36) | [SLua.CustomLuaClass]
method Start (line 52) | void Start()
method loadTexture (line 63) | public void loadTexture()
method Update (line 93) | void Update()
method drawAnimation (line 102) | protected void drawAnimation()
method play (line 125) | public void play()
method stop (line 130) | public void stop()
method pause (line 137) | public void pause()
FILE: Assets/Game/Resources/Scripts/LWidget/LPageView.cs
class LPageView (line 38) | [SLua.CustomLuaClass]
method SetCellHandle (line 43) | public void SetCellHandle(UnityAction<int, GameObject> act)
method onScrolling (line 48) | protected override void onScrolling()
method updateCellAtIndex (line 82) | public override void updateCellAtIndex(int idx)
FILE: Assets/Game/Resources/Scripts/LWidget/LPickMark.cs
class LPickMark (line 36) | [SLua.CustomLuaClass]
method OnPointerDown (line 42) | public void OnPointerDown(PointerEventData eventData)
FILE: Assets/Game/Resources/Scripts/LWidget/LProgress.cs
type ProgressLabStyle (line 34) | public enum ProgressLabStyle
class LProgress (line 40) | [SLua.CustomLuaClass]
method LProgress (line 57) | public LProgress()
method setValue (line 68) | public void setValue(float value)
method getValue (line 86) | public float getValue()
method getPercentage (line 91) | public float getPercentage()
method startProgress (line 96) | public void startProgress(float value,float step)
method Update (line 107) | void Update()
FILE: Assets/Game/Resources/Scripts/LWidget/LRichText.cs
type RichType (line 35) | public enum RichType
type RichAlignType (line 43) | public enum RichAlignType
class LRichElement (line 49) | class LRichElement : Object
class LRichElementText (line 58) | class LRichElementText : LRichElement
method LRichElementText (line 66) | public LRichElementText(Color color, string txt, int fontSize, bool is...
class LRichElementImage (line 82) | class LRichElementImage : LRichElement
method LRichElementImage (line 86) | public LRichElementImage(string path, string data)
class LRichElementAnim (line 97) | class LRichElementAnim : LRichElement
method LRichElementAnim (line 102) | public LRichElementAnim(string path, float fs, string data)
class LRichElementNewline (line 114) | class LRichElementNewline : LRichElement
method LRichElementNewline (line 116) | public LRichElementNewline()
class LRichCacheElement (line 125) | class LRichCacheElement : Object
method LRichCacheElement (line 129) | public LRichCacheElement(GameObject node)
type LRenderElement (line 138) | struct LRenderElement
method Clone (line 156) | public LRenderElement Clone()
method isSameStyle (line 177) | public bool isSameStyle(LRenderElement elem)
class LRichText (line 192) | [SLua.CustomLuaClass]
method removeAllElements (line 215) | public void removeAllElements()
method insertElement (line 239) | public void insertElement(string txt, Color color, int fontSize, bool ...
method insertElement (line 244) | public void insertElement(string path, float fp, string data)
method insertElement (line 249) | public void insertElement(string path, string data)
method insertElement (line 254) | public void insertElement(int newline)
method LRichText (line 259) | public LRichText()
method reloadData (line 273) | public void reloadData()
method formatRenderers (line 372) | protected void formatRenderers()
method makeLabel (line 639) | void makeLabel(GameObject lab, LRenderElement elem)
method makeImage (line 683) | void makeImage(GameObject img, LRenderElement elem)
method makeFramAnim (line 696) | void makeFramAnim(GameObject anim, LRenderElement elem)
method getCacheLabel (line 709) | protected GameObject getCacheLabel()
method getCacheImage (line 743) | protected GameObject getCacheImage(bool isFitSize)
method getCacheFramAnim (line 779) | protected GameObject getCacheFramAnim()
method isChinese (line 815) | protected bool isChinese(string text)
method OnPointerClick (line 836) | public void OnPointerClick(PointerEventData data)
method SaftSplite (line 847) | private string[] SaftSplite(string content, char separater)
method parseRichElemString (line 883) | public void parseRichElemString(string content, UnityAction<string, Di...
method executeParseRichElem (line 918) | private List<string> executeParseRichElem(List<string> result, string ...
method parseRichDefaultString (line 947) | public void parseRichDefaultString(string content, UnityAction<string,...
FILE: Assets/Game/Resources/Scripts/LWidget/LScrollView.cs
type ScrollDirection (line 35) | public enum ScrollDirection
class LScrollView (line 44) | [SLua.CustomLuaClass]
method LScrollView (line 81) | public LScrollView()
method Awake (line 93) | void Awake()
method setContainerSize (line 110) | public void setContainerSize(Vector2 size)
method updateLimitOffset (line 120) | protected void updateLimitOffset()
method Update (line 139) | public void Update()
method OnBeginDrag (line 180) | public void OnBeginDrag(PointerEventData eventData)
method OnDrag (line 205) | public void OnDrag(PointerEventData eventData)
method OnEndDrag (line 255) | public void OnEndDrag(PointerEventData eventData)
method relocateContainerWithoutCheck (line 284) | protected void relocateContainerWithoutCheck(Vector2 offset)
method relocateContainer (line 289) | protected void relocateContainer()
method setContentOffsetEaseInWithoutCheck (line 298) | protected void setContentOffsetEaseInWithoutCheck(Vector2 offset, floa...
method setContentOffsetEaseIn (line 309) | protected void setContentOffsetEaseIn(Vector2 offset, float duration, ...
method setContentOffset (line 316) | public void setContentOffset(Vector2 offset)
method setContentOffsetWithoutCheck (line 324) | public void setContentOffsetWithoutCheck(Vector2 offset)
method setContentOffsetToTop (line 330) | public void setContentOffsetToTop()
method setContentOffsetToBottom (line 339) | public void setContentOffsetToBottom()
method setContentOffsetToRight (line 347) | public void setContentOffsetToRight()
method setContentOffsetToLeft (line 355) | public void setContentOffsetToLeft()
method setContentOffsetInDuration (line 363) | public void setContentOffsetInDuration(Vector2 offset, float duration)
method setContentOffsetInDurationWithoutCheck (line 372) | public void setContentOffsetInDurationWithoutCheck(Vector2 offset, flo...
method validateOffset (line 382) | protected bool validateOffset(ref Vector2 point)
method validateOffsetBounce (line 402) | protected bool validateOffsetBounce(Vector2 point)
method getContentOffset (line 423) | public Vector2 getContentOffset()
method onMoveComplete (line 428) | protected void onMoveComplete()
method onScrolling (line 436) | protected virtual void onScrolling()
method onScrollBegin (line 454) | protected virtual void onScrollBegin()
method onDraggingScrollEnded (line 462) | protected virtual void onDraggingScrollEnded()
FILE: Assets/Game/Resources/Scripts/LWidget/LSlider.cs
class LSlider (line 29) | [SLua.CustomLuaClass]
method Start (line 39) | void Start()
method OnDrag (line 45) | public void OnDrag(PointerEventData eventData)
method OnPointerDown (line 55) | public void OnPointerDown(PointerEventData data)
method OnPointerUp (line 63) | public void OnPointerUp(PointerEventData data)
method validSlidePoint (line 71) | private Vector3 validSlidePoint(Vector2 point)
method setValue (line 76) | public void setValue(float value)
FILE: Assets/Game/Resources/Scripts/LWidget/LSwitch.cs
class LSwitch (line 33) | [SLua.CustomLuaClass]
method Start (line 43) | void Start()
method OnPointerDown (line 49) | [SLua.DoNotToLua]
method OnPointerUp (line 55) | [SLua.DoNotToLua]
method OnDrag (line 72) | [SLua.DoNotToLua]
method setValue (line 86) | public void setValue(bool value)
FILE: Assets/Game/Resources/Scripts/LWidget/LTableView.cs
class LTableViewCell (line 36) | public class LTableViewCell
method reset (line 55) | public void reset()
class LTableView (line 64) | [SLua.CustomLuaClass]
method SetCellHandle (line 77) | public void SetCellHandle(UnityAction<int, GameObject> act)
method LTableView (line 82) | public LTableView()
method reloadData (line 95) | public virtual void reloadData()
method removeAllFromUsed (line 120) | public void removeAllFromUsed()
method removeAllFromFreed (line 130) | public void removeAllFromFreed()
method onScrolling (line 140) | protected override void onScrolling()
method updatePositions (line 202) | protected void updatePositions()
method onDraggingScrollEnded (line 225) | protected override void onDraggingScrollEnded()
method dequeueCell (line 279) | protected LTableViewCell dequeueCell()
method cellBeginIndexFromOffset (line 294) | protected int cellBeginIndexFromOffset(Vector2 offset)
method cellEndIndexFromOffset (line 325) | protected int cellEndIndexFromOffset(Vector2 offset)
method cellPositionFromIndex (line 357) | public Vector2 cellPositionFromIndex(int idx)
method insertSortableCell (line 376) | protected void insertSortableCell(LTableViewCell cell, int idx)
method scrollToIdx (line 396) | public void scrollToIdx(int idx,float duration){
method cellAtIndex (line 408) | public LTableViewCell cellAtIndex(int idx)
method updateCellByAdapter (line 424) | protected virtual void updateCellByAdapter(int idx )
method updateCellAtIndex (line 454) | public virtual void updateCellAtIndex(int idx)
method _onDataSourceAdapterHandler (line 465) | protected LTableViewCell _onDataSourceAdapterHandler(LTableViewCell ce...
FILE: Assets/Game/Resources/Scripts/LWidget/LTouchView.cs
class LTouchView (line 34) | [SLua.CustomLuaClass]
method LTouchView (line 46) | public LTouchView()
method OnPointerDown (line 50) | [SLua.DoNotToLua]
method OnDrag (line 64) | [SLua.DoNotToLua]
method OnPointerUp (line 77) | [SLua.DoNotToLua]
FILE: Assets/Game/Resources/Scripts/LWidget/LogCollect.cs
class LogCollect (line 8) | public class LogCollect : MonoBehaviour
type Log (line 10) | struct Log
method OnEnable (line 76) | void OnEnable()
method OnDisable (line 85) | void OnDisable()
method Update (line 94) | void Update()
method OnGUI (line 107) | void OnGUI()
method DrawConsoleWindow (line 121) | void DrawConsoleWindow(int windowID)
method DrawLogsList (line 133) | void DrawLogsList()
method DrawToolbar (line 168) | void DrawToolbar()
method HandleLog (line 212) | void HandleLog(string message, string stackTrace, LogType type)
method TrimExcessLogs (line 227) | void TrimExcessLogs()
FILE: Assets/Game/Resources/Scripts/LWindow/LWindowBase.cs
class LWindowBase (line 5) | [CustomLuaClass]
method LWindowBase (line 11) | public LWindowBase()
method Open (line 16) | [DoNotToLua]
method Close (line 25) | [DoNotToLua]
FILE: Assets/Game/Resources/Scripts/LWindow/LWindowManager.cs
type WindowHierarchy (line 9) | [CustomLuaClass]
type WindowDispose (line 17) | [CustomLuaClass]
class LWindowManager (line 28) | [CustomLuaClass]
method LWindowManager (line 46) | public LWindowManager()
method OnDestroy (line 64) | void OnDestroy()
method GetInstance (line 69) | public static LWindowManager GetInstance()
method Awake (line 80) | void Awake()
method checkRecycle (line 118) | protected void checkRecycle()
method LoadScene (line 142) | public void LoadScene(string name)
method LoadSceneAsync (line 147) | public void LoadSceneAsync(string name, UnityAction<float> onProgressF...
method Update (line 152) | void Update()
method onLoadSceneAsync (line 174) | private IEnumerator onLoadSceneAsync(string name, UnityAction<float> o...
method loadWindow (line 184) | protected LWindowBase loadWindow(string name)
method runWindow (line 209) | public void runWindow(string name, WindowHierarchy e, object[] list = ...
method seekWindow (line 239) | public LWindowBase seekWindow(string name)
method popWindow (line 256) | public void popWindow(string name)
method popWindow (line 262) | public void popWindow(LWindowBase win)
method popAllWindow (line 288) | public void popAllWindow()
method popAllWindow (line 297) | public void popAllWindow(WindowHierarchy e)
method removeCachedWindow (line 307) | public void removeCachedWindow(string name)
method removeAllCachedWindow (line 313) | public void removeAllCachedWindow()
method isRunning (line 322) | public bool isRunning(string name)
FILE: Assets/Game/Resources/Scripts/Net/Network.cs
class LNetwork (line 9) | [CustomLuaClass]
type MsgProto (line 23) | public struct MsgProto
method LNetwork (line 30) | public LNetwork()
method GetInstance (line 35) | public static LNetwork GetInstance()
method Awake (line 47) | public void Awake()
method GetProtoBytes (line 52) | public ByteArray GetProtoBytes(string file)
method Update (line 87) | public void Update()
method connect (line 92) | public void connect(string ip, int port)
method send (line 98) | public void send(int msgid, ByteArray content,bool isEncrypt)
method valid (line 118) | public bool valid()
method close (line 123) | public void close()
method OnConnect (line 128) | private void OnConnect(bool isConn)
method OnHandleMessage (line 134) | private void OnHandleMessage(int msgId,ByteArray packet,bool isEncrypt)
FILE: Assets/Game/Resources/Scripts/Net/NetworkInterface.cs
type SocketErrorType (line 11) | public enum SocketErrorType
class NetworkInterface (line 16) | public class NetworkInterface
class ConnectState (line 23) | public class ConnectState
method NetworkInterface (line 47) | public NetworkInterface(Action<bool> onConn,Action<int,SLua.ByteArray,...
method valid (line 54) | public bool valid()
method Close (line 63) | public void Close()
method Send (line 85) | public void Send(byte[] data)
method connectTo (line 91) | public void connectTo(string ip, int port, object userData)
method reconnectTo (line 143) | public void reconnectTo(object userData)
method waitForConnect (line 148) | private IEnumerator waitForConnect(ConnectState state)
method CheckNetworkStateLoop (line 175) | private static IEnumerator CheckNetworkStateLoop(NetworkInterface netw...
method _onConnectStatus (line 181) | private static void _onConnectStatus(ConnectState state)
method connectCB (line 201) | private static void connectCB(IAsyncResult ar)
method startTcpWorker (line 225) | private void startTcpWorker()
method process (line 235) | public void process()
FILE: Assets/Game/Resources/Scripts/Net/Reactor.cs
class Reactor (line 9) | public class Reactor
type STATUS (line 29) | enum STATUS
method Reactor (line 40) | public Reactor(Action<bool> callback, Action disconnect, Action<ushort...
method connect (line 53) | public void connect(string ip, int port)
method connect (line 61) | public void connect()
method valid (line 133) | public bool valid()
method close (line 138) | public void close()
method send (line 147) | public void send(byte[] data)
method Poll (line 187) | public void Poll()
method splitPacket (line 304) | void splitPacket()
FILE: Assets/Game/Resources/Scripts/Net/TCPClientWorker.cs
class TCPClientWorker (line 20) | public class TCPClientWorker
method TCPClientWorker (line 67) | public TCPClientWorker(Socket socket)
method StartReceiveThread (line 76) | private Thread StartReceiveThread()
method StartSendThread (line 88) | private Thread StartSendThread() {
method Push (line 105) | public void Push(byte[] bytes)
method Recv (line 116) | public byte[] Recv()
method Close (line 133) | public void Close()
method AsynSend (line 149) | private void AsynSend()
method DoSend (line 162) | private void DoSend()
method DoReceive (line 238) | private void DoReceive()
method SplitPackets (line 298) | private void SplitPackets()
FILE: Assets/Plugins/ILeanTween.cs
type ILeanTween (line 4) | public interface ILeanTween
method removeTween (line 6) | void removeTween( int i, int uniqueId);
method removeTween (line 7) | void removeTween( int i );
method add (line 8) | Vector3[] add(Vector3[] a, Vector3 b);
method closestRot (line 9) | float closestRot( float from, float to );
method cancelAll (line 10) | void cancelAll();
method cancelAll (line 11) | void cancelAll(bool callComplete);
method cancel (line 12) | void cancel( GameObject gameObject );
method cancel (line 13) | void cancel( GameObject gameObject, bool callOnComplete );
method cancel (line 14) | void cancel( GameObject gameObject, int uniqueId );
method cancel (line 15) | void cancel( LTRect ltRect, int uniqueId );
method cancel (line 16) | void cancel( int uniqueId );
method cancel (line 17) | void cancel( int uniqueId, bool callOnComplete );
method descr (line 18) | LTDescr descr( int uniqueId );
method description (line 19) | LTDescr description( int uniqueId );
method descriptions (line 20) | LTDescr[] descriptions(GameObject gameObject = null);
method pause (line 21) | void pause( int uniqueId );
method pause (line 22) | void pause( GameObject gameObject );
method pauseAll (line 23) | void pauseAll();
method resumeAll (line 24) | void resumeAll();
method resume (line 25) | void resume( int uniqueId );
method resume (line 26) | void resume( GameObject gameObject );
method isTweening (line 27) | bool isTweening( GameObject gameObject = null );
method isTweening (line 28) | bool isTweening( int uniqueId );
method isTweening (line 29) | bool isTweening( LTRect ltRect );
method drawBezierPath (line 30) | void drawBezierPath(Vector3 a, Vector3 b, Vector3 c, Vector3 d, float ...
method options (line 31) | LTDescr options(LTDescr seed);
method options (line 32) | LTDescr options();
method alpha (line 34) | LTDescr alpha(GameObject gameObject, float to, float time);
method alpha (line 35) | LTDescr alpha(LTRect ltRect, float to, float time);
method alphaVertex (line 36) | LTDescr alphaVertex(GameObject gameObject, float to, float time);
method color (line 37) | LTDescr color(GameObject gameObject, Color to, float time);
method delayedCall (line 38) | LTDescr delayedCall( float delayTime, Action callback);
method delayedCall (line 39) | LTDescr delayedCall( float delayTime, Action<object> callback);
method delayedCall (line 40) | LTDescr delayedCall( GameObject gameObject, float delayTime, Action ca...
method delayedCall (line 41) | LTDescr delayedCall( GameObject gameObject, float delayTime, Action<ob...
method destroyAfter (line 42) | LTDescr destroyAfter( LTRect rect, float delayTime);
method move (line 43) | LTDescr move(GameObject gameObject, Vector3 to, float time);
method move (line 44) | LTDescr move(GameObject gameObject, Vector2 to, float time);
method move (line 45) | LTDescr move(GameObject gameObject, Vector3[] to, float time);
method move (line 46) | LTDescr move(GameObject gameObject, LTBezierPath to, float time);
method move (line 47) | LTDescr move(GameObject gameObject, LTSpline to, float time);
method moveSpline (line 48) | LTDescr moveSpline(GameObject gameObject, Vector3[] to, float time);
method moveSplineLocal (line 49) | LTDescr moveSplineLocal(GameObject gameObject, Vector3[] to, float time);
method move (line 50) | LTDescr move(LTRect ltRect, Vector2 to, float time);
method moveMargin (line 51) | LTDescr moveMargin(LTRect ltRect, Vector2 to, float time);
method moveX (line 52) | LTDescr moveX(GameObject gameObject, float to, float time);
method moveY (line 53) | LTDescr moveY(GameObject gameObject, float to, float time);
method moveZ (line 54) | LTDescr moveZ(GameObject gameObject, float to, float time);
method moveLocal (line 55) | LTDescr moveLocal(GameObject gameObject, Vector3 to, float time);
method moveLocal (line 56) | LTDescr moveLocal(GameObject gameObject, Vector3[] to, float time);
method moveLocalX (line 57) | LTDescr moveLocalX(GameObject gameObject, float to, float time);
method moveLocalY (line 58) | LTDescr moveLocalY(GameObject gameObject, float to, float time);
method moveLocalZ (line 59) | LTDescr moveLocalZ(GameObject gameObject, float to, float time);
method moveLocal (line 60) | LTDescr moveLocal(GameObject gameObject, LTBezierPath to, float time);
method moveLocal (line 61) | LTDescr moveLocal(GameObject gameObject, LTSpline to, float time);
method move (line 62) | LTDescr move(GameObject gameObject, Transform to, float time);
method rotate (line 63) | LTDescr rotate(GameObject gameObject, Vector3 to, float time);
method rotate (line 64) | LTDescr rotate(LTRect ltRect, float to, float time);
method rotateLocal (line 65) | LTDescr rotateLocal(GameObject gameObject, Vector3 to, float time);
method rotateX (line 66) | LTDescr rotateX(GameObject gameObject, float to, float time);
method rotateY (line 67) | LTDescr rotateY(GameObject gameObject, float to, float time);
method rotateZ (line 68) | LTDescr rotateZ(GameObject gameObject, float to, float time);
method rotateAround (line 69) | LTDescr rotateAround(GameObject gameObject, Vector3 axis, float add, f...
method rotateAroundLocal (line 70) | LTDescr rotateAroundLocal(GameObject gameObject, Vector3 axis, float a...
method scale (line 71) | LTDescr scale(GameObject gameObject, Vector3 to, float time);
method scale (line 72) | LTDescr scale(LTRect ltRect, Vector2 to, float time);
method scaleX (line 73) | LTDescr scaleX(GameObject gameObject, float to, float time);
method scaleY (line 74) | LTDescr scaleY(GameObject gameObject, float to, float time);
method scaleZ (line 75) | LTDescr scaleZ(GameObject gameObject, float to, float time);
method value (line 76) | LTDescr value(GameObject gameObject, float from, float to, float time);
method value (line 77) | LTDescr value(GameObject gameObject, Vector2 from, Vector2 to, float t...
method value (line 78) | LTDescr value(GameObject gameObject, Vector3 from, Vector3 to, float t...
method value (line 79) | LTDescr value(GameObject gameObject, Color from, Color to, float time);
method value (line 80) | LTDescr value(GameObject gameObject, Action<float> callOnUpdate, float...
method value (line 81) | LTDescr value(GameObject gameObject, Action<float, float> callOnUpdate...
method value (line 82) | LTDescr value(GameObject gameObject, Action<Color> callOnUpdate, Color...
method value (line 83) | LTDescr value(GameObject gameObject, Action<Vector2> callOnUpdate, Vec...
method value (line 84) | LTDescr value(GameObject gameObject, Action<Vector3> callOnUpdate, Vec...
method value (line 85) | LTDescr value(GameObject gameObject, Action<float,object> callOnUpdate...
method delayedSound (line 86) | LTDescr delayedSound( AudioClip audio, Vector3 pos, float volume );
method delayedSound (line 87) | LTDescr delayedSound( GameObject gameObject, AudioClip audio, Vector3 ...
method play (line 91) | LTDescr play(RectTransform rectTransform, UnityEngine.Sprite[] sprites);
method textAlpha (line 92) | LTDescr textAlpha(RectTransform rectTransform, float to, float time);
method textColor (line 93) | LTDescr textColor(RectTransform rectTransform, Color to, float time);
method move (line 94) | LTDescr move(RectTransform rectTrans, Vector3 to, float time);
method moveX (line 95) | LTDescr moveX(RectTransform rectTrans, float to, float time);
method moveY (line 96) | LTDescr moveY(RectTransform rectTrans, float to, float time);
method moveZ (line 97) | LTDescr moveZ(RectTransform rectTrans, float to, float time);
method rotate (line 98) | LTDescr rotate(RectTransform rectTrans, float to, float time);
method rotateAround (line 99) | LTDescr rotateAround(RectTransform rectTrans, Vector3 axis, float to, ...
method rotateAroundLocal (line 100) | LTDescr rotateAroundLocal(RectTransform rectTrans, Vector3 axis, float...
method scale (line 101) | LTDescr scale(RectTransform rectTrans, Vector3 to, float time);
method alpha (line 102) | LTDescr alpha(RectTransform rectTrans, float to, float time);
method color (line 103) | LTDescr color(RectTransform rectTrans, Color to, float time);
FILE: Assets/Plugins/LTDescr.cs
type LTDescr (line 4) | public interface LTDescr
method cancel (line 53) | [System.Obsolete("Use 'LeanTween.cancel( id )' instead")]
method cleanup (line 55) | void cleanup();
method init (line 58) | void init();
method pause (line 59) | LTDescr pause();
method reset (line 60) | void reset();
method resume (line 61) | LTDescr resume();
method setAudio (line 62) | LTDescr setAudio(object audio);
method setAxis (line 63) | LTDescr setAxis(UnityEngine.Vector3 axis);
method setDelay (line 64) | LTDescr setDelay(float delay);
method setDestroyOnComplete (line 65) | LTDescr setDestroyOnComplete(bool doesDestroy);
method setDiff (line 66) | LTDescr setDiff(UnityEngine.Vector3 diff);
method setDirection (line 67) | LTDescr setDirection(float direction);
method setEase (line 68) | LTDescr setEase(LeanTweenType easeType);
method setEase (line 69) | LTDescr setEase(UnityEngine.AnimationCurve easeCurve);
method setFrom (line 70) | LTDescr setFrom(float from);
method setFrom (line 71) | LTDescr setFrom(UnityEngine.Vector3 from);
method setFromColor (line 72) | LTDescr setFromColor(UnityEngine.Color col);
method setHasInitialized (line 73) | LTDescr setHasInitialized(bool has);
method setId (line 74) | LTDescr setId(uint id);
method setIgnoreTimeScale (line 75) | LTDescr setIgnoreTimeScale(bool useUnScaledTime);
method setLoopClamp (line 76) | LTDescr setLoopClamp();
method setLoopClamp (line 77) | LTDescr setLoopClamp(int loops);
method setLoopCount (line 78) | LTDescr setLoopCount(int loopCount);
method setLoopOnce (line 79) | LTDescr setLoopOnce();
method setLoopPingPong (line 80) | LTDescr setLoopPingPong();
method setLoopPingPong (line 81) | LTDescr setLoopPingPong(int loops);
method setLoopType (line 82) | LTDescr setLoopType(LeanTweenType loopType);
method setOnComplete (line 83) | LTDescr setOnComplete(Action onComplete);
method setOnComplete (line 84) | LTDescr setOnComplete(Action<object> onComplete);
method setOnComplete (line 85) | LTDescr setOnComplete(Action<object> onComplete, object onCompleteParam);
method setOnCompleteOnRepeat (line 86) | LTDescr setOnCompleteOnRepeat(bool isOn);
method setOnCompleteOnStart (line 87) | LTDescr setOnCompleteOnStart(bool isOn);
method setOnCompleteParam (line 88) | LTDescr setOnCompleteParam(object onCompleteParam);
method setOnStart (line 89) | LTDescr setOnStart(Action onStart);
method setOnUpdate (line 90) | LTDescr setOnUpdate(Action<float, object> onUpdate, object onUpdatePar...
method setOnUpdate (line 91) | LTDescr setOnUpdate(Action<float> onUpdate);
method setOnUpdate (line 92) | LTDescr setOnUpdate(Action<UnityEngine.Color> onUpdate);
method setOnUpdate (line 93) | LTDescr setOnUpdate(Action<UnityEngine.Vector2> onUpdate, object onUpd...
method setOnUpdate (line 94) | LTDescr setOnUpdate(Action<UnityEngine.Vector3, object> onUpdate, obje...
method setOnUpdate (line 95) | LTDescr setOnUpdate(Action<UnityEngine.Vector3> onUpdate, object onUpd...
method setOnUpdateColor (line 96) | LTDescr setOnUpdateColor(Action<UnityEngine.Color> onUpdate);
method setOnUpdateObject (line 97) | LTDescr setOnUpdateObject(Action<float, object> onUpdate);
method setOnUpdateParam (line 98) | LTDescr setOnUpdateParam(object onUpdateParam);
method setOnUpdateRatio (line 99) | LTDescr setOnUpdateRatio(Action<float, float> onUpdate);
method setOnUpdateVector2 (line 100) | LTDescr setOnUpdateVector2(Action<UnityEngine.Vector2> onUpdate);
method setOnUpdateVector3 (line 101) | LTDescr setOnUpdateVector3(Action<UnityEngine.Vector3> onUpdate);
method setOrientToPath (line 102) | LTDescr setOrientToPath(bool doesOrient);
method setOrientToPath2d (line 103) | LTDescr setOrientToPath2d(bool doesOrient2d);
method setOvershoot (line 104) | LTDescr setOvershoot(float overshoot);
method setPath (line 105) | LTDescr setPath(LTBezierPath path);
method setPeriod (line 106) | LTDescr setPeriod(float period);
method setPoint (line 107) | LTDescr setPoint(UnityEngine.Vector3 point);
method setRect (line 108) | LTDescr setRect(LTRect rect);
method setRect (line 109) | LTDescr setRect(UnityEngine.Rect rect);
method setRepeat (line 110) | LTDescr setRepeat(int repeat);
method setRect (line 112) | LTDescr setRect(UnityEngine.RectTransform rect);
method setSprites (line 113) | LTDescr setSprites(UnityEngine.Sprite[] sprites);
method setFrameRate (line 114) | LTDescr setFrameRate(float frameRate);
method setTime (line 116) | LTDescr setTime(float time);
method setTo (line 117) | LTDescr setTo(UnityEngine.Transform to);
method setTo (line 118) | LTDescr setTo(UnityEngine.Vector3 to);
method setUseEstimatedTime (line 119) | LTDescr setUseEstimatedTime(bool useEstimatedTime);
method setUseFrames (line 120) | LTDescr setUseFrames(bool useFrames);
method setUseManualTime (line 121) | LTDescr setUseManualTime(bool useManualTime);
method ToString (line 122) | string ToString();
FILE: Assets/Plugins/LeanAudio.cs
class LeanAudioStream (line 5) | public class LeanAudioStream {
method LeanAudioStream (line 12) | public LeanAudioStream( float[] audioArr ){
method OnAudioRead (line 16) | public void OnAudioRead(float[] data) {
method OnAudioSetPosition (line 25) | public void OnAudioSetPosition(int newPosition) {
class LeanAudio (line 36) | public class LeanAudio : object {
method options (line 45) | public static LeanAudioOptions options(){
method createAudioStream (line 53) | public static LeanAudioStream createAudioStream( AnimationCurve volume...
method createAudio (line 78) | public static AudioClip createAudio( AnimationCurve volume, AnimationC...
method createAudioWave (line 87) | private static int createAudioWave( AnimationCurve volume, AnimationCu...
method createAudioFromWave (line 141) | private static AudioClip createAudioFromWave( int waveLength, LeanAudi...
method OnAudioSetPosition (line 195) | private static void OnAudioSetPosition(int newPosition) {
method generateAudioFromCurve (line 199) | public static AudioClip generateAudioFromCurve( AnimationCurve curve, ...
method play (line 223) | public static void play( AudioClip audio ){
method play (line 227) | public static void play( AudioClip audio, Vector3 pos ){
method play (line 231) | public static void play( AudioClip audio, Vector3 pos, float volume ){
method playClipAt (line 239) | public static AudioSource playClipAt( AudioClip clip, Vector3 pos ) {
method printOutAudioClip (line 249) | public static void printOutAudioClip( AudioClip audioClip, ref Animati...
class LeanAudioOptions (line 271) | public class LeanAudioOptions : object {
method LeanAudioOptions (line 278) | public LeanAudioOptions(){}
method setFrequency (line 291) | public LeanAudioOptions setFrequency( int frequencyRate ){
method setVibrato (line 307) | public LeanAudioOptions setVibrato( Vector3[] vibrato ){
FILE: Assets/Plugins/LeanTween.cs
type TweenAction (line 143) | public enum TweenAction{
type LeanTweenType (line 195) | public enum LeanTweenType{
class LTDescrImpl (line 230) | [SLua.CustomLuaClass]
method ToString (line 296) | public override string ToString(){
method LTDescrImpl (line 300) | public LTDescrImpl(){
method cancel (line 304) | [System.Obsolete("Use 'LeanTween.cancel( id )' instead")]
method reset (line 339) | public void reset(){
method cleanup (line 361) | public void cleanup(){
method init (line 383) | public void init(){
method setFromColor (line 606) | public LTDescr setFromColor( Color col ){
method pause (line 619) | public LTDescr pause(){
method resume (line 634) | public LTDescr resume(){
method setAxis (line 639) | public LTDescr setAxis( Vector3 axis ){
method setDelay (line 653) | public LTDescr setDelay( float delay ){
method setEase (line 675) | public LTDescr setEase( LeanTweenType easeType ){
method setOvershoot (line 688) | public LTDescr setOvershoot( float overshoot ){
method setPeriod (line 701) | public LTDescr setPeriod( float period ){
method setEase (line 714) | public LTDescr setEase( AnimationCurve easeCurve ){
method setTo (line 729) | public LTDescr setTo( Vector3 to ){
method setTo (line 740) | public LTDescr setTo( Transform to ){
method setFrom (line 745) | public LTDescr setFrom( Vector3 from ){
method setFrom (line 754) | public LTDescr setFrom( float from ){
method setDiff (line 758) | public LTDescr setDiff( Vector3 diff ){
method setHasInitialized (line 763) | public LTDescr setHasInitialized( bool has ){
method setId (line 768) | public LTDescr setId( uint id ){
method setTime (line 786) | public LTDescr setTime( float time ){
method setRepeat (line 801) | public LTDescr setRepeat( int repeat ){
method setLoopType (line 812) | public LTDescr setLoopType( LeanTweenType loopType ){
method setUseEstimatedTime (line 817) | public LTDescr setUseEstimatedTime( bool useEstimatedTime ){
method setIgnoreTimeScale (line 830) | public LTDescr setIgnoreTimeScale( bool useUnScaledTime ){
method setUseFrames (line 843) | public LTDescr setUseFrames( bool useFrames ){
method setUseManualTime (line 848) | public LTDescr setUseManualTime( bool useManualTime ){
method setLoopCount (line 853) | public LTDescr setLoopCount( int loopCount ){
method setLoopOnce (line 865) | public LTDescr setLoopOnce(){ this.loopType = LeanTweenType.once; retu...
method setLoopClamp (line 875) | public LTDescr setLoopClamp(){
method setLoopClamp (line 881) | public LTDescr setLoopClamp( int loops ){
method setLoopPingPong (line 894) | public LTDescr setLoopPingPong(){
method setLoopPingPong (line 900) | public LTDescr setLoopPingPong( int loops ) {
method setOnComplete (line 914) | public LTDescr setOnComplete( Action onComplete ){
method setOnComplete (line 927) | public LTDescr setOnComplete( Action<object> onComplete ){
method setOnComplete (line 931) | public LTDescr setOnComplete( Action<object> onComplete, object onComp...
method setOnCompleteParam (line 950) | public LTDescr setOnCompleteParam( object onCompleteParam ){
method setOnUpdate (line 966) | public LTDescr setOnUpdate( Action<float> onUpdate ){
method setOnUpdateRatio (line 971) | public LTDescr setOnUpdateRatio(Action<float,float> onUpdate)
method setOnUpdateObject (line 978) | public LTDescr setOnUpdateObject( Action<float,object> onUpdate ){
method setOnUpdateVector2 (line 983) | public LTDescr setOnUpdateVector2( Action<Vector2> onUpdate ){
method setOnUpdateVector3 (line 988) | public LTDescr setOnUpdateVector3( Action<Vector3> onUpdate ){
method setOnUpdateColor (line 993) | public LTDescr setOnUpdateColor( Action<Color> onUpdate ){
method setOnUpdate (line 1001) | public LTDescr setOnUpdate( Action<Color> onUpdate ){
method setOnUpdate (line 1017) | public LTDescr setOnUpdate( Action<float,object> onUpdate, object onUp...
method setOnUpdate (line 1025) | public LTDescr setOnUpdate( Action<Vector3,object> onUpdate, object on...
method setOnUpdate (line 1033) | public LTDescr setOnUpdate( Action<Vector2> onUpdate, object onUpdateP...
method setOnUpdate (line 1051) | public LTDescr setOnUpdate( Action<Vector3> onUpdate, object onUpdateP...
method setOnUpdateParam (line 1071) | public LTDescr setOnUpdateParam( object onUpdateParam ){
method setOrientToPath (line 1084) | public LTDescr setOrientToPath( bool doesOrient ){
method setOrientToPath2d (line 1103) | public LTDescr setOrientToPath2d( bool doesOrient2d ){
method setRect (line 1113) | public LTDescr setRect( LTRect rect ){
method setRect (line 1118) | public LTDescr setRect( Rect rect ){
method setPath (line 1123) | public LTDescr setPath( LTBezierPath path ){
method setPoint (line 1136) | public LTDescr setPoint( Vector3 point ){
method setDestroyOnComplete (line 1141) | public LTDescr setDestroyOnComplete( bool doesDestroy ){
method setAudio (line 1146) | public LTDescr setAudio( object audio ){
method setOnCompleteOnRepeat (line 1159) | public LTDescr setOnCompleteOnRepeat( bool isOn ){
method setOnCompleteOnStart (line 1175) | public LTDescr setOnCompleteOnStart( bool isOn ){
method setRect (line 1181) | public LTDescr setRect( RectTransform rect ){
method setSprites (line 1186) | public LTDescr setSprites( UnityEngine.Sprite[] sprites ){
method setFrameRate (line 1191) | public LTDescr setFrameRate( float frameRate ){
method setOnStart (line 1208) | public LTDescr setOnStart( Action onStart ){
method setDirection (line 1222) | public LTDescr setDirection( float direction ){
class LTUtility (line 1241) | public class LTUtility {
method reverse (line 1244) | public static Vector3[] reverse( Vector3[] arr ){
class LeanTween (line 1280) | [CustomLuaClass]
method init (line 1306) | public static void init(){
method init (line 1336) | public static void init(int maxSimultaneousTweens){
method reset (line 1355) | public static void reset(){
method Update (line 1363) | public void Update(){
method OnLevelWasLoaded (line 1367) | public void OnLevelWasLoaded( int lvl ){
method update (line 1385) | public static void update() {
class LTBezier (line 4535) | public class LTBezier {
method LTBezier (line 4545) | public LTBezier(Vector3 a, Vector3 b, Vector3 c, Vector3 d, float prec...
method map (line 4567) | private float map(float u) {
method bezierPoint (line 4588) | private Vector3 bezierPoint(float t){
method point (line 4592) | public Vector3 point(float t){
class LTBezierPath (line 4607) | public class LTBezierPath {
method LTBezierPath (line 4617) | public LTBezierPath(){ }
method LTBezierPath (line 4618) | public LTBezierPath( Vector3[] pts_ ){
method setPoints (line 4622) | public void setPoints( Vector3[] pts_ ){
method point (line 4655) | public Vector3 point( float ratio ){
method place2d (line 4665) | public void place2d( Transform transform, float ratio ){
method placeLocal2d (line 4675) | public void placeLocal2d( Transform transform, float ratio ){
method place (line 4694) | public void place( Transform transform, float ratio ){
method place (line 4709) | public void place( Transform transform, float ratio, Vector3 worldUp ){
method placeLocal (line 4726) | public void placeLocal( Transform transform, float ratio ){
method placeLocal (line 4740) | public void placeLocal( Transform transform, float ratio, Vector3 worl...
method getRationInOneRange (line 4748) | public float getRationInOneRange(float ratio){
method gizmoDraw (line 4758) | public void gizmoDraw(float t = -1.0f)
class LTSpline (line 4785) | [System.Serializable]
method LTSpline (line 4799) | public LTSpline(params Vector3[] pts) {
method map (line 4856) | public Vector3 map( float u ){
method interp (line 4879) | public Vector3 interp(float t) {
method point (line 4906) | public Vector3 point( float ratio ){
method place2d (line 4912) | public void place2d( Transform transform, float ratio ){
method placeLocal2d (line 4922) | public void placeLocal2d( Transform transform, float ratio ){
method place (line 4942) | public void place( Transform transform, float ratio ){
method place (line 4956) | public void place( Transform transform, float ratio, Vector3 worldUp ){
method placeLocal (line 4973) | public void placeLocal( Transform transform, float ratio ){
method placeLocal (line 4987) | public void placeLocal( Transform transform, float ratio, Vector3 worl...
method gizmoDraw (line 4994) | public void gizmoDraw(float t = -1.0f) {
class LTRect (line 5051) | [System.Serializable]
method LTRect (line 5087) | public LTRect(){
method LTRect (line 5093) | public LTRect(Rect rect){
method LTRect (line 5098) | public LTRect(float x, float y, float width, float height){
method LTRect (line 5105) | public LTRect(float x, float y, float width, float height, float alpha){
method LTRect (line 5112) | public LTRect(float x, float y, float width, float height, float alpha...
method setId (line 5143) | public void setId( int id, int counter){
method reset (line 5148) | public void reset(){
method resetForRotation (line 5157) | public void resetForRotation(){
method setStyle (line 5220) | public LTRect setStyle( GUIStyle style ){
method setFontScaleToFit (line 5225) | public LTRect setFontScaleToFit( bool fontScaleToFit ){
method setColor (line 5230) | public LTRect setColor( Color color ){
method setAlpha (line 5236) | public LTRect setAlpha( float alpha ){
method setLabel (line 5241) | public LTRect setLabel( String str ){
method setUseSimpleScale (line 5246) | public LTRect setUseSimpleScale( bool useSimpleScale, Rect relativeRect){
method setUseSimpleScale (line 5252) | public LTRect setUseSimpleScale( bool useSimpleScale){
method setSizeByHeight (line 5258) | public LTRect setSizeByHeight( bool sizeByHeight){
method ToString (line 5263) | public override string ToString(){
class LTEvent (line 5274) | public class LTEvent {
method LTEvent (line 5278) | public LTEvent(int id, object data){
class LTGUI (line 5284) | public class LTGUI {
type Element_Type (line 5299) | public enum Element_Type{
method init (line 5304) | public static void init(){
method initRectCheck (line 5311) | public static void initRectCheck(){
method reset (line 5322) | public static void reset(){
method update (line 5335) | public static void update( int updateLevel ){
method checkOnScreen (line 5376) | public static bool checkOnScreen(Rect rect){
method destroy (line 5385) | public static void destroy( int id ){
method destroyAll (line 5392) | public static void destroyAll( int depth ){ // clears all gui elements...
method label (line 5399) | public static LTRect label( Rect rect, string label, int depth){
method label (line 5403) | public static LTRect label( LTRect rect, string label, int depth){
method texture (line 5409) | public static LTRect texture( Rect rect, Texture texture, int depth){
method texture (line 5413) | public static LTRect texture( LTRect rect, Texture texture, int depth){
method element (line 5419) | public static LTRect element( LTRect rect, int depth){
method hasNoOverlap (line 5458) | public static bool hasNoOverlap( Rect rect, int depth ){
method pressedWithinRect (line 5497) | public static bool pressedWithinRect( Rect rect ){
method checkWithinRect (line 5505) | public static bool checkWithinRect(Vector2 vec2, Rect rect){
method firstTouch (line 5510) | public static Vector2 firstTouch(){
FILE: Assets/Plugins/Slua_Managed/ByteArray.cs
class ByteArray (line 29) | public class ByteArray
method ReAlloc (line 31) | static void ReAlloc (ref byte[] ba, int pos, int size)
method ByteArray (line 41) | public ByteArray() {
method ByteArray (line 46) | public ByteArray(byte[] data) {
method SetData (line 50) | public void SetData (byte[] data)
method SetData (line 56) | public void SetData (byte[] data, int len, int pos)
method Clear (line 62) | public void Clear ()
method GetData (line 82) | public byte[] GetData ()
method ReadBool (line 87) | public bool ReadBool ()
method ReadInt (line 92) | public int ReadInt ()
method ReadUInt (line 99) | public uint ReadUInt ()
method ReadChar (line 106) | public sbyte ReadChar ()
method ReadUChar (line 111) | public byte ReadUChar ()
method ReadByte (line 116) | public byte ReadByte ()
method Read (line 121) | public void Read (ref byte[] arr)
method ReadSByte (line 128) | public sbyte ReadSByte ()
method ReadShort (line 136) | public short ReadShort ()
method ReadUShort (line 141) | public ushort ReadUShort ()
method ReadInt16 (line 146) | public short ReadInt16 ()
method ReadUInt16 (line 154) | public ushort ReadUInt16 ()
method ReadInt64 (line 161) | public Int64 ReadInt64 ()
method ReadFloat (line 168) | public float ReadFloat ()
method ReadDouble (line 175) | public double ReadDouble ()
method ReadString (line 182) | public string ReadString ()
method WriteByteArray (line 190) | public void WriteByteArray (ByteArray v)
method WriteBool (line 195) | public void WriteBool (bool v)
method WriteInt (line 200) | public void WriteInt (int v)
method Write (line 205) | public void Write (ByteArray v)
method Write (line 214) | public void Write (bool v)
method Write (line 219) | public void Write (int v)
method Write (line 226) | public void Write (uint v)
method WriteUInt (line 233) | public void WriteUInt (uint v)
method Write (line 238) | public void Write (char v)
method WriteChar (line 245) | public void WriteChar (sbyte v)
method Write (line 250) | public void Write (byte[] arr)
method Write (line 258) | public void Write (byte v)
method WriteByte (line 265) | public void WriteByte (byte v)
method WriteUChar (line 270) | public void WriteUChar (byte v)
method Write (line 275) | public void Write (sbyte v)
method WriteSByte (line 282) | public void WriteSByte (sbyte v)
method Write (line 287) | public void Write (short v)
method Write (line 296) | public void Write (ushort v)
method WriteUShort (line 301) | public void WriteUShort (ushort v)
method WriteShort (line 306) | public void WriteShort (short v)
method Write (line 311) | public void Write (float v)
method WriteFloat (line 318) | public void WriteFloat (float v)
method Write (line 323) | public void Write (double v)
method WriteNum (line 330) | public void WriteNum (double v)
method Write (line 335) | public void Write (string v)
method WriteString (line 345) | public void WriteString (string v)
method WriteUInt (line 350) | public void WriteUInt (uint v, int pos)
method Write (line 355) | public void Write (Int64 v)
method WriteInt64 (line 360) | public void WriteInt64 (Int64 v)
method ReadVarInt (line 365) | public Int64 ReadVarInt ()
method WriteVarInt (line 379) | public void WriteVarInt (Int64 v)
FILE: Assets/Plugins/Slua_Managed/Coroutine.cs
class LuaCoroutine (line 31) | public class LuaCoroutine : LuaObject
method reg (line 36) | static public void reg(IntPtr l, MonoBehaviour m)
method Yieldk (line 78) | [MonoPInvokeCallback(typeof(LuaCSFunction))]
method yieldReturn (line 101) | static public IEnumerator yieldReturn(object y, LuaFunction f)
FILE: Assets/Plugins/Slua_Managed/Helper.cs
class Helper (line 29) | public class Helper : LuaObject
method _iter (line 82) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method iter (line 100) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method CreateAction (line 121) | [MonoPInvokeCallbackAttribute(typeof (LuaCSFunction))]
method CreateClass (line 145) | [MonoPInvokeCallbackAttribute(typeof (LuaCSFunction))]
method GetClass (line 194) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method ToBytes (line 219) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method ToString (line 233) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method MakeArray (line 264) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method As (line 291) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method IsNull (line 313) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method get_out (line 350) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method get_version (line 358) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method reg (line 366) | static public void reg(IntPtr l)
FILE: Assets/Plugins/Slua_Managed/Logger.cs
class Logger (line 11) | public class Logger
type Level (line 13) | public enum Level
method FindScriptByMsg (line 21) | private static UnityEngine.Object FindScriptByMsg(string msg)
method Log (line 44) | public static void Log(string msg)
method LogError (line 58) | public static void LogError(string msg, bool hasStacktrace = false)
method LogWarning (line 82) | public static void LogWarning(string msg)
FILE: Assets/Plugins/Slua_Managed/Lua3rdDLL.cs
class Lua3rdDLL (line 11) | public static class Lua3rdDLL{
method Lua3rdDLL (line 14) | static Lua3rdDLL(){
method open (line 18) | public static void open(IntPtr L){
class LualibRegAttribute (line 57) | [AttributeUsage(AttributeTargets.Method)]
method LualibRegAttribute (line 61) | public LualibRegAttribute(string luaName){
FILE: Assets/Plugins/Slua_Managed/Lua3rdMeta.cs
class Lua3rdMeta (line 12) | public class Lua3rdMeta
method OnEnable (line 22) | void OnEnable(){
method ReBuildTypes (line 29) | public void ReBuildTypes(){
FILE: Assets/Plugins/Slua_Managed/LuaArray.cs
class LuaArray (line 35) | class LuaArray : LuaObject
method toTable (line 39) | static int toTable(IntPtr l,Array o)
method length (line 56) | static int length(IntPtr l,Array a)
method len (line 62) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method luaIndex (line 73) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method luaNewIndex (line 108) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method tostring (line 128) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method init (line 136) | static new public void init(IntPtr l)
FILE: Assets/Plugins/Slua_Managed/LuaByteArray.cs
class Lua_SLua_ByteArray (line 4) | public class Lua_SLua_ByteArray : LuaObject {
method constructor (line 5) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method SetData (line 33) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method Clear (line 65) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method GetData (line 77) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method ReadBool (line 90) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method ReadInt (line 103) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method ReadUInt (line 116) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method ReadChar (line 129) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method ReadUChar (line 142) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method ReadByte (line 155) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method Read (line 168) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method ReadSByte (line 183) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method ReadShort (line 196) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method ReadUShort (line 209) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method ReadInt16 (line 222) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method ReadUInt16 (line 235) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method ReadInt64 (line 248) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method ReadFloat (line 261) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method ReadDouble (line 274) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method ReadString (line 287) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method WriteByteArray (line 300) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method WriteBool (line 314) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method WriteInt (line 328) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method WriteUInt (line 342) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method WriteChar (line 372) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method WriteByte (line 386) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method WriteUChar (line 400) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method WriteSByte (line 414) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method WriteUShort (line 428) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method WriteShort (line 442) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method WriteFloat (line 456) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method WriteNum (line 470) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method WriteString (line 484) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method WriteInt64 (line 498) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method ReadVarInt (line 512) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method WriteVarInt (line 525) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method get_Length (line 539) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method get_Position (line 551) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method set_Position (line 563) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method reg (line 577) | static public void reg(IntPtr l) {
FILE: Assets/Plugins/Slua_Managed/LuaDLL.cs
class MonoPInvokeCallbackAttribute (line 7) | public class MonoPInvokeCallbackAttribute : System.Attribute
method MonoPInvokeCallbackAttribute (line 10) | public MonoPInvokeCallbackAttribute(Type t)
type LuaTypes (line 17) | public enum LuaTypes : int
type LuaGCOptions (line 31) | public enum LuaGCOptions
type LuaThreadStatus (line 43) | public enum LuaThreadStatus : int
class LuaIndexes (line 52) | public sealed class LuaIndexes
type ReaderInfo (line 64) | [StructLayout(LayoutKind.Sequential)]
class LuaDLL (line 81) | public class LuaDLL
method luaS_openextlibs (line 90) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_tothread (line 94) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_xmove (line 96) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_newthread (line 99) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_status (line 102) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_pushthread (line 105) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_gc (line 109) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_typename (line 111) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_typenamestr (line 113) | public static string lua_typenamestr(IntPtr luaState, LuaTypes type)
method luaL_typename (line 118) | public static string luaL_typename(IntPtr luaState, int stackPos)
method lua_isfunction (line 123) | public static bool lua_isfunction(IntPtr luaState, int stackPos)
method lua_islightuserdata (line 128) | public static bool lua_islightuserdata(IntPtr luaState, int stackPos)
method lua_istable (line 133) | public static bool lua_istable(IntPtr luaState, int stackPos)
method lua_isthread (line 138) | public static bool lua_isthread(IntPtr luaState, int stackPos)
method luaL_error (line 143) | [Obsolete]
method luaL_error (line 150) | [Obsolete]
method luaL_gsub (line 157) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_isuserdata (line 162) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_rawequal (line 165) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_setfield (line 168) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method luaL_callmeta (line 170) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method luaL_newstate (line 172) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_close (line 176) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method luaL_openlibs (line 178) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method luaL_loadstring (line 183) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method luaL_dostring (line 185) | public static int luaL_dostring(IntPtr luaState, string chunk)
method lua_dostring (line 193) | public static int lua_dostring(IntPtr luaState, string chunk)
method lua_createtable (line 198) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_newtable (line 200) | public static void lua_newtable(IntPtr luaState)
method lua_getglobal (line 206) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_setglobal (line 209) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_insert (line 212) | public static void lua_insert(IntPtr luaState, int newTop)
method lua_pushglobaltable (line 217) | public static void lua_pushglobaltable(IntPtr l)
method lua_rotate (line 222) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_rawlen (line 225) | public static int lua_rawlen(IntPtr luaState, int stackPos)
method luaL_loadbufferx (line 230) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_callk (line 233) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_pcallk (line 236) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method luaS_pcall (line 239) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_call (line 242) | public static int lua_call(IntPtr luaState, int nArgs, int nResults)
method lua_pcall (line 247) | public static int lua_pcall(IntPtr luaState, int nArgs, int nResults, ...
method lua_tonumberx (line 252) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_tonumber (line 254) | public static double lua_tonumber(IntPtr luaState, int index)
method lua_tointegerx (line 258) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_tointeger (line 260) | public static int lua_tointeger(IntPtr luaState, int index)
method luaL_loadbuffer (line 266) | public static int luaL_loadbuffer(IntPtr luaState, byte[] buff, int si...
method lua_remove (line 271) | public static void lua_remove(IntPtr l, int idx)
method lua_rawgeti (line 277) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_rawseti (line 280) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_pushinteger (line 283) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method luaL_checkinteger (line 286) | public static Int64 luaL_checkinteger(IntPtr luaState, int stackPos) {
method luaS_yield (line 291) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_yield (line 294) | public static int lua_yield(IntPtr luaState,int nrets) {
method lua_resume (line 299) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_resume (line 301) | public static int lua_resume(IntPtr L, int narg)
method lua_replace (line 306) | public static void lua_replace(IntPtr luaState, int index) {
method lua_copy (line 311) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_isinteger (line 314) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_compare (line 317) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_equal (line 320) | public static int lua_equal(IntPtr luaState, int index1, int index2)
method lua_resume (line 326) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_lessthan (line 329) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_getfenv (line 332) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_yield (line 335) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_getglobal (line 338) | public static void lua_getglobal(IntPtr luaState, string name)
method lua_setglobal (line 344) | public static void lua_setglobal(IntPtr luaState, string name)
method lua_pushglobaltable (line 351) | public static void lua_pushglobaltable(IntPtr l)
method lua_insert (line 356) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_rawlen (line 359) | public static int lua_rawlen(IntPtr luaState, int stackPos)
method lua_strlen (line 364) | public static int lua_strlen(IntPtr luaState, int stackPos)
method lua_call (line 369) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_pcall (line 372) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_tonumber (line 375) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_tointeger (line 378) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method luaL_loadbuffer (line 381) | public static int luaL_loadbuffer(IntPtr luaState, byte[] buff, int si...
method lua_remove (line 386) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_rawgeti (line 389) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_rawseti (line 392) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_pushinteger (line 395) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_pushinteger (line 398) | public static void lua_pushinteger(IntPtr luaState, int i)
method luaL_checkinteger (line 403) | public static int luaL_checkinteger(IntPtr luaState, int stackPos)
method lua_replace (line 409) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_setfenv (line 412) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_equal (line 415) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method luaL_loadfile (line 418) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_settop (line 423) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_pop (line 425) | public static void lua_pop(IntPtr luaState, int amount)
method lua_gettable (line 430) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_rawget (line 432) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_settable (line 434) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_rawset (line 436) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_setmetatable (line 440) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_setmetatable (line 443) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_getmetatable (line 448) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_pushvalue (line 451) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_gettop (line 454) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_type (line 456) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_isnil (line 458) | public static bool lua_isnil(IntPtr luaState, int index)
method lua_isnumber (line 463) | public static bool lua_isnumber(IntPtr luaState, int index)
method lua_isboolean (line 467) | public static bool lua_isboolean(IntPtr luaState, int index)
method luaL_ref (line 471) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_getref (line 475) | public static void lua_getref(IntPtr luaState, int reference)
method luaL_unref (line 480) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_unref (line 482) | public static void lua_unref(IntPtr luaState, int reference)
method lua_isstring (line 487) | public static bool lua_isstring(IntPtr luaState, int index)
method lua_iscfunction (line 492) | public static bool lua_iscfunction(IntPtr luaState, int index)
method lua_pushnil (line 496) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method luaL_checktype (line 499) | public static void luaL_checktype(IntPtr luaState, int p, LuaTypes t)
method lua_pushcfunction (line 508) | public static void lua_pushcfunction(IntPtr luaState, LuaCSFunction fu...
method lua_tocfunction (line 518) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_toboolean (line 522) | public static bool lua_toboolean(IntPtr luaState, int index)
method luaS_tolstring32 (line 528) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_tostring (line 531) | public static string lua_tostring(IntPtr luaState, int index)
method lua_tobytes (line 544) | public static byte[] lua_tobytes(IntPtr luaState, int index)
method lua_atpanic (line 559) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_pushnumber (line 562) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_pushboolean (line 565) | public static void lua_pushboolean(IntPtr luaState, bool value)
method lua_pushstring (line 570) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_pushlstring (line 573) | public static void lua_pushlstring(IntPtr luaState, byte[] str, int size)
method luaL_newmetatable (line 581) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_getfield (line 583) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method luaL_getmetatable (line 585) | public static void luaL_getmetatable(IntPtr luaState, string meta)
method luaL_checkudata (line 589) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method luaL_getmetafield (line 592) | public static bool luaL_getmetafield(IntPtr luaState, int stackPos, st...
method lua_load (line 596) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_error (line 602) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_checkstack (line 605) | public static bool lua_checkstack(IntPtr luaState, int extra)
method lua_next (line 609) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_pushlightuserdata (line 611) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method luaL_where (line 613) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method luaL_checknumber (line 616) | public static double luaL_checknumber(IntPtr luaState, int stackPos)
method lua_concat (line 622) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method luaS_newuserdata (line 626) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method luaS_rawnetobj (line 628) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_touserdata (line 632) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_absindex (line 635) | public static int lua_absindex(IntPtr luaState, int index)
method lua_upvalueindex (line 640) | public static int lua_upvalueindex(int i)
method lua_pushcclosure (line 649) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_pushcclosure (line 652) | public static void lua_pushcclosure(IntPtr l, LuaCSFunction f, int nup)
method luaS_checkVector2 (line 662) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method luaS_checkVector3 (line 665) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method luaS_checkVector4 (line 668) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method luaS_checkQuaternion (line 671) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method luaS_checkColor (line 674) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method luaS_pushVector2 (line 677) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method luaS_pushVector3 (line 681) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method luaS_pushVector4 (line 684) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method luaS_pushQuaternion (line 686) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method luaS_pushColor (line 689) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method luaS_setDataVec (line 692) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method luaS_checkluatype (line 695) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method luaS_pushobject (line 698) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method luaS_getcacheud (line 701) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method luaS_subclassof (line 705) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
FILE: Assets/Plugins/Slua_Managed/LuaDLLWrapper.cs
class LuaDLLWrapper (line 46) | public class LuaDLLWrapper
method luaS_rawlen (line 56) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method luaS_objlen (line 59) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_isnumber (line 70) | [DllImport(LUADLL,CallingConvention=CallingConvention.Cdecl)]
method lua_isstring (line 74) | [DllImport(LUADLL,CallingConvention=CallingConvention.Cdecl)]
method lua_iscfunction (line 77) | [DllImport(LUADLL,CallingConvention=CallingConvention.Cdecl)]
method lua_toboolean (line 80) | [DllImport(LUADLL,CallingConvention=CallingConvention.Cdecl)]
method lua_pushboolean (line 84) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method luaS_pushlstring (line 87) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method luaL_getmetafield (line 91) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method luaLS_loadbuffer (line 94) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
method lua_checkstack (line 97) | [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
FILE: Assets/Plugins/Slua_Managed/LuaObject.cs
class CustomLuaClassAttribute (line 35) | [AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum | Attribu...
method CustomLuaClassAttribute (line 38) | public CustomLuaClassAttribute()
class DoNotToLuaAttribute (line 44) | public class DoNotToLuaAttribute : System.Attribute
method DoNotToLuaAttribute (line 46) | public DoNotToLuaAttribute()
class LuaBinderAttribute (line 52) | public class LuaBinderAttribute : System.Attribute
method LuaBinderAttribute (line 55) | public LuaBinderAttribute(int order)
class StaticExportAttribute (line 61) | [AttributeUsage(AttributeTargets.Method)]
method StaticExportAttribute (line 64) | public StaticExportAttribute()
class LuaOverrideAttribute (line 70) | [AttributeUsage(AttributeTargets.Method)]
method LuaOverrideAttribute (line 73) | public LuaOverrideAttribute(string fn) {
class OverloadLuaClassAttribute (line 78) | public class OverloadLuaClassAttribute : System.Attribute {
method OverloadLuaClassAttribute (line 79) | public OverloadLuaClassAttribute(Type target) {
class LuaOut (line 85) | public class LuaOut { }
class LuaObject (line 87) | public partial class LuaObject
method init (line 110) | public static void init(IntPtr l)
method ToString (line 187) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method GetHashCode (line 203) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method Equals (line 219) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method GetType (line 236) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method setupPushVar (line 252) | static void setupPushVar()
method getOpFunction (line 361) | static int getOpFunction(IntPtr l, string f, string tip)
method luaOp (line 387) | static int luaOp(IntPtr l, string f, string tip)
method luaUnaryOp (line 401) | static int luaUnaryOp(IntPtr l, string f, string tip)
method luaAdd (line 413) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method luaSub (line 426) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method luaMul (line 439) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method luaDiv (line 452) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method luaUnm (line 465) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method luaEq (line 478) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method luaLt (line 491) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method luaLe (line 504) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method getEnumTable (line 517) | public static void getEnumTable(IntPtr l, string t)
method getTypeTable (line 522) | public static void getTypeTable(IntPtr l, string t)
method newTypeTable (line 531) | public static void newTypeTable(IntPtr l, string name)
method createTypeMetatable (line 553) | public static void createTypeMetatable(IntPtr l, Type self)
method createTypeMetatable (line 558) | public static void createTypeMetatable(IntPtr l, LuaCSFunction con, Ty...
method checkMethodValid (line 563) | static void checkMethodValid(LuaCSFunction f)
method createTypeMetatable (line 573) | public static void createTypeMetatable(IntPtr l, LuaCSFunction con, Ty...
method completeTypeMeta (line 614) | static void completeTypeMeta(IntPtr l, LuaCSFunction con, Type self)
method completeInstanceMeta (line 640) | private static void completeInstanceMeta(IntPtr l, Type self)
method isImplByLua (line 684) | public static bool isImplByLua(Type t)
method reg (line 698) | public static void reg(IntPtr l, LuaCSFunction func, string ns)
method addMember (line 708) | protected static void addMember(IntPtr l, LuaCSFunction func)
method addMember (line 723) | protected static void addMember(IntPtr l, LuaCSFunction func, bool ins...
method addMember (line 732) | protected static void addMember(IntPtr l, string name, LuaCSFunction g...
method addMember (line 755) | protected static void addMember(IntPtr l, int v, string name)
method luaGC (line 761) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method gc (line 773) | static internal void gc(IntPtr l,int p,UnityEngine.Object o)
method checkLuaObject (line 784) | static public void checkLuaObject(IntPtr l, int p)
method pushObject (line 794) | public static void pushObject(IntPtr l, object o)
method pushObject (line 800) | public static void pushObject(IntPtr l, Array o)
method pushLightObject (line 807) | public static void pushLightObject(IntPtr l, object t)
method pushTry (line 815) | public static int pushTry(IntPtr l)
method matchType (line 834) | public static bool matchType(IntPtr l, int p, LuaTypes lt, Type t)
method isTypeTable (line 890) | public static bool isTypeTable(IntPtr l, int p)
method isLuaClass (line 904) | public static bool isLuaClass(IntPtr l, int p)
method isLuaValueType (line 909) | static bool isLuaValueType(IntPtr l, int p)
method matchType (line 914) | public static bool matchType(IntPtr l, int p, Type t1)
method matchType (line 920) | public static bool matchType(IntPtr l, int total, int from, Type t1)
method matchType (line 928) | public static bool matchType(IntPtr l, int total, int from, Type t1, T...
method matchType (line 936) | public static bool matchType(IntPtr l, int total, int from, Type t1, T...
method matchType (line 944) | public static bool matchType(IntPtr l, int total, int from, Type t1, T...
method matchType (line 952) | public static bool matchType(IntPtr l, int total, int from, Type t1, T...
method matchType (line 961) | public static bool matchType
method matchType (line 972) | public static bool matchType
method matchType (line 984) | public static bool matchType
method matchType (line 998) | public static bool matchType
method matchType (line 1012) | public static bool matchType
method matchType (line 1027) | public static bool matchType(IntPtr l, int total, int from, params Typ...
method matchType (line 1041) | public static bool matchType(IntPtr l, int total, int from, ParameterI...
method luaTypeCheck (line 1056) | static public bool luaTypeCheck(IntPtr l, int p, string t)
method newDelegate (line 1061) | static LuaDelegate newDelegate(IntPtr l, int p)
method removeDelgate (line 1076) | static public void removeDelgate(IntPtr l, int r)
method checkObj (line 1085) | static public object checkObj(IntPtr l, int p)
method checkArray (line 1091) | static public bool checkArray<T>(IntPtr l, int p, out T[] ta)
method checkParams (line 1115) | static public bool checkParams<T>(IntPtr l, int p, out T[] pars) where...
method checkValueParams (line 1131) | static public bool checkValueParams<T>(IntPtr l, int p, out T[] pars) ...
method checkParams (line 1147) | static public bool checkParams(IntPtr l, int p, out float[] pars)
method checkParams (line 1163) | static public bool checkParams(IntPtr l, int p, out int[] pars)
method checkParams (line 1181) | static public bool checkParams(IntPtr l, int p, out string[] pars)
method checkParams (line 1197) | static public bool checkParams(IntPtr l, int p, out char[] pars)
method checkVar (line 1206) | static public object checkVar(IntPtr l, int p, Type t)
method checkVar (line 1236) | static public object checkVar(IntPtr l, int p)
method pushValue (line 1323) | public static void pushValue(IntPtr l, object o)
method pushValue (line 1328) | public static void pushValue(IntPtr l, Array a)
method pushVar (line 1333) | public static void pushVar(IntPtr l, object o)
method checkSelf (line 1361) | public static T checkSelf<T>(IntPtr l)
method checkSelf (line 1371) | public static object checkSelf(IntPtr l)
method setBack (line 1379) | public static void setBack(IntPtr l, object o)
method setBack (line 1386) | public static void setBack(IntPtr l, Vector3 v)
method setBack (line 1391) | public static void setBack(IntPtr l, Vector2 v)
method setBack (line 1396) | public static void setBack(IntPtr l, Vector4 v)
method setBack (line 1401) | public static void setBack(IntPtr l, Quaternion v)
method setBack (line 1406) | public static void setBack(IntPtr l, Color v)
method extractFunction (line 1412) | public static int extractFunction(IntPtr l, int p)
method noConstructor (line 1445) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method typeToString (line 1451) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method error (line 1459) | static public int error(IntPtr l,Exception e)
method error (line 1466) | static public int error(IntPtr l, string err)
method error (line 1473) | static public int error(IntPtr l, string err, params object[] args)
method ok (line 1481) | static public int ok(IntPtr l)
method ok (line 1487) | static public int ok(IntPtr l, int retCount)
method assert (line 1494) | static public void assert(bool cond,string err) {
method changeType (line 1505) | static public object changeType(object obj, Type t)
FILE: Assets/Plugins/Slua_Managed/LuaObject_basetype.cs
class LuaObject (line 69) | public partial class LuaObject
method checkEnum (line 72) | static public bool checkEnum<T>(IntPtr l, int p, out T o) where T : st...
method pushEnum (line 80) | public static void pushEnum(IntPtr l, int e)
method checkType (line 88) | public static bool checkType(IntPtr l, int p, out sbyte v)
method pushValue (line 94) | public static void pushValue(IntPtr l, sbyte v)
method checkType (line 102) | static public bool checkType(IntPtr l, int p, out byte v)
method pushValue (line 108) | public static void pushValue(IntPtr l, byte i)
method checkType (line 118) | static public bool checkType(IntPtr l, int p,out char c)
method pushValue (line 124) | public static void pushValue(IntPtr l, char v)
method checkArray (line 129) | static public bool checkArray(IntPtr l, int p, out char[] pars)
method checkType (line 140) | static public bool checkType(IntPtr l, int p, out short v)
method pushValue (line 146) | public static void pushValue(IntPtr l, short i)
method checkType (line 153) | static public bool checkType(IntPtr l, int p, out ushort v)
method pushValue (line 159) | public static void pushValue(IntPtr l, ushort v)
method checkType (line 167) | static public bool checkType(IntPtr l, int p, out int v)
method pushValue (line 173) | public static void pushValue(IntPtr l, int i)
method checkType (line 181) | static public bool checkType(IntPtr l, int p, out uint v)
method pushValue (line 187) | public static void pushValue(IntPtr l, uint o)
method checkType (line 194) | static public bool checkType(IntPtr l, int p, out long v)
method pushValue (line 204) | public static void pushValue(IntPtr l, long i)
method checkType (line 216) | static public bool checkType(IntPtr l, int p, out ulong v)
method pushValue (line 226) | public static void pushValue(IntPtr l, ulong o)
method checkType (line 241) | public static bool checkType(IntPtr l, int p, out float v)
method pushValue (line 247) | public static void pushValue(IntPtr l, float o)
method checkType (line 255) | static public bool checkType(IntPtr l, int p, out double v)
method pushValue (line 261) | public static void pushValue(IntPtr l, double d)
method checkType (line 270) | static public bool checkType(IntPtr l, int p, out bool v)
method pushValue (line 277) | public static void pushValue(IntPtr l, bool b)
method checkType (line 285) | static public bool checkType(IntPtr l, int p, out string v)
method checkBinaryString (line 306) | static public bool checkBinaryString(IntPtr l,int p,out byte[] bytes){
method pushValue (line 315) | public static void pushValue(IntPtr l, string s)
method checkType (line 324) | static public bool checkType(IntPtr l, int p, out IntPtr v)
method checkType (line 332) | static public bool checkType(IntPtr l, int p, out LuaDelegate f)
method checkType (line 361) | static public bool checkType(IntPtr l, int p, out LuaThread lt)
method checkType (line 375) | static public bool checkType(IntPtr l, int p, out LuaFunction f)
method checkType (line 389) | static public bool checkType(IntPtr l, int p, out LuaTable t)
method pushValue (line 403) | public static void pushValue(IntPtr l, LuaCSFunction f)
method pushValue (line 408) | public static void pushValue(IntPtr l, LuaTable t)
method FindType (line 420) | public static Type FindType(string qualifiedTypeName)
method checkType (line 443) | static public bool checkType(IntPtr l, int p, out Type t)
method checkValueType (line 493) | static public bool checkValueType<T>(IntPtr l, int p, out T v) where T...
method checkNullable (line 500) | static public bool checkNullable<T>(IntPtr l, int p, out Nullable<T> v...
method checkType (line 514) | static public bool checkType<T>(IntPtr l, int p, out T o) where T:class
FILE: Assets/Plugins/Slua_Managed/LuaObject_overload.cs
class LuaObject (line 34) | public partial class LuaObject
method checkType (line 37) | static public bool checkType(IntPtr l, int p, out Vector4 v)
method checkType (line 47) | static public bool checkType(IntPtr l, int p, out Vector3 v)
method checkType (line 56) | static public bool checkType(IntPtr l, int p, out Vector2 v)
method checkType (line 65) | static public bool checkType(IntPtr l, int p, out Quaternion q)
method checkType (line 74) | static public bool checkType(IntPtr l, int p, out Color c)
method checkType (line 91) | static public bool checkType(IntPtr l, int p, out LayerMask lm)
method checkParams (line 99) | static public bool checkParams(IntPtr l, int p, out Vector2[] pars)
method pushValue (line 115) | public static void pushValue(IntPtr l, RaycastHit2D r)
method pushValue (line 120) | public static void pushValue(IntPtr l, RaycastHit r)
method pushValue (line 125) | public static void pushValue(IntPtr l, UnityEngine.AnimationState o)
method pushValue (line 133) | public static void pushValue(IntPtr l, UnityEngine.Object o)
method pushValue (line 141) | public static void pushValue(IntPtr l, Quaternion o)
method pushValue (line 146) | public static void pushValue(IntPtr l, Vector2 o)
method pushValue (line 153) | public static void pushValue(IntPtr l, Vector3 o)
method pushValue (line 160) | public static void pushValue(IntPtr l, Vector4 o)
method pushValue (line 165) | public static void pushValue(IntPtr l, Color o)
method pushValue (line 170) | public static void pushValue(IntPtr l, Color32 c32) {
FILE: Assets/Plugins/Slua_Managed/LuaState.cs
class LuaVar (line 36) | abstract public class LuaVar : IDisposable
method LuaVar (line 59) | public LuaVar()
method LuaVar (line 64) | public LuaVar(LuaState l, int r)
method LuaVar (line 70) | public LuaVar(IntPtr l, int r)
method Dispose (line 81) | public void Dispose()
method Dispose (line 87) | public virtual void Dispose(bool disposeManagedResources)
method push (line 100) | public void push(IntPtr l)
method GetHashCode (line 105) | public override int GetHashCode()
method Equals (line 110) | public override bool Equals(object obj)
method Equals (line 135) | static int Equals(LuaVar x, LuaVar y)
class LuaThread (line 145) | public class LuaThread : LuaVar
method LuaThread (line 147) | public LuaThread(IntPtr l, int r)
class LuaDelegate (line 152) | public class LuaDelegate : LuaFunction
method LuaDelegate (line 156) | public LuaDelegate(IntPtr l, int r)
method Dispose (line 161) | public override void Dispose(bool disposeManagedResources)
class LuaFunction (line 178) | public class LuaFunction : LuaVar
method LuaFunction (line 180) | public LuaFunction(LuaState l, int r)
method LuaFunction (line 185) | public LuaFunction(IntPtr l, int r)
method pcall (line 190) | public bool pcall(int nArgs, int errfunc)
method innerCall (line 216) | bool innerCall(int nArgs, int errfunc)
method call (line 224) | public object call()
method call (line 234) | public object call(params object[] args)
method call (line 251) | public object call(object a1)
method call (line 265) | public object call(LuaTable self, params object[] args)
method call (line 284) | public object call(object a1, object a2)
method call (line 297) | public object call(object a1, object a2, object a3)
class LuaTable (line 317) | public class LuaTable : LuaVar, IEnumerable<LuaTable.TablePair>
type TablePair (line 321) | public struct TablePair
method LuaTable (line 326) | public LuaTable(IntPtr l, int r)
method LuaTable (line 331) | public LuaTable(LuaState l, int r)
method LuaTable (line 336) | public LuaTable(LuaState state)
method invoke (line 369) | public object invoke(string func, params object[] args)
method length (line 379) | public int length()
class Enumerator (line 388) | public class Enumerator : IEnumerator<TablePair>, IDisposable
method Enumerator (line 395) | public Enumerator(LuaTable table)
method MoveNext (line 401) | public bool MoveNext()
method Reset (line 420) | public void Reset()
method Dispose (line 426) | public void Dispose()
method GetEnumerator (line 453) | public IEnumerator<TablePair> GetEnumerator()
method GetEnumerator (line 458) | IEnumerator IEnumerable.GetEnumerator()
class LuaState (line 469) | public class LuaState : IDisposable
type UnrefPair (line 517) | struct UnrefPair
method isMainThread (line 532) | public bool isMainThread()
method get (line 537) | static public LuaState get(IntPtr l)
method LuaState (line 564) | public LuaState()
method init (line 598) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method Close (line 662) | public void Close()
method Dispose (line 686) | public void Dispose()
method Dispose (line 693) | public virtual void Dispose(bool dispose)
method errorReport (line 701) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method import (line 722) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method pcall (line 769) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method pcall (line 784) | internal static void pcall(IntPtr l, LuaCSFunction f)
method print (line 795) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method loadfile (line 826) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method dofile (line 839) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method panicCallback (line 863) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method pushcsfunction (line 870) | static public void pushcsfunction(IntPtr L, LuaCSFunction function)
method doString (line 877) | public object doString(string str)
method doString (line 887) | public object doString(string str, string chunkname)
method loader (line 897) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method doFile (line 921) | public object doFile(string fn)
method CleanUTF8Bom (line 941) | public static byte[] CleanUTF8Bom(byte[] bytes)
method doBuffer (line 952) | public bool doBuffer(byte[] bytes, string fn, out object ret)
method loadFile (line 974) | internal static byte[] loadFile(string fn)
method getObject (line 1002) | internal object getObject(string key)
method setObject (line 1010) | internal void setObject(string key, object v)
method getObject (line 1017) | internal object getObject(string[] remainingPath)
method getObject (line 1032) | internal object getObject(int reference, string field)
method getObject (line 1041) | internal object getObject(int reference, int index)
method getObject (line 1059) | internal object getObject(int reference, object field)
method setObject (line 1070) | internal void setObject(string[] remainingPath, object o)
method setObject (line 1085) | internal void setObject(int reference, string field, object o)
method setObject (line 1093) | internal void setObject(int reference, int index, object o)
method setObject (line 1109) | internal void setObject(int reference, object field, object o)
method topObjects (line 1119) | internal object topObjects(int from)
method getObject (line 1144) | object getObject(IntPtr l, int p)
method getFunction (line 1150) | public LuaFunction getFunction(string key)
method getTable (line 1155) | public LuaTable getTable(string key)
method gcRef (line 1173) | public void gcRef(UnRefAction act, int r)
method checkRef (line 1184) | public void checkRef()
FILE: Assets/Plugins/Slua_Managed/LuaSvr.cs
type LuaSvrFlag (line 39) | public enum LuaSvrFlag {
class LuaSvr (line 45) | public class LuaSvr
method LuaSvr (line 54) | public LuaSvr()
method collectBindInfo (line 60) | List<Action<IntPtr>> collectBindInfo() {
method doBind (line 119) | protected void doBind(IntPtr L)
method doBind (line 133) | private IEnumerator doBind(IntPtr L,Action<int> _tick,Action complete)
method getBindList (line 162) | Action<IntPtr>[] getBindList(Assembly assembly,string ns) {
method doinit (line 169) | protected void doinit(IntPtr L,LuaSvrFlag flag)
FILE: Assets/Plugins/Slua_Managed/LuaSvrGameObject.cs
class LuaSvrGameObject (line 34) | public class LuaSvrGameObject : MonoBehaviour
method OnDestroy (line 40) | void OnDestroy()
method init (line 50) | public void init() {
method Update (line 55) | void Update()
FILE: Assets/Plugins/Slua_Managed/LuaValueType.cs
class LuaValueType (line 26) | class LuaValueType : LuaObject
method reg (line 1086) | public static void reg(IntPtr l)
FILE: Assets/Plugins/Slua_Managed/LuaVarObject.cs
class LuaVarObject (line 34) | class LuaVarObject : LuaObject
class MethodWrapper (line 42) | class MethodWrapper
method MethodWrapper (line 46) | public MethodWrapper(object self, IList<MemberInfo> mi)
method matchType (line 52) | bool matchType(IntPtr l, int p, LuaTypes lt, Type t)
method checkVar (line 74) | object checkVar(IntPtr l, int p, Type t)
method matchType (line 121) | internal bool matchType(IntPtr l, int from, ParameterInfo[] pis, boo...
method invoke (line 139) | public int invoke(IntPtr l)
method forceInvoke (line 160) | private int forceInvoke(IntPtr l, MethodInfo m)
method checkArgs (line 183) | public void checkArgs(IntPtr l, int from, MethodInfo m, out object[]...
method luaIndex (line 200) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method indexObject (line 225) | static int indexObject(IntPtr l, object self, object key)
method getType (line 241) | static Type getType(object o)
method indexString (line 248) | static int indexString(IntPtr l, object self, string key)
method CollectTypeMembers (line 308) | static void CollectTypeMembers(Type type, ref Dictionary<string, List<...
method GetCacheMembers (line 333) | static IList<MemberInfo> GetCacheMembers(Type type, string key)
method newindexString (line 345) | static int newindexString(IntPtr l, object self, string key)
method indexInt (line 395) | static int indexInt(IntPtr l, object self, int index)
method newindexInt (line 430) | static int newindexInt(IntPtr l, object self, int index)
method newindexObject (line 462) | static int newindexObject(IntPtr l, object self, object k, object v)
method luaNewIndex (line 477) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method methodWrapper (line 502) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method init (line 517) | static new public void init(IntPtr l)
class LuaClassObject (line 535) | class LuaClassObject
method LuaClassObject (line 539) | public LuaClassObject(Type t)
method GetClsType (line 544) | public Type GetClsType()
FILE: Assets/Plugins/Slua_Managed/ObjectCache.cs
class ObjectCache (line 32) | public class ObjectCache
method get (line 39) | public static ObjectCache get(IntPtr l)
class ObjSlot (line 65) | class ObjSlot
method ObjSlot (line 69) | public ObjSlot(int slot, object o)
class FreeList (line 77) | class FreeList : List<ObjSlot>
method FreeList (line 79) | public FreeList()
method add (line 84) | public int add(object o)
method del (line 102) | public void del(int i)
method get (line 110) | public bool get(int i, out object o)
method get (line 122) | public object get(int i)
method set (line 130) | public void set(int i, object o)
method add (line 140) | public int add(object o)
method del (line 146) | public void del(int i)
method get (line 151) | public bool get(int i, out object o)
method get (line 156) | public object get(int i)
method set (line 164) | public void set(int i, object o)
class FreeList (line 137) | class FreeList : Dictionary<int, object>
method FreeList (line 79) | public FreeList()
method add (line 84) | public int add(object o)
method del (line 102) | public void del(int i)
method get (line 110) | public bool get(int i, out object o)
method get (line 122) | public object get(int i)
method set (line 130) | public void set(int i, object o)
method add (line 140) | public int add(object o)
method del (line 146) | public void del(int i)
method get (line 151) | public bool get(int i, out object o)
method get (line 156) | public object get(int i)
method set (line 164) | public void set(int i, object o)
class ObjEqualityComparer (line 173) | public class ObjEqualityComparer : IEqualityComparer<object>
method Equals (line 175) | public new bool Equals(object x, object y)
method GetHashCode (line 181) | public int GetHashCode(object obj)
method ObjectCache (line 191) | public ObjectCache(IntPtr l)
method clear (line 202) | static public void clear()
method del (line 209) | internal static void del(IntPtr l)
method make (line 214) | internal static void make(IntPtr l)
method size (line 222) | public int size()
method gc (line 227) | internal void gc(int index)
method gc (line 241) | internal void gc(UnityEngine.Object o)
method add (line 252) | internal int add(object o)
method get (line 262) | internal object get(IntPtr l, int p)
method setBack (line 275) | internal void setBack(IntPtr l, int p, object o)
method push (line 286) | internal void push(IntPtr l, object o)
method push (line 291) | internal void push(IntPtr l, Array o)
method allocID (line 300) | internal int allocID(IntPtr l,object o) {
method push (line 322) | internal void push(IntPtr l, object o, bool checkReflect)
method getAQName (line 344) | static string getAQName(object o)
method getAQName (line 350) | internal static string getAQName(Type t)
method isGcObject (line 363) | bool isGcObject(object obj)
FILE: Assets/Plugins/Slua_Managed/SLuaSetting.cs
type EOL (line 32) | public enum EOL{
class SLuaSetting (line 39) | public class SLuaSetting
method Open (line 73) | [MenuItem("SLua/Setting")]
FILE: Assets/Plugins/Slua_Managed/Timer.cs
class LuaTimer (line 28) | public class LuaTimer : LuaObject
class Timer (line 30) | class Timer
class Wheel (line 39) | class Wheel
method Wheel (line 47) | internal Wheel(int dialSize)
method nextDial (line 58) | internal LinkedList<Timer> nextDial()
method add (line 62) | internal void add(int delay, Timer tm)
method intpow (line 78) | static int intpow(int n, int m)
method innerAdd (line 86) | static void innerAdd(int deadline, Timer tm)
method innerDel (line 103) | static void innerDel(Timer tm)
method innerDel (line 108) | static void innerDel(Timer tm,bool removeFromMap)
method now (line 119) | static int now()
method tick (line 124) | internal static void tick(float deltaTime)
method init (line 194) | static void init()
method fetchSn (line 209) | static int fetchSn()
method add (line 214) | internal static int add(int delay, Action<int> handler)
method add (line 223) | internal static int add(int delay, int cycle, Func<int, bool> handler)
method del (line 234) | internal static void del(int sn)
method Delete (line 243) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method Add (line 257) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method DeleteAll (line 324) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method reg (line 346) | static public void reg(IntPtr l)
FILE: Assets/Plugins/Slua_Managed/WeakDictionary.cs
class WeakDictionary (line 30) | public class WeakDictionary<K, V>
method Add (line 71) | void Add(K key, V value)
method ContainsKey (line 87) | bool ContainsKey(K key)
method Remove (line 91) | bool Remove(K key)
method TryGetValue (line 95) | bool TryGetValue(K key, out V value)
FILE: Assets/Slua/Editor/CustomEditor.cs
class LuaSvrEditor (line 29) | [CustomEditor(typeof(LuaSvrGameObject))]
method OnInspectorGUI (line 32) | public override void OnInspectorGUI()
FILE: Assets/Slua/Editor/CustomExport.cs
class CustomExport (line 28) | public class CustomExport
method OnGetAssemblyToGenerateExtensionMethod (line 30) | public static void OnGetAssemblyToGenerateExtensionMethod(out List<str...
method OnAddCustomClass (line 36) | public static void OnAddCustomClass(LuaCodeGen.ExportGenericDelegate add)
method OnAddCustomAssembly (line 53) | public static void OnAddCustomAssembly(ref List<string> list)
method OnAddCustomNamespace (line 62) | public static HashSet<string> OnAddCustomNamespace()
method OnGetUseList (line 71) | public static void OnGetUseList(out List<string> list)
method OnGetNoUseList (line 85) | public static void OnGetNoUseList(out List<string> list)
FILE: Assets/Slua/Editor/LuaCodeGen.cs
type ICustomExportPost (line 37) | public interface ICustomExportPost { }
class LuaCodeGen (line 40) | public class LuaCodeGen : MonoBehaviour
class Startup (line 57) | [InitializeOnLoad]
method Startup (line 61) | static Startup()
method Update (line 76) | static void Update(){
method GenerateAll (line 108) | [MenuItem("SLua/All/Make")]
method filterType (line 121) | static bool filterType(Type t, List<string> noUseList, List<string> us...
method Generate (line 148) | [MenuItem("SLua/Unity/Make UnityEngine")]
method GenerateUI (line 154) | [MenuItem("SLua/Unity/Make UnityEngine.UI")]
method GenerateAds (line 160) | [MenuItem("SLua/Unity/Make UnityEngine.Advertisements")]
method GenerateFor (line 166) | static public void GenerateFor(string asemblyName, string genAtPath, i...
method FixPathName (line 228) | static String FixPathName(string path) {
method ClearUnity (line 235) | [MenuItem("SLua/Unity/Clear Unity and UI")]
method Custom (line 242) | [MenuItem("SLua/Custom/Make")]
method InvokeEditorMethod (line 317) | static public List<object> InvokeEditorMethod<T>(string methodName, re...
method GetEditorField (line 341) | static public List<object> GetEditorField<T>(string strFieldName)
method Generate3rdDll (line 365) | [MenuItem("SLua/3rdDll/Make")]
method Clear3rdDll (line 408) | [MenuItem("SLua/3rdDll/Clear")]
method ClearCustom (line 414) | [MenuItem("SLua/Custom/Clear")]
method ClearALL (line 421) | [MenuItem("SLua/All/Clear")]
method CompileDLL (line 428) | [MenuItem("SLua/Compile LuaObject To DLL")]
method clear (line 571) | static void clear(string[] paths)
method Generate (line 589) | static bool Generate(Type t, string path)
method Generate (line 594) | static bool Generate(Type t, string ns, string path)
method GenerateBind (line 605) | static void GenerateBind(List<Type> list, string name, int order,strin...
class CodeGenerator (line 617) | class CodeGenerator
method FilterSpecMethods (line 665) | static void FilterSpecMethods(out Dictionary<Type,List<MethodInfo>> di...
method IsExtensionMethod (line 722) | static bool IsExtensionMethod(MethodBase method){
method CodeGenerator (line 731) | static CodeGenerator(){
class PropPair (line 743) | class PropPair
method GenerateBind (line 753) | public void GenerateBind(List<Type> list, string name, int order)
method WriteBindType (line 778) | void WriteBindType(StreamWriter file, Type t, List<Type> exported, Has...
method DelegateExportFilename (line 788) | public string DelegateExportFilename(string path, Type t)
method Generate (line 803) | public bool Generate(Type t)
method WriteDelegate (line 873) | void WriteDelegate(Type t, StreamWriter file)
method ArgsList (line 960) | string ArgsList(MethodInfo m, ref List<int> outindex, ref List<int> re...
method tryMake (line 990) | void tryMake(Type t)
method WriteEvent (line 1003) | void WriteEvent(Type t, StreamWriter file)
method GenericCallDecl (line 1110) | string GenericCallDecl(Type t) {
method GetCheckType (line 1136) | string GetCheckType(Type t, int n, string v = "v", string prefix = "")
method PushValues (line 1163) | string PushValues(Type t) {
method ArgsDecl (line 1181) | string ArgsDecl(Type t)
method RegEnumFunction (line 1204) | void RegEnumFunction(Type t, StreamWriter file)
method Begin (line 1220) | StreamWriter Begin(Type t)
method End (line 1229) | private void End(StreamWriter file)
method WriteHead (line 1236) | private void WriteHead(Type t, StreamWriter file)
method WriteExtraNamespace (line 1253) | void WriteExtraNamespace(StreamWriter file,Type t, HashSet<string> nss...
method WriteFunction (line 1266) | private void WriteFunction(Type t, StreamWriter file, bool writeStatic...
method isPInvoke (line 1308) | bool isPInvoke(MethodInfo mi, out bool instanceFunc)
method staticName (line 1319) | string staticName(string name)
method MemberInFilter (line 1327) | bool MemberInFilter(Type t, MemberInfo mi)
method IsObsolete (line 1332) | bool IsObsolete(MemberInfo t)
method hasOverloadedVersion (line 1354) | bool hasOverloadedVersion(Type t,ref string f) {
method RegFunction (line 1366) | void RegFunction(Type t, StreamWriter file)
method constructorOrNot (line 1412) | string constructorOrNot(Type t)
method CutBase (line 1420) | bool CutBase(Type t)
method WriteSet (line 1427) | void WriteSet(StreamWriter file, Type t, string cls, string fn, bool i...
method NormalName (line 1463) | static string NormalName(string name)
method WriteField (line 1472) | private void WriteField(Type t, StreamWriter file)
method WriteItemFunc (line 1634) | void WriteItemFunc(Type t, StreamWriter file, List<PropertyInfo> gette...
method WriteTry (line 1724) | void WriteTry(StreamWriter file)
method WriteCatchExecption (line 1729) | void WriteCatchExecption(StreamWriter file)
method WriteCheckType (line 1737) | void WriteCheckType(StreamWriter file, Type t, int n, string v = "v", ...
method WriteValueCheck (line 1754) | void WriteValueCheck(StreamWriter file, Type t, int n, string v = "v",...
method WriteFunctionAttr (line 1760) | private void WriteFunctionAttr(StreamWriter file)
method GetValidConstructor (line 1768) | ConstructorInfo[] GetValidConstructor(Type t)
method ContainUnsafe (line 1787) | bool ContainUnsafe(MethodBase mi)
method DontExport (line 1797) | bool DontExport(MemberInfo mi)
method WriteConstructor (line 1825) | private void WriteConstructor(Type t, StreamWriter file)
method WriteOk (line 1899) | void WriteOk(StreamWriter file)
method WriteBad (line 1903) | void WriteBad(StreamWriter file)
method WriteError (line 1908) | void WriteError(StreamWriter file, string err)
method WriteReturn (line 1915) | void WriteReturn(StreamWriter file, string val)
method IsNotSupport (line 1922) | bool IsNotSupport(Type t)
method RemoveRef (line 1930) | string RemoveRef(string s, bool removearray = true)
method GenericBaseName (line 1948) | string GenericBaseName(Type t)
method GenericName (line 1957) | string GenericName(Type t,string sep="_")
method _Name (line 1979) | string _Name(string n)
method TypeDecl (line 1992) | string TypeDecl(ParameterInfo[] pars,int paraOffset = 0)
method MethodDecl (line 2008) | string MethodDecl(MethodInfo m)
method tryFixGenericMethod (line 2030) | static MethodInfo tryFixGenericMethod(MethodInfo method)
method isUsefullMethod (line 2056) | bool isUsefullMethod(MethodInfo method)
method WriteFunctionDec (line 2074) | void WriteFunctionDec(StreamWriter file, string name)
method GetMethods (line 2081) | MethodBase[] GetMethods(Type t, string name, BindingFlags bf)
method WriteNotMatch (line 2118) | void WriteNotMatch(StreamWriter file,string fn) {
method WriteFunctionImpl (line 2122) | void WriteFunctionImpl(StreamWriter file, MethodInfo m, Type t, Bindin...
method WriteOverridedMethod (line 2186) | void WriteOverridedMethod(StreamWriter file,Dictionary<string,MethodIn...
method WriteSimpleFunction (line 2198) | void WriteSimpleFunction(StreamWriter file,string fn,MethodInfo mi,Typ...
method GetMethodArgc (line 2206) | int GetMethodArgc(MethodBase mi)
method isUniqueArgsCount (line 2214) | bool isUniqueArgsCount(MethodBase[] cons, MethodBase mi)
method WriteCheckSelf (line 2228) | void WriteCheckSelf(StreamWriter file, Type t)
method WriteFunctionCall (line 2243) | private void WriteFunctionCall(MethodInfo m, StreamWriter file, Type t...
method SimpleType (line 2346) | string SimpleType(Type t)
method WritePushValue (line 2372) | void WritePushValue(Type t, StreamWriter file)
method WritePushValue (line 2380) | void WritePushValue(Type t, StreamWriter file, string ret)
method Write (line 2389) | void Write(StreamWriter file, string fmt, params object[] args)
method CheckArgument (line 2411) | private void CheckArgument(StreamWriter file, Type t, int n, int argst...
method IsValueType (line 2444) | bool IsValueType(Type t)
method IsBaseType (line 2449) | bool IsBaseType(Type t)
method FullName (line 2457) | string FullName(string str)
method TypeDecl (line 2466) | string TypeDecl(Type t)
method ExportName (line 2495) | string ExportName(Type t)
method FullName (line 2509) | string FullName(Type t)
method FuncCall (line 2519) | string FuncCall(MethodBase m,int parOffset = 0)
FILE: Assets/Slua/Source/LuaThreadWrapper.cs
class LuaThreadWrapper (line 8) | public class LuaThreadWrapper : LuaVar
method LuaThreadWrapper (line 12) | public LuaThreadWrapper(LuaFunction func)
method Dispose (line 30) | public override void Dispose(bool disposeManagedResources)
method EqualsTo (line 36) | public bool EqualsTo(IntPtr L)
method TopObjects (line 41) | private object TopObjects(int nArgs)
method Resume (line 62) | public bool Resume(out object retVal)
FILE: Assets/Slua/Source/UnityExtension.cs
class UnityExtension (line 8) | public static class UnityExtension
method StartCoroutine (line 10) | public static void StartCoroutine(this MonoBehaviour mb, LuaFunction f...
method LuaCoroutine (line 15) | internal static IEnumerator LuaCoroutine(LuaFunction func)
FILE: Assets/Slua/example/Circle.cs
class Circle (line 5) | public class Circle : MonoBehaviour {
method Start (line 11) | void Start () {
method Update (line 20) | void Update () {
FILE: Assets/Slua/example/Custom.cs
class Custom (line 7) | [CustomLuaClassAttribute]
method Start (line 15) | void Start()
method Update (line 26) | void Update()
method instanceCustom (line 32) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method staticCustom (line 44) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
method getTypeName (line 69) | public string getTypeName(Type t)
class MyGameObject (line 78) | [OverloadLuaClass(typeof(GameObject))]
method Find_s (line 80) | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
FILE: Assets/Slua/example/Deleg.cs
class Deleg (line 7) | [CustomLuaClassAttribute]
method Start (line 32) | void Start()
method callD (line 40) | static public void callD()
method setcallback2 (line 53) | static public void setcallback2(Action<int> a, Action<string> b)
method testFunc (line 59) | public static void testFunc(Func<int> f)
method testAction (line 64) | public static void testAction(Action<int, string> f)
method testDAction (line 69) | public static void testDAction(Action<int, Dictionary<int, object>> f)
method callDAction (line 75) | public static void callDAction()
method getFunc (line 83) | public static Func<int, string, bool> getFunc(Func<int, string, bool> f)
FILE: Assets/Slua/example/HelloWorld.cs
type foostruct (line 11) | [CustomLuaClass]
class FloatEvent (line 18) | [CustomLuaClass]
method FloatEvent (line 21) | public FloatEvent() { }
class ListViewEvent (line 24) | [CustomLuaClass]
class SLuaTest (line 29) | [CustomLuaClass]
class XXList (line 34) | [CustomLuaClass]
class AbsClass (line 37) | [CustomLuaClass]
method AbsClass (line 41) | public AbsClass() {
class Ref (line 48) | public class Ref
class HelloWorld (line 63) | [CustomLuaClass]
method say (line 69) | static public void say()
method bytes (line 74) | static public byte[] bytes()
method int16Array (line 79) | static public void int16Array(Int16[] array) {
method vectors (line 85) | static public Vector3[] vectors()
method nullf (line 90) | static public void nullf(int? a=null) {
method y (line 97) | public IEnumerator y()
method foo (line 105) | public Dictionary<string, GameObject> foo()
method foos (line 110) | public Dictionary<string, GameObject>[] foos()
method gos (line 115) | public int gos(Dictionary<string, GameObject>[] x)
method too (line 120) | public Dictionary<GameObject, string> too()
method getList (line 125) | public List<GameObject> getList()
method setv (line 130) | static public void setv(LuaTable t)
method getv (line 151) | static public LuaTable getv()
method ofunc (line 191) | static public void ofunc(Type t)
method ofunc (line 196) | static public void ofunc(GameObject go)
method AFunc (line 201) | static public void AFunc(int a) {
method AFunc (line 205) | static public void AFunc(float a) {
method AFunc (line 209) | static public void AFunc(string a) {
method AFunc (line 213) | [LuaOverride("AFuncByDouble")]
method generic (line 223) | public void generic<T>()
method perf (line 228) | public void perf()
method testvec3 (line 239) | static public void testvec3(Vector3 v)
method testset (line 244) | static public void testset(GameObject go)
method test2 (line 253) | static public void test2(GameObject go)
method test3 (line 262) | static public void test3(GameObject go)
method test4 (line 271) | static public void test4(GameObject go)
method test5 (line 281) | static public Vector3 test5(GameObject go)
method func6 (line 292) | static public void func6(string str, params object[] args)
method func7 (line 302) | public void func7(LuaFunction func)
method func7 (line 308) | public void func7(int a)
method dontexport (line 313) | [DoNotToLua]
method func8 (line 333) | public void func8(List<int> result)
class ExtensionTest (line 339) | public static class ExtensionTest
method func8 (line 342) | public static List<int> func8(this HelloWorld helloWorld)
FILE: Assets/Slua/example/Main.cs
class Main (line 7) | public class Main : MonoBehaviour
method Start (line 14) | void Start()
method log (line 26) | void log(string cond, string trace, LogType lt)
method tick (line 32) | void tick(int p)
method complete (line 37) | void complete()
method OnGUI (line 49) | void OnGUI()
FILE: Assets/Slua/example/NewCoroutine.cs
class NewCoroutine (line 5) | [CustomLuaClass]
method MyMethod (line 8) | public static IEnumerator MyMethod(string test, float time, LuaFunctio...
method Start (line 15) | void Start () {
FILE: Assets/Slua/example/Perf.cs
class Perf (line 4) | public class Perf : MonoBehaviour
method Start (line 9) | void Start()
method log (line 32) | void log(string cond, string trace, LogType lt)
method OnGUI (line 38) | void OnGUI()
FILE: Assets/Slua/example/ValueType.cs
class ValueType (line 5) | public class ValueType : MonoBehaviour {
method Start (line 9) | void Start () {
method Update (line 18) | void Update () {
FILE: Assets/Slua/example/VarObj.cs
class VarObj (line 4) | public class VarObj : MonoBehaviour
method Start (line 9) | void Start()
FILE: Assets/Slua/example/test/TestLua.cs
class parameter (line 48) | public class parameter
class UnicodeClass (line 53) | public class UnicodeClass{
class master (line 64) | #if MONOTOUCH
method read (line 69) | public static string read()
method read (line 74) | public static string read( parameter test )
class testClass3 (line 80) | #if MONOTOUCH
method read2 (line 87) | public static string read2()
method read (line 92) | public static string read( int test )
class TestCaseName (line 98) | #if MONOTOUCH
class Vector (line 112) | #if MONOTOUCH
method Func (line 135) | public void Func ()
class VectorExtension (line 141) | public static class VectorExtension
method Length (line 143) | public static double Length (this Vector v)
class DefaultElementModel (line 149) | public class DefaultElementModel
type ITest (line 277) | public interface ITest
method test1 (line 289) | int test1 (int a, int b);
method test2 (line 291) | int test2 (int a, out int b);
method test3 (line 293) | void test3 (int a, ref int b);
method test4 (line 295) | TestClass test4 (int a, int b);
method test5 (line 297) | int test5 (TestClass a, TestClass b);
method test6 (line 299) | int test6 (int a, out TestClass b);
method test7 (line 301) | void test7 (int a, ref TestClass b);
type IFoo1 (line 304) | public interface IFoo1
method foo (line 306) | int foo ();
type IFoo2 (line 309) | public interface IFoo2
method foo (line 311) | int foo ();
class MyClass (line 314) | class MyClass
method Func1 (line 316) | public int Func1 ()
class DoWorkClass (line 325) | class DoWorkClass
method DoWork (line 328) | public void DoWork ()
type TestStruct (line 341) | public struct TestStruct
method TestStruct (line 343) | public TestStruct(float val)
type TestEnum (line 360) | public enum TestEnum
class TestClassGeneric (line 370) | public class TestClassGeneric<T>
method GenericMethod (line 385) | public void GenericMethod (T value)
method RegularMethod (line 391) | public void RegularMethod ()
method Validate (line 401) | public bool Validate (T value)
class TestClassWithGenericMethod (line 410) | public class TestClassWithGenericMethod
method GenericMethod (line 424) | public void GenericMethod<T> (T value)
method Validate (line 430) | internal bool Validate<T> (T value)
class TestClass2 (line 436) | public class TestClass2
method func (line 438) | public static int func (int x, int y)
method funcInstance (line 443) | public int funcInstance (int x, int y)
class TestClass (line 453) | public class TestClass : IFoo1, IFoo2
method TestClass (line 458) | public TestClass ()
method TestClass (line 463) | public TestClass (int val)
method TestClass (line 468) | public TestClass (string val)
method makeFromString (line 473) | public static TestClass makeFromString (String str)
method TestLuaFunction (line 530) | public object TestLuaFunction (LuaFunction func)
method sum (line 538) | public int sum (int x, int y)
method setVal (line 543) | public void setVal (int newVal)
method setVal (line 548) | public void setVal (string newVal)
method getVal (line 553) | public int getVal ()
method getStrVal (line 558) | public string getStrVal ()
method outVal (line 563) | public int outVal (out int val)
method outVal (line 569) | public int outVal (out int val, int val2)
method outVal (line 575) | public int outVal (int val, ref int val2)
method outValMutiple (line 581) | public int outValMutiple (int arg, out string arg2, out string arg3)
method callDelegate1 (line 589) | public int callDelegate1 (TestDelegate1 del)
method callDelegate2 (line 594) | public int callDelegate2 (TestDelegate2 del)
method callDelegate3 (line 601) | public int callDelegate3 (TestDelegate3 del)
method callDelegate4 (line 609) | public int callDelegate4 (TestDelegate4 del)
method callDelegate5 (line 614) | public int callDelegate5 (TestDelegate5 del)
method callDelegate6 (line 619) | public int callDelegate6 (TestDelegate6 del)
method callDelegate7 (line 626) | public int callDelegate7 (TestDelegate7 del)
method callInterface1 (line 633) | public int callInterface1 (ITest itest)
method callInterface2 (line 638) | public int callInterface2 (ITest itest)
method callInterface3 (line 645) | public int callInterface3 (ITest itest)
method callInterface4 (line 653) | public int callInterface4 (ITest itest)
method callInterface5 (line 658) | public int callInterface5 (ITest itest)
method callInterface6 (line 663) | public int callInterface6 (ITest itest)
method callInterface7 (line 670) | public int callInterface7 (ITest itest)
method callInterface8 (line 677) | public int callInterface8 (ITest itest)
method callInterface9 (line 683) | public int callInterface9 (ITest itest)
method exceptionMethod (line 689) | public void exceptionMethod ()
method overridableMethod (line 694) | public virtual int overridableMethod (int x, int y)
method callOverridable (line 699) | public static int callOverridable (TestClass test, int x, int y)
method foo (line 704) | int IFoo1.foo ()
method foo (line 709) | public int foo ()
method _PrivateMethod (line 714) | private void _PrivateMethod ()
method MethodOverload (line 719) | public int MethodOverload ()
method MethodOverload (line 725) | public int MethodOverload (TestClass testClass)
method MethodOverload (line 731) | public int MethodOverload (Type type)
method MethodOverload (line 737) | public int MethodOverload (int i, int j, int k)
method MethodOverload (line 743) | public int MethodOverload (int i, int j, out int k)
method Print (line 750) | public void Print(object format,params object[] args)
method MethodWithParams (line 761) | static public int MethodWithParams (int a, params int[] others) {
method TestType (line 771) | public bool TestType(Type t)
class TestClassWithOverloadedMethod (line 777) | public class TestClassWithOverloadedMethod
method Func (line 781) | public void Func (string param)
method Func (line 786) | public void Func (int param)
FILE: Assets/Slua/example/test/test.cs
class Assert (line 46) | class Assert{
method True (line 47) | public static void True(bool v)
method IsTrue (line 51) | public static void IsTrue(bool v)
method AreEqual (line 58) | public static void AreEqual(object a, object b, string extra = "")
method AreNotEqual (line 65) | public static void AreNotEqual(object a, object b)
class test (line 72) | public class test : MonoBehaviour {
method Start (line 75) | void Start()
class LuaTests (line 107) | public class LuaTests
method ThrowException (line 114) | public void ThrowException ()
method CallLuaFunction (line 129) | public void CallLuaFunction()
method TestStructs (line 176) | public void TestStructs ()
method TestStructHashesEqual (line 196) | public void TestStructHashesEqual()
method TestEnumEqual (line 205) | public void TestEnumEqual()
method TestMethodOverloads (line 214) | public void TestMethodOverloads ()
method TestDispose (line 235) | public void TestDispose ()
method _Calc (line 249) | private void _Calc (LuaState lua, int i)
method _TestException (line 366) | private float _TestException (float val, float val2)
method TestExceptionWithChunkOverload (line 426) | public void TestExceptionWithChunkOverload ()
method TestMultipleOutParameters (line 495) | public void TestMultipleOutParameters ()
method DoString (line 566) | public void DoString ()
method GetGlobalNumber (line 577) | public void GetGlobalNumber ()
method SetGlobalNumber (line 586) | public void SetGlobalNumber ()
method GetNumberInTable (line 596) | public void GetNumberInTable ()
method SetNumberInTable (line 607) | public void SetNumberInTable ()
method GetGlobalString (line 618) | public void GetGlobalString ()
method SetGlobalString (line 627) | public void SetGlobalString ()
method GetStringInTable (line 638) | public void GetStringInTable ()
method SetStringInTable (line 649) | public void SetStringInTable ()
method GetAndSetTable (line 659) | public void GetAndSetTable ()
method GetTableNumericField1 (line 670) | public void GetTableNumericField1 ()
method GetTableNumericField2 (line 682) | public void GetTableNumericField2 ()
method SetTableNumericField1 (line 694) | public void SetTableNumericField1 ()
method SetTableNumericField2 (line 706) | public void SetTableNumericField2 ()
method GetTableStringField1 (line 717) | public void GetTableStringField1 ()
method GetTableStringField2 (line 729) | public void GetTableStringField2 ()
method SetTableStringField1 (line 741) | public void SetTableStringField1 ()
method SetTableStringField2 (line 753) | public void SetTableStringField2 ()
method CallGlobalFunctionNoArgs (line 764) | public void CallGlobalFunctionNoArgs ()
method CallGlobalFunctionOneArg (line 774) | public void CallGlobalFunctionOneArg ()
method CallGlobalFunctionTwoArgs (line 784) | public void CallGlobalFunctionTwoArgs ()
method CallGlobalFunctionOneReturn (line 795) | public void CallGlobalFunctionOneReturn ()
method CallGlobalFunctionTwoReturns (line 805) | public void CallGlobalFunctionTwoReturns ()
method CallTableFunctionTwoReturns (line 818) | public void CallTableFunctionTwoReturns ()
method SetGlobalObject (line 831) | public void SetGlobalObject ()
method GarbageCollection (line 846) | public void GarbageCollection()
method SetTableObjectField1 (line 867) | public void SetTableObjectField1 ()
method AccessObjectField (line 883) | public void AccessObjectField ()
method AccessObjectProperty (line 899) | public void AccessObjectProperty ()
method AccessObjectStringProperty (line 913) | public void AccessObjectStringProperty ()
method CallObjectMethod (line 930) | public void CallObjectMethod ()
method CallObjectMethodByType (line 946) | public void CallObjectMethodByType ()
method CallObjectMethodOutParam (line 959) | public void CallObjectMethodOutParam ()
method CallObjectMethodOverloadedOutParam (line 973) | public void CallObjectMethodOverloadedOutParam ()
method CallObjectMethodByRefParam (line 986) | public void CallObjectMethodByRefParam ()
method CreateNetObjectNoArgsCons (line 1012) | public void CreateNetObjectNoArgsCons ()
method CreateNetObjectOneArgCons (line 1024) | public void CreateNetObjectOneArgCons ()
method CreateNetObjectOverloadedCons (line 1035) | public void CreateNetObjectOverloadedCons ()
method ReadArrayField (line 1046) | public void ReadArrayField ()
method WriteArrayField (line 1058) | public void WriteArrayField ()
method LuaDelegateValueTypes (line 1082) | public void LuaDelegateValueTypes ()
method LuaDelegateValueTypesOutParam (line 1096) | public void LuaDelegateValueTypesOutParam ()
method LuaDelegateValueTypesByRefParam (line 1111) | public void LuaDelegateValueTypesByRefParam ()
method LuaDelegateValueTypesReturnReferenceType (line 1125) | public void LuaDelegateValueTypesReturnReferenceType ()
method LuaDelegateReferenceTypes (line 1139) | public void LuaDelegateReferenceTypes ()
method LuaDelegateReferenceTypesOutParam (line 1152) | public void LuaDelegateReferenceTypesOutParam ()
method LuaDelegateReferenceTypesByRefParam (line 1166) | public void LuaDelegateReferenceTypesByRefParam ()
method TestVarargs (line 1659) | public void TestVarargs()
method TestPrintChars (line 1675) | public void TestPrintChars ()
method TestUnicodeChars (line 1681) | public void TestUnicodeChars ()
method TestCaseFields (line 1807) | public void TestCaseFields ()
method TestStaticOperators (line 1823) | public void TestStaticOperators ()
method TestOverloadedMethods (line 1860) | public void TestOverloadedMethods ()
method TestOverloadedMethodCallOnBase (line 1990) | public void TestOverloadedMethodCallOnBase ()
method TestCallMethodWithParams2 (line 2005) | public void TestCallMethodWithParams2 ()
method TestPassType (line 2013) | public void TestPassType()
FILE: build/lua-5.1.5/etc/min.c
function print (line 12) | static int print(lua_State *L)
function main (line 32) | int main(void)
FILE: build/lua-5.1.5/etc/noparser.c
function LUAI_FUNC (line 21) | LUAI_FUNC void luaX_init (lua_State *L) {
function LUAI_FUNC (line 25) | LUAI_FUNC Proto *luaY_parser (lua_State *L, ZIO *z, Mbuffer *buff, const...
function LUAI_FUNC (line 37) | LUAI_FUNC int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, voi...
FILE: build/lua-5.1.5/src/lapi.c
function TValue (line 49) | static TValue *index2adr (lua_State *L, int idx) {
function Table (line 79) | static Table *getcurrenv (lua_State *L) {
function luaA_pushobject (line 89) | void luaA_pushobject (lua_State *L, const TValue *o) {
function LUA_API (line 95) | LUA_API int lua_checkstack (lua_State *L, int size) {
function LUA_API (line 110) | LUA_API void lua_xmove (lua_State *from, lua_State *to, int n) {
function LUA_API (line 125) | LUA_API void lua_setlevel (lua_State *from, lua_State *to) {
function LUA_API (line 130) | LUA_API lua_CFunction lua_atpanic (lua_State *L, lua_CFunction panicf) {
function LUA_API (line 140) | LUA_API lua_State *lua_newthread (lua_State *L) {
function LUA_API (line 159) | LUA_API int lua_gettop (lua_State *L) {
function LUA_API (line 164) | LUA_API void lua_settop (lua_State *L, int idx) {
function LUA_API (line 180) | LUA_API void lua_remove (lua_State *L, int idx) {
function LUA_API (line 191) | LUA_API void lua_insert (lua_State *L, int idx) {
function LUA_API (line 203) | LUA_API void lua_replace (lua_State *L, int idx) {
function LUA_API (line 228) | LUA_API void lua_pushvalue (lua_State *L, int idx) {
function LUA_API (line 242) | LUA_API int lua_type (lua_State *L, int idx) {
function LUA_API (line 248) | LUA_API const char *lua_typename (lua_State *L, int t) {
function LUA_API (line 254) | LUA_API int lua_iscfunction (lua_State *L, int idx) {
function LUA_API (line 260) | LUA_API int lua_isnumber (lua_State *L, int idx) {
function LUA_API (line 267) | LUA_API int lua_isstring (lua_State *L, int idx) {
function LUA_API (line 273) | LUA_API int lua_isuserdata (lua_State *L, int idx) {
function LUA_API (line 279) | LUA_API int lua_rawequal (lua_State *L, int index1, int index2) {
function LUA_API (line 287) | LUA_API int lua_equal (lua_State *L, int index1, int index2) {
function LUA_API (line 299) | LUA_API int lua_lessthan (lua_State *L, int index1, int index2) {
function LUA_API (line 313) | LUA_API lua_Number lua_tonumber (lua_State *L, int idx) {
function LUA_API (line 323) | LUA_API lua_Integer lua_tointeger (lua_State *L, int idx) {
function LUA_API (line 337) | LUA_API int lua_toboolean (lua_State *L, int idx) {
function LUA_API (line 343) | LUA_API const char *lua_tolstring (lua_State *L, int idx, size_t *len) {
function LUA_API (line 361) | LUA_API size_t lua_objlen (lua_State *L, int idx) {
function LUA_API (line 379) | LUA_API lua_CFunction lua_tocfunction (lua_State *L, int idx) {
function LUA_API (line 385) | LUA_API void *lua_touserdata (lua_State *L, int idx) {
function LUA_API (line 395) | LUA_API lua_State *lua_tothread (lua_State *L, int idx) {
function LUA_API (line 401) | LUA_API const void *lua_topointer (lua_State *L, int idx) {
function LUA_API (line 421) | LUA_API void lua_pushnil (lua_State *L) {
function LUA_API (line 429) | LUA_API void lua_pushnumber (lua_State *L, lua_Number n) {
function LUA_API (line 437) | LUA_API void lua_pushinteger (lua_State *L, lua_Integer n) {
function LUA_API (line 445) | LUA_API void lua_pushlstring (lua_State *L, const char *s, size_t len) {
function LUA_API (line 454) | LUA_API void lua_pushstring (lua_State *L, const char *s) {
function LUA_API (line 462) | LUA_API const char *lua_pushvfstring (lua_State *L, const char *fmt,
function LUA_API (line 473) | LUA_API const char *lua_pushfstring (lua_State *L, const char *fmt, ...) {
function LUA_API (line 486) | LUA_API void lua_pushcclosure (lua_State *L, lua_CFunction fn, int n) {
function LUA_API (line 503) | LUA_API void lua_pushboolean (lua_State *L, int b) {
function LUA_API (line 511) | LUA_API void lua_pushlightuserdata (lua_State *L, void *p) {
function LUA_API (line 519) | LUA_API int lua_pushthread (lua_State *L) {
function LUA_API (line 534) | LUA_API void lua_gettable (lua_State *L, int idx) {
function LUA_API (line 544) | LUA_API void lua_getfield (lua_State *L, int idx, const char *k) {
function LUA_API (line 557) | LUA_API void lua_rawget (lua_State *L, int idx) {
function LUA_API (line 567) | LUA_API void lua_rawgeti (lua_State *L, int idx, int n) {
function LUA_API (line 578) | LUA_API void lua_createtable (lua_State *L, int narray, int nrec) {
function LUA_API (line 587) | LUA_API int lua_getmetatable (lua_State *L, int objindex) {
function LUA_API (line 616) | LUA_API void lua_getfenv (lua_State *L, int idx) {
function LUA_API (line 645) | LUA_API void lua_settable (lua_State *L, int idx) {
function LUA_API (line 657) | LUA_API void lua_setfield (lua_State *L, int idx, const char *k) {
function LUA_API (line 671) | LUA_API void lua_rawset (lua_State *L, int idx) {
function LUA_API (line 684) | LUA_API void lua_rawseti (lua_State *L, int idx, int n) {
function LUA_API (line 697) | LUA_API int lua_setmetatable (lua_State *L, int objindex) {
function LUA_API (line 734) | LUA_API int lua_setfenv (lua_State *L, int idx) {
function LUA_API (line 776) | LUA_API void lua_call (lua_State *L, int nargs, int nresults) {
type CallS (line 792) | struct CallS { /* data to `f_call' */
function f_call (line 798) | static void f_call (lua_State *L, void *ud) {
function LUA_API (line 805) | LUA_API int lua_pcall (lua_State *L, int nargs, int nresults, int errfun...
type CCallS (line 831) | struct CCallS { /* data to `f_Ccall' */
function f_Ccall (line 837) | static void f_Ccall (lua_State *L, void *ud) {
function LUA_API (line 850) | LUA_API int lua_cpcall (lua_State *L, lua_CFunction func, void *ud) {
function LUA_API (line 862) | LUA_API int lua_load (lua_State *L, lua_Reader reader, void *data,
function LUA_API (line 875) | LUA_API int lua_dump (lua_State *L, lua_Writer writer, void *data) {
function LUA_API (line 890) | LUA_API int lua_status (lua_State *L) {
function LUA_API (line 899) | LUA_API int lua_gc (lua_State *L, int what, int data) {
function LUA_API (line 964) | LUA_API int lua_error (lua_State *L) {
function LUA_API (line 973) | LUA_API int lua_next (lua_State *L, int idx) {
function LUA_API (line 990) | LUA_API void lua_concat (lua_State *L, int n) {
function LUA_API (line 1007) | LUA_API lua_Alloc lua_getallocf (lua_State *L, void **ud) {
function LUA_API (line 1017) | LUA_API void lua_setallocf (lua_State *L, lua_Alloc f, void *ud) {
function LUA_API (line 1025) | LUA_API void *lua_newuserdata (lua_State *L, size_t size) {
function LUA_API (line 1057) | LUA_API const char *lua_getupvalue (lua_State *L, int funcindex, int n) {
function LUA_API (line 1071) | LUA_API const char *lua_setupvalue (lua_State *L, int funcindex, int n) {
FILE: build/lua-5.1.5/src/lauxlib.c
function LUALIB_API (line 43) | LUALIB_API int luaL_argerror (lua_State *L, int narg, const char *extram...
function LUALIB_API (line 61) | LUALIB_API int luaL_typerror (lua_State *L, int narg, const char *tname) {
function tag_error (line 68) | static void tag_error (lua_State *L, int narg, int tag) {
function LUALIB_API (line 73) | LUALIB_API void luaL_where (lua_State *L, int level) {
function LUALIB_API (line 86) | LUALIB_API int luaL_error (lua_State *L, const char *fmt, ...) {
function LUALIB_API (line 99) | LUALIB_API int luaL_checkoption (lua_State *L, int narg, const char *def,
function LUALIB_API (line 112) | LUALIB_API int luaL_newmetatable (lua_State *L, const char *tname) {
function LUALIB_API (line 124) | LUALIB_API void *luaL_checkudata (lua_State *L, int ud, const char *tnam...
function LUALIB_API (line 140) | LUALIB_API void luaL_checkstack (lua_State *L, int space, const char *me...
function LUALIB_API (line 146) | LUALIB_API void luaL_checktype (lua_State *L, int narg, int t) {
function LUALIB_API (line 152) | LUALIB_API void luaL_checkany (lua_State *L, int narg) {
function LUALIB_API (line 158) | LUALIB_API const char *luaL_checklstring (lua_State *L, int narg, size_t...
function LUALIB_API (line 165) | LUALIB_API const char *luaL_optlstring (lua_State *L, int narg,
function LUALIB_API (line 176) | LUALIB_API lua_Number luaL_checknumber (lua_State *L, int narg) {
function LUALIB_API (line 184) | LUALIB_API lua_Number luaL_optnumber (lua_State *L, int narg, lua_Number...
function LUALIB_API (line 189) | LUALIB_API lua_Integer luaL_checkinteger (lua_State *L, int narg) {
function LUALIB_API (line 197) | LUALIB_API lua_Integer luaL_optinteger (lua_State *L, int narg,
function LUALIB_API (line 203) | LUALIB_API int luaL_getmetafield (lua_State *L, int obj, const char *eve...
function LUALIB_API (line 219) | LUALIB_API int luaL_callmeta (lua_State *L, int obj, const char *event) {
function LUALIB_API (line 229) | LUALIB_API void (luaL_register) (lua_State *L, const char *libname,
function libsize (line 235) | static int libsize (const luaL_Reg *l) {
function LUALIB_API (line 242) | LUALIB_API void luaI_openlib (lua_State *L, const char *libname,
function checkint (line 280) | static int checkint (lua_State *L, int topop) {
function getsizes (line 287) | static void getsizes (lua_State *L) {
function LUALIB_API (line 302) | LUALIB_API void luaL_setn (lua_State *L, int t, int n) {
function LUALIB_API (line 321) | LUALIB_API int luaL_getn (lua_State *L, int t) {
function LUALIB_API (line 340) | LUALIB_API const char *luaL_gsub (lua_State *L, const char *s, const cha...
function LUALIB_API (line 357) | LUALIB_API const char *luaL_findtable (lua_State *L, int idx,
function emptybuffer (line 398) | static int emptybuffer (luaL_Buffer *B) {
function adjuststack (line 410) | static void adjuststack (luaL_Buffer *B) {
function LUALIB_API (line 429) | LUALIB_API char *luaL_prepbuffer (luaL_Buffer *B) {
function LUALIB_API (line 436) | LUALIB_API void luaL_addlstring (luaL_Buffer *B, const char *s, size_t l) {
function LUALIB_API (line 442) | LUALIB_API void luaL_addstring (luaL_Buffer *B, const char *s) {
function LUALIB_API (line 447) | LUALIB_API void luaL_pushresult (luaL_Buffer *B) {
function LUALIB_API (line 454) | LUALIB_API void luaL_addvalue (luaL_Buffer *B) {
function LUALIB_API (line 472) | LUALIB_API void luaL_buffinit (lua_State *L, luaL_Buffer *B) {
function LUALIB_API (line 481) | LUALIB_API int luaL_ref (lua_State *L, int t) {
function LUALIB_API (line 504) | LUALIB_API void luaL_unref (lua_State *L, int t, int ref) {
type LoadF (line 522) | typedef struct LoadF {
function errfile (line 543) | static int errfile (lua_State *L, const char *what, int fnameindex) {
function LUALIB_API (line 552) | LUALIB_API int luaL_loadfile (lua_State *L, const char *filename) {
type LoadS (line 593) | typedef struct LoadS {
function LUALIB_API (line 609) | LUALIB_API int luaL_loadbuffer (lua_State *L, const char *buff, size_t s...
function LUALIB_API (line 618) | LUALIB_API int (luaL_loadstring) (lua_State *L, const char *s) {
function panic (line 639) | static int panic (lua_State *L) {
function LUALIB_API (line 647) | LUALIB_API lua_State *luaL_newstate (void) {
FILE: build/lua-5.1.5/src/lauxlib.h
type luaL_Reg (line 35) | typedef struct luaL_Reg {
type luaL_Buffer (line 129) | typedef struct luaL_Buffer {
FILE: build/lua-5.1.5/src/lbaselib.c
function luaB_print (line 31) | static int luaB_print (lua_State *L) {
function luaB_tonumber (line 53) | static int luaB_tonumber (lua_State *L) {
function luaB_error (line 81) | static int luaB_error (lua_State *L) {
function luaB_getmetatable (line 93) | static int luaB_getmetatable (lua_State *L) {
function luaB_setmetatable (line 104) | static int luaB_setmetatable (lua_State *L) {
function getfunc (line 117) | static void getfunc (lua_State *L, int opt) {
function luaB_getfenv (line 133) | static int luaB_getfenv (lua_State *L) {
function luaB_setfenv (line 143) | static int luaB_setfenv (lua_State *L) {
function luaB_rawequal (line 161) | static int luaB_rawequal (lua_State *L) {
function luaB_rawget (line 169) | static int luaB_rawget (lua_State *L) {
function luaB_rawset (line 177) | static int luaB_rawset (lua_State *L) {
function luaB_gcinfo (line 187) | static int luaB_gcinfo (lua_State *L) {
function luaB_collectgarbage (line 193) | static int luaB_collectgarbage (lua_State *L) {
function luaB_type (line 219) | static int luaB_type (lua_State *L) {
function luaB_next (line 226) | static int luaB_next (lua_State *L) {
function luaB_pairs (line 238) | static int luaB_pairs (lua_State *L) {
function ipairsaux (line 247) | static int ipairsaux (lua_State *L) {
function luaB_ipairs (line 257) | static int luaB_ipairs (lua_State *L) {
function load_aux (line 266) | static int load_aux (lua_State *L, int status) {
function luaB_loadstring (line 277) | static int luaB_loadstring (lua_State *L) {
function luaB_loadfile (line 285) | static int luaB_loadfile (lua_State *L) {
function luaB_load (line 315) | static int luaB_load (lua_State *L) {
function luaB_dofile (line 325) | static int luaB_dofile (lua_State *L) {
function luaB_assert (line 334) | static int luaB_assert (lua_State *L) {
function luaB_unpack (line 342) | static int luaB_unpack (lua_State *L) {
function luaB_select (line 358) | static int luaB_select (lua_State *L) {
function luaB_pcall (line 374) | static int luaB_pcall (lua_State *L) {
function luaB_xpcall (line 384) | static int luaB_xpcall (lua_State *L) {
function luaB_tostring (line 396) | static int luaB_tostring (lua_State *L) {
function luaB_newproxy (line 421) | static int luaB_newproxy (lua_State *L) {
function costatus (line 490) | static int costatus (lua_State *L, lua_State *co) {
function luaB_costatus (line 510) | static int luaB_costatus (lua_State *L) {
function auxresume (line 518) | static int auxresume (lua_State *L, lua_State *co, int narg) {
function luaB_coresume (line 543) | static int luaB_coresume (lua_State *L) {
function luaB_auxwrap (line 561) | static int luaB_auxwrap (lua_State *L) {
function luaB_cocreate (line 576) | static int luaB_cocreate (lua_State *L) {
function luaB_cowrap (line 586) | static int luaB_cowrap (lua_State *L) {
function luaB_yield (line 593) | static int luaB_yield (lua_State *L) {
function luaB_corunning (line 598) | static int luaB_corunning (lua_State *L) {
function auxopen (line 618) | static void auxopen (lua_State *L, const char *name,
function base_open (line 626) | static void base_open (lua_State *L) {
function LUALIB_API (line 648) | LUALIB_API int luaopen_base (lua_State *L) {
FILE: build/lua-5.1.5/src/lcode.c
function isnumeral (line 30) | static int isnumeral(expdesc *e) {
function luaK_nil (line 35) | void luaK_nil (FuncState *fs, int from, int n) {
function luaK_jump (line 59) | int luaK_jump (FuncState *fs) {
function luaK_ret (line 69) | void luaK_ret (FuncState *fs, int first, int nret) {
function condjump (line 74) | static int condjump (FuncState *fs, OpCode op, int A, int B, int C) {
function fixjump (line 80) | static void fixjump (FuncState *fs, int pc, int dest) {
function luaK_getlabel (line 94) | int luaK_getlabel (FuncState *fs) {
function getjump (line 100) | static int getjump (FuncState *fs, int pc) {
function Instruction (line 109) | static Instruction *getjumpcontrol (FuncState *fs, int pc) {
function need_value (line 122) | static int need_value (FuncState *fs, int list) {
function patchtestreg (line 131) | static int patchtestreg (FuncState *fs, int node, int reg) {
function removevalues (line 144) | static void removevalues (FuncState *fs, int list) {
function patchlistaux (line 150) | static void patchlistaux (FuncState *fs, int list, int vtarget, int reg,
function dischargejpc (line 163) | static void dischargejpc (FuncState *fs) {
function luaK_patchlist (line 169) | void luaK_patchlist (FuncState *fs, int list, int target) {
function luaK_patchtohere (line 179) | void luaK_patchtohere (FuncState *fs, int list) {
function luaK_concat (line 185) | void luaK_concat (FuncState *fs, int *l1, int l2) {
function luaK_checkstack (line 199) | void luaK_checkstack (FuncState *fs, int n) {
function luaK_reserveregs (line 209) | void luaK_reserveregs (FuncState *fs, int n) {
function freereg (line 215) | static void freereg (FuncState *fs, int reg) {
function freeexp (line 223) | static void freeexp (FuncState *fs, expdesc *e) {
function addk (line 229) | static int addk (FuncState *fs, TValue *k, TValue *v) {
function luaK_stringK (line 250) | int luaK_stringK (FuncState *fs, TString *s) {
function luaK_numberK (line 257) | int luaK_numberK (FuncState *fs, lua_Number r) {
function boolK (line 264) | static int boolK (FuncState *fs, int b) {
function nilK (line 271) | static int nilK (FuncState *fs) {
function luaK_setreturns (line 280) | void luaK_setreturns (FuncState *fs, expdesc *e, int nresults) {
function luaK_setoneret (line 292) | void luaK_setoneret (FuncState *fs, expdesc *e) {
function luaK_dischargevars (line 304) | void luaK_dischargevars (FuncState *fs, expdesc *e) {
function code_label (line 337) | static int code_label (FuncState *fs, int A, int b, int jump) {
function discharge2reg (line 343) | static void discharge2reg (FuncState *fs, expdesc *e, int reg) {
function discharge2anyreg (line 382) | static void discharge2anyreg (FuncState *fs, expdesc *e) {
function exp2reg (line 390) | static void exp2reg (FuncState *fs, expdesc *e, int reg) {
function luaK_exp2nextreg (line 414) | void luaK_exp2nextreg (FuncState *fs, expdesc *e) {
function luaK_exp2anyreg (line 422) | int luaK_exp2anyreg (FuncState *fs, expdesc *e) {
function luaK_exp2val (line 436) | void luaK_exp2val (FuncState *fs, expdesc *e) {
function luaK_exp2RK (line 444) | int luaK_exp2RK (FuncState *fs, expdesc *e) {
function luaK_storevar (line 472) | void luaK_storevar (FuncState *fs, expdesc *var, expdesc *ex) {
function luaK_self (line 503) | void luaK_self (FuncState *fs, expdesc *e, expdesc *key) {
function invertjump (line 516) | static void invertjump (FuncState *fs, expdesc *e) {
function jumponcond (line 524) | static int jumponcond (FuncState *fs, expdesc *e, int cond) {
function luaK_goiftrue (line 539) | void luaK_goiftrue (FuncState *fs, expdesc *e) {
function luaK_goiffalse (line 563) | static void luaK_goiffalse (FuncState *fs, expdesc *e) {
function codenot (line 586) | static void codenot (FuncState *fs, expdesc *e) {
function luaK_indexed (line 621) | void luaK_indexed (FuncState *fs, expdesc *t, expdesc *k) {
function constfolding (line 627) | static int constfolding (OpCode op, expdesc *e1, expdesc *e2) {
function codearith (line 653) | static void codearith (FuncState *fs, OpCode op, expdesc *e1, expdesc *e...
function codecomp (line 673) | static void codecomp (FuncState *fs, OpCode op, int cond, expdesc *e1,
function luaK_prefix (line 689) | void luaK_prefix (FuncState *fs, UnOpr op, expdesc *e) {
function luaK_infix (line 710) | void luaK_infix (FuncState *fs, BinOpr op, expdesc *v) {
function luaK_posfix (line 737) | void luaK_posfix (FuncState *fs, BinOpr op, expdesc *e1, expdesc *e2) {
function luaK_fixline (line 784) | void luaK_fixline (FuncState *fs, int line) {
function luaK_code (line 789) | static int luaK_code (FuncState *fs, Instruction i, int line) {
function luaK_codeABC (line 804) | int luaK_codeABC (FuncState *fs, OpCode o, int a, int b, int c) {
function luaK_codeABx (line 812) | int luaK_codeABx (FuncState *fs, OpCode o, int a, unsigned int bc) {
function luaK_setlist (line 819) | void luaK_setlist (FuncState *fs, int base, int nelems, int tostore) {
FILE: build/lua-5.1.5/src/lcode.h
type BinOpr (line 26) | typedef enum BinOpr {
type UnOpr (line 36) | typedef enum UnOpr { OPR_MINUS, OPR_NOT, OPR_LEN, OPR_NOUNOPR } UnOpr;
FILE: build/lua-5.1.5/src/ldblib.c
function db_getregistry (line 22) | static int db_getregistry (lua_State *L) {
function db_getmetatable (line 28) | static int db_getmetatable (lua_State *L) {
function db_setmetatable (line 37) | static int db_setmetatable (lua_State *L) {
function db_getfenv (line 47) | static int db_getfenv (lua_State *L) {
function db_setfenv (line 54) | static int db_setfenv (lua_State *L) {
function settabss (line 64) | static void settabss (lua_State *L, const char *i, const char *v) {
function settabsi (line 70) | static void settabsi (lua_State *L, const char *i, int v) {
function lua_State (line 76) | static lua_State *getthread (lua_State *L, int *arg) {
function treatstackoption (line 88) | static void treatstackoption (lua_State *L, lua_State *L1, const char *f...
function db_getinfo (line 99) | static int db_getinfo (lua_State *L) {
function db_getlocal (line 144) | static int db_getlocal (lua_State *L) {
function db_setlocal (line 165) | static int db_setlocal (lua_State *L) {
function auxupvalue (line 179) | static int auxupvalue (lua_State *L, int get) {
function db_getupvalue (line 192) | static int db_getupvalue (lua_State *L) {
function db_setupvalue (line 197) | static int db_setupvalue (lua_State *L) {
function hookf (line 207) | static void hookf (lua_State *L, lua_Debug *ar) {
function makemask (line 225) | static int makemask (const char *smask, int count) {
function gethooktable (line 245) | static void gethooktable (lua_State *L) {
function db_sethook (line 258) | static int db_sethook (lua_State *L) {
function db_gethook (line 282) | static int db_gethook (lua_State *L) {
function db_debug (line 302) | static int db_debug (lua_State *L) {
function db_errorfb (line 322) | static int db_errorfb (lua_State *L) {
function LUALIB_API (line 394) | LUALIB_API int luaopen_debug (lua_State *L) {
FILE: build/lua-5.1.5/src/ldebug.c
function currentpc (line 36) | static int currentpc (lua_State *L, CallInfo *ci) {
function currentline (line 44) | static int currentline (lua_State *L, CallInfo *ci) {
function LUA_API (line 56) | LUA_API int lua_sethook (lua_State *L, lua_Hook func, int mask, int coun...
function LUA_API (line 69) | LUA_API lua_Hook lua_gethook (lua_State *L) {
function LUA_API (line 74) | LUA_API int lua_gethookmask (lua_State *L) {
function LUA_API (line 79) | LUA_API int lua_gethookcount (lua_State *L) {
function LUA_API (line 84) | LUA_API int lua_getstack (lua_State *L, int level, lua_Debug *ar) {
function Proto (line 107) | static Proto *getluaproto (CallInfo *ci) {
function LUA_API (line 127) | LUA_API const char *lua_getlocal (lua_State *L, const lua_Debug *ar, int...
function LUA_API (line 138) | LUA_API const char *lua_setlocal (lua_State *L, const lua_Debug *ar, int...
function funcinfo (line 150) | static void funcinfo (lua_Debug *ar, Closure *cl) {
function info_tailcall (line 167) | static void info_tailcall (lua_Debug *ar) {
function collectvalidlines (line 177) | static void collectvalidlines (lua_State *L, Closure *f) {
function auxgetinfo (line 193) | static int auxgetinfo (lua_State *L, const char *what, lua_Debug *ar,
function LUA_API (line 232) | LUA_API int lua_getinfo (lua_State *L, const char *what, lua_Debug *ar) {
function precheck (line 276) | static int precheck (const Proto *pt) {
function luaG_checkopenop (line 290) | int luaG_checkopenop (Instruction i) {
function checkArgMode (line 304) | static int checkArgMode (const Proto *pt, int r, enum OpArgMask mode) {
function Instruction (line 317) | static Instruction symbexec (const Proto *pt, int lastpc, int reg) {
function luaG_checkcode (line 484) | int luaG_checkcode (const Proto *pt) {
function isinstack (line 559) | static int isinstack (CallInfo *ci, const TValue *o) {
function luaG_typeerror (line 567) | void luaG_typeerror (lua_State *L, const TValue *o, const char *op) {
function luaG_concaterror (line 581) | void luaG_concaterror (lua_State *L, StkId p1, StkId p2) {
function luaG_aritherror (line 588) | void luaG_aritherror (lua_State *L, const TValue *p1, const TValue *p2) {
function luaG_ordererror (line 596) | int luaG_ordererror (lua_State *L, const TValue *p1, const TValue *p2) {
function addinfo (line 607) | static void addinfo (lua_State *L, const char *msg) {
function luaG_errormsg (line 618) | void luaG_errormsg (lua_State *L) {
function luaG_runerror (line 631) | void luaG_runerror (lua_State *L, const char *fmt, ...) {
FILE: build/lua-5.1.5/src/ldo.c
type lua_longjmp (line 44) | struct lua_longjmp {
function luaD_seterrorobj (line 51) | void luaD_seterrorobj (lua_State *L, int errcode, StkId oldtop) {
function restore_stack_limit (line 71) | static void restore_stack_limit (lua_State *L) {
function resetstack (line 81) | static void resetstack (lua_State *L, int status) {
function luaD_throw (line 94) | void luaD_throw (lua_State *L, int errcode) {
function luaD_rawrunprotected (line 111) | int luaD_rawrunprotected (lua_State *L, Pfunc f, void *ud) {
function correctstack (line 126) | static void correctstack (lua_State *L, TValue *oldstack) {
function luaD_reallocstack (line 141) | void luaD_reallocstack (lua_State *L, int newsize) {
function luaD_reallocCI (line 152) | void luaD_reallocCI (lua_State *L, int newsize) {
function luaD_growstack (line 161) | void luaD_growstack (lua_State *L, int n) {
function CallInfo (line 169) | static CallInfo *growCI (lua_State *L) {
function luaD_callhook (line 181) | void luaD_callhook (lua_State *L, int event, int line) {
function StkId (line 208) | static StkId adjust_varargs (lua_State *L, Proto *p, int actual) {
function StkId (line 244) | static StkId tryfuncTM (lua_State *L, StkId func) {
function luaD_precall (line 265) | int luaD_precall (lua_State *L, StkId func, int nresults) {
function StkId (line 332) | static StkId callrethooks (lua_State *L, StkId firstResult) {
function luaD_poscall (line 343) | int luaD_poscall (lua_State *L, StkId firstResult) {
function luaD_call (line 370) | void luaD_call (lua_State *L, StkId func, int nResults) {
function resume (line 384) | static void resume (lua_State *L, void *ud) {
function resume_error (line 409) | static int resume_error (lua_State *L, const char *msg) {
function LUA_API (line 418) | LUA_API int lua_resume (lua_State *L, int nargs) {
function LUA_API (line 444) | LUA_API int lua_yield (lua_State *L, int nresults) {
function luaD_pcall (line 456) | int luaD_pcall (lua_State *L, Pfunc func, void *u,
type SParser (line 485) | struct SParser { /* data to `f_parser' */
function f_parser (line 491) | static void f_parser (lua_State *L, void *ud) {
function luaD_protectedparser (line 509) | int luaD_protectedparser (lua_State *L, ZIO *z, const char *name) {
FILE: build/lua-5.1.5/src/ldump.c
type DumpState (line 18) | typedef struct {
function DumpBlock (line 29) | static void DumpBlock(const void* b, size_t size, DumpState* D)
function DumpChar (line 39) | static void DumpChar(int y, DumpState* D)
function DumpInt (line 45) | static void DumpInt(int x, DumpState* D)
function DumpNumber (line 50) | static void DumpNumber(lua_Number x, DumpState* D)
function DumpVector (line 55) | static void DumpVector(const void* b, int n, size_t size, DumpState* D)
function DumpString (line 61) | static void DumpString(const TString* s, DumpState* D)
function DumpConstants (line 80) | static void DumpConstants(const Proto* f, DumpState* D)
function DumpDebug (line 111) | static void DumpDebug(const Proto* f, DumpState* D)
function DumpFunction (line 129) | static void DumpFunction(const Proto* f, const TString* p, DumpState* D)
function DumpHeader (line 143) | static void DumpHeader(DumpState* D)
function luaU_dump (line 153) | int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, void* data, i...
FILE: build/lua-5.1.5/src/lfunc.c
function Closure (line 23) | Closure *luaF_newCclosure (lua_State *L, int nelems, Table *e) {
function Closure (line 33) | Closure *luaF_newLclosure (lua_State *L, int nelems, Table *e) {
function UpVal (line 44) | UpVal *luaF_newupval (lua_State *L) {
function UpVal (line 53) | UpVal *luaF_findupval (lua_State *L, StkId level) {
function unlinkupval (line 82) | static void unlinkupval (UpVal *uv) {
function luaF_freeupval (line 89) | void luaF_freeupval (lua_State *L, UpVal *uv) {
function luaF_close (line 96) | void luaF_close (lua_State *L, StkId level) {
function Proto (line 115) | Proto *luaF_newproto (lua_State *L) {
function luaF_freeproto (line 141) | void luaF_freeproto (lua_State *L, Proto *f) {
function luaF_freeclosure (line 152) | void luaF_freeclosure (lua_State *L, Closure *c) {
FILE: build/lua-5.1.5/src/lgc.c
function removeentry (line 62) | static void removeentry (Node *n) {
function reallymarkobject (line 69) | static void reallymarkobject (global_State *g, GCObject *o) {
function marktmu (line 115) | static void marktmu (global_State *g) {
function luaC_separateudata (line 128) | size_t luaC_separateudata (lua_State *L, int all) {
function traversetable (line 158) | static int traversetable (global_State *g, Table *h) {
function traverseproto (line 203) | static void traverseproto (global_State *g, Proto *f) {
function traverseclosure (line 224) | static void traverseclosure (global_State *g, Closure *cl) {
function checkstacksizes (line 241) | static void checkstacksizes (lua_State *L, StkId max) {
function traversestack (line 256) | static void traversestack (global_State *g, lua_State *l) {
function l_mem (line 277) | static l_mem propagatemark (global_State *g) {
function propagateall (line 323) | static size_t propagateall (global_State *g) {
function iscleared (line 337) | static int iscleared (const TValue *o, int iskey) {
function cleartable (line 351) | static void cleartable (GCObject *l) {
function freeobj (line 378) | static void freeobj (lua_State *L, GCObject *o) {
function GCObject (line 407) | static GCObject **sweeplist (lua_State *L, GCObject **p, lu_mem count) {
function checkSizes (line 431) | static void checkSizes (lua_State *L) {
function GCTM (line 445) | static void GCTM (lua_State *L) {
function luaC_callGCTM (line 477) | void luaC_callGCTM (lua_State *L) {
function luaC_freeall (line 483) | void luaC_freeall (lua_State *L) {
function markmt (line 493) | static void markmt (global_State *g) {
function markroot (line 501) | static void markroot (lua_State *L) {
function remarkupvals (line 515) | static void remarkupvals (global_State *g) {
function atomic (line 525) | static void atomic (lua_State *L) {
function l_mem (line 556) | static l_mem singlestep (lua_State *L) {
function luaC_step (line 610) | void luaC_step (lua_State *L) {
function luaC_fullgc (line 635) | void luaC_fullgc (lua_State *L) {
function luaC_barrierf (line 661) | void luaC_barrierf (lua_State *L, GCObject *o, GCObject *v) {
function luaC_barrierback (line 674) | void luaC_barrierback (lua_State *L, Table *t) {
function luaC_link (line 685) | void luaC_link (lua_State *L, GCObject *o, lu_byte tt) {
function luaC_linkupval (line 694) | void luaC_linkupval (lua_State *L, UpVal *uv) {
FILE: build/lua-5.1.5/src/linit.c
function LUALIB_API (line 30) | LUALIB_API void luaL_openlibs (lua_State *L) {
FILE: build/lua-5.1.5/src/liolib.c
function pushresult (line 30) | static int pushresult (lua_State *L, int i, const char *filename) {
function fileerror (line 48) | static void fileerror (lua_State *L, int arg, const char *filename) {
function io_type (line 57) | static int io_type (lua_State *L) {
function FILE (line 72) | static FILE *tofile (lua_State *L) {
function FILE (line 86) | static FILE **newfile (lua_State *L) {
function io_noclose (line 98) | static int io_noclose (lua_State *L) {
function io_pclose (line 108) | static int io_pclose (lua_State *L) {
function io_fclose (line 119) | static int io_fclose (lua_State *L) {
function aux_close (line 127) | static int aux_close (lua_State *L) {
function io_close (line 134) | static int io_close (lua_State *L) {
function io_gc (line 142) | static int io_gc (lua_State *L) {
function io_tostring (line 151) | static int io_tostring (lua_State *L) {
function io_open (line 161) | static int io_open (lua_State *L) {
function io_popen (line 174) | static int io_popen (lua_State *L) {
function io_tmpfile (line 183) | static int io_tmpfile (lua_State *L) {
function FILE (line 190) | static FILE *getiofile (lua_State *L, int findex) {
function g_iofile (line 200) | static int g_iofile (lua_State *L, int f, const char *mode) {
function io_input (line 221) | static int io_input (lua_State *L) {
function io_output (line 226) | static int io_output (lua_State *L) {
function aux_lines (line 234) | static void aux_lines (lua_State *L, int idx, int toclose) {
function f_lines (line 241) | static int f_lines (lua_State *L) {
function io_lines (line 248) | static int io_lines (lua_State *L) {
function read_number (line 273) | static int read_number (lua_State *L, FILE *f) {
function test_eof (line 286) | static int test_eof (lua_State *L, FILE *f) {
function read_line (line 294) | static int read_line (lua_State *L, FILE *f) {
function read_chars (line 316) | static int read_chars (lua_State *L, FILE *f, size_t n) {
function g_read (line 334) | static int g_read (lua_State *L, FILE *f, int first) {
function io_read (line 381) | static int io_read (lua_State *L) {
function f_read (line 386) | static int f_read (lua_State *L) {
function io_readline (line 391) | static int io_readline (lua_State *L) {
function g_write (line 413) | static int g_write (lua_State *L, FILE *f, int arg) {
function io_write (line 432) | static int io_write (lua_State *L) {
function f_write (line 437) | static int f_write (lua_State *L) {
function f_seek (line 442) | static int f_seek (lua_State *L) {
function f_setvbuf (line 458) | static int f_setvbuf (lua_State *L) {
function io_flush (line 470) | static int io_flush (lua_State *L) {
function f_flush (line 475) | static int f_flush (lua_State *L) {
function createmeta (line 510) | static void createmeta (lua_State *L) {
function createstdfile (line 518) | static void createstdfile (lua_State *L, FILE *f, int k, const char *fna...
function newfenv (line 530) | static void newfenv (lua_State *L, lua_CFunction cls) {
function LUALIB_API (line 537) | LUALIB_API int luaopen_io (lua_State *L) {
FILE: build/lua-5.1.5/src/llex.c
function save (line 51) | static void save (LexState *ls, int c) {
function luaX_init (line 64) | void luaX_init (lua_State *L) {
function luaX_lexerror (line 102) | void luaX_lexerror (LexState *ls, const char *msg, int token) {
function luaX_syntaxerror (line 112) | void luaX_syntaxerror (LexState *ls, const char *msg) {
function TString (line 117) | TString *luaX_newstring (LexState *ls, const char *str, size_t l) {
function inclinenumber (line 129) | static void inclinenumber (LexState *ls) {
function luaX_setinput (line 140) | void luaX_setinput (lua_State *L, LexState *ls, ZIO *z, TString *source) {
function check_next (line 163) | static int check_next (LexState *ls, const char *set) {
function buffreplace (line 171) | static void buffreplace (LexState *ls, char from, char to) {
function trydecpoint (line 179) | static void trydecpoint (LexState *ls, SemInfo *seminfo) {
function read_numeral (line 194) | static void read_numeral (LexState *ls, SemInfo *seminfo) {
function skip_sep (line 210) | static int skip_sep (LexState *ls) {
function read_long_string (line 223) | static void read_long_string (LexState *ls, SemInfo *seminfo, int sep) {
function read_string (line 278) | static void read_string (LexState *ls, int del, SemInfo *seminfo) {
function llex (line 334) | static int llex (LexState *ls, SemInfo *seminfo) {
function luaX_next (line 448) | void luaX_next (LexState *ls) {
function luaX_lookahead (line 459) | void luaX_lookahead (LexState *ls) {
FILE: build/lua-5.1.5/src/llex.h
type RESERVED (line 24) | enum RESERVED {
type SemInfo (line 43) | typedef union {
type Token (line 49) | typedef struct Token {
type LexState (line 55) | typedef struct LexState {
FILE: build/lua-5.1.5/src/llimits.h
type LUAI_UINT32 (line 18) | typedef LUAI_UINT32 lu_int32;
type LUAI_UMEM (line 20) | typedef LUAI_UMEM lu_mem;
type LUAI_MEM (line 22) | typedef LUAI_MEM l_mem;
type lu_byte (line 27) | typedef unsigned char lu_byte;
type LUAI_USER_ALIGNMENT_T (line 47) | typedef LUAI_USER_ALIGNMENT_T L_Umaxalign;
type LUAI_UACNUMBER (line 51) | typedef LUAI_UACNUMBER l_uacNumber;
type lu_int32 (line 88) | typedef lu_int32 Instruction;
FILE: build/lua-5.1.5/src/lmathlib.c
function math_abs (line 26) | static int math_abs (lua_State *L) {
function math_sin (line 31) | static int math_sin (lua_State *L) {
function math_sinh (line 36) | static int math_sinh (lua_State *L) {
function math_cos (line 41) | static int math_cos (lua_State *L) {
function math_cosh (line 46) | static int math_cosh (lua_State *L) {
function math_tan (line 51) | static int math_tan (lua_State *L) {
function math_tanh (line 56) | static int math_tanh (lua_State *L) {
function math_asin (line 61) | static int math_asin (lua_State *L) {
function math_acos (line 66) | static int math_acos (lua_State *L) {
function math_atan (line 71) | static int math_atan (lua_State *L) {
function math_atan2 (line 76) | static int math_atan2 (lua_State *L) {
function math_ceil (line 81) | static int math_ceil (lua_State *L) {
function math_floor (line 86) | static int math_floor (lua_State *L) {
function math_fmod (line 91) | static int math_fmod (lua_State *L) {
function math_modf (line 96) | static int math_modf (lua_State *L) {
function math_sqrt (line 104) | static int math_sqrt (lua_State *L) {
function math_pow (line 109) | static int math_pow (lua_State *L) {
function math_log (line 114) | static int math_log (lua_State *L) {
function math_log10 (line 119) | static int math_log10 (lua_State *L) {
function math_exp (line 124) | static int math_exp (lua_State *L) {
fu
Copy disabled (too large)
Download .json
Condensed preview — 974 files, each showing path, character count, and a content snippet. Download the .json file for the full structured content (10,503K chars).
[
{
"path": ".gitignore",
"chars": 487,
"preview": "*.sln\r\n*.userprefs\r\n*.pidb\r\n*.svd\r\n*.suo\r\n*.user\r\n*.booproj\r\nAssets/data.zip\r\nAssets/version.ver\r\nAssets/Slua/LuaObject/"
},
{
"path": "Assembly-CSharp-Editor.csproj",
"chars": 9350,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<Project ToolsVersion=\"4.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
},
{
"path": "Assembly-CSharp-firstpass.csproj",
"chars": 7529,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<Project ToolsVersion=\"4.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
},
{
"path": "Assets/Game/@Lua/Base/LClass.lua",
"chars": 4407,
"preview": "local LDeclare = require \"Base/LGlobal\"\nlocal L_VERSION = require \"Base/LVersion\"\n\n-- The hold all class type.\nlocal __L"
},
{
"path": "Assets/Game/@Lua/Base/LClass.lua.meta",
"chars": 175,
"preview": "fileFormatVersion: 2\nguid: 6a6a6fdea17b444c2b029fac5aad800e\ntimeCreated: 1462415445\nlicenseType: Free\nDefaultImporter:\n "
},
{
"path": "Assets/Game/@Lua/Base/LGlobal.lua",
"chars": 2209,
"preview": "--\n-- Lua global definition file.\n--\n-- @filename LGlobal.lua\n\n-- The declared global name.\nlocal DeclaredNames = {}\n\n-"
},
{
"path": "Assets/Game/@Lua/Base/LGlobal.lua.meta",
"chars": 175,
"preview": "fileFormatVersion: 2\nguid: 58057dc8c9be442b79b1538261f96691\ntimeCreated: 1462415445\nlicenseType: Free\nDefaultImporter:\n "
},
{
"path": "Assets/Game/@Lua/Base/LMessage.lua",
"chars": 2494,
"preview": "-- 通用事件派发器 static class\n--[[\n eg: LMessage:addEvent(\n \"eventName\", \n function(data) \n "
},
{
"path": "Assets/Game/@Lua/Base/LMessage.lua.meta",
"chars": 175,
"preview": "fileFormatVersion: 2\nguid: 7f77f5b899c594fe0a121e7b58246c93\ntimeCreated: 1462415445\nlicenseType: Free\nDefaultImporter:\n "
},
{
"path": "Assets/Game/@Lua/Base/LVersion.lua",
"chars": 580,
"preview": "--\n-- Lua version parse file.\n--\n-- @filename Version.lua\n\n-- Get global declare.\nlocal LDeclare = require \"Base/LGloba"
},
{
"path": "Assets/Game/@Lua/Base/LVersion.lua.meta",
"chars": 175,
"preview": "fileFormatVersion: 2\nguid: e6df6eb1d202744a29816e09916a7fb1\ntimeCreated: 1462415445\nlicenseType: Free\nDefaultImporter:\n "
},
{
"path": "Assets/Game/@Lua/Base.meta",
"chars": 192,
"preview": "fileFormatVersion: 2\nguid: 605851e052326450ab145e03567794ac\nfolderAsset: yes\ntimeCreated: 1462415445\nlicenseType: Free\nD"
},
{
"path": "Assets/Game/@Lua/Game/Common/EventNames.lua",
"chars": 1483,
"preview": "-- 事件\nlocal EventNames = {}\n\nEventNames.CHARACTOR_HP = \"EventNames.CHARACTOR_HP\"\nEventNames.STATUS_STATE = \"EventNames.S"
},
{
"path": "Assets/Game/@Lua/Game/Common/EventNames.lua.meta",
"chars": 175,
"preview": "fileFormatVersion: 2\nguid: c5a4821ebe5123f4eba8af7e62ce46f5\ntimeCreated: 1470564833\nlicenseType: Free\nDefaultImporter:\n "
},
{
"path": "Assets/Game/@Lua/Game/Common/MsgId.lua",
"chars": 205,
"preview": "local MsgId = {}\r\n\r\nMsgId.hello = 1;\r\nMsgId.registerApp = 2;\r\nMsgId.broadcastApp = 3;\r\nMsgId.updateApp = 4;\r\nMsgId.webAp"
},
{
"path": "Assets/Game/@Lua/Game/Common/MsgId.lua.meta",
"chars": 175,
"preview": "fileFormatVersion: 2\nguid: 24d1a143c37794c4ab1439e8cfbb95b7\ntimeCreated: 1470562462\nlicenseType: Free\nDefaultImporter:\n "
},
{
"path": "Assets/Game/@Lua/Game/Common/NetworkManager.lua",
"chars": 1934,
"preview": "-- 网络管理\r\nlocal NetworkManager = LDeclare(\"NetworkManager\", LClass(\"NetworkManager\"))\r\nNetworkManager._instance = nil\r\nNe"
},
{
"path": "Assets/Game/@Lua/Game/Common/NetworkManager.lua.meta",
"chars": 175,
"preview": "fileFormatVersion: 2\nguid: a31fce2e14bc9c545ae091b69ab912d0\ntimeCreated: 1470562129\nlicenseType: Free\nDefaultImporter:\n "
},
{
"path": "Assets/Game/@Lua/Game/Common/Util.lua",
"chars": 1295,
"preview": "local Util = {}\r\n\r\n-- 清空子节点\r\nUtil.removeAllChild = function(gameObject)\r\n\t\r\n\tlocal len = gameObject.transform.childCount"
},
{
"path": "Assets/Game/@Lua/Game/Common/Util.lua.meta",
"chars": 175,
"preview": "fileFormatVersion: 2\nguid: abe1c3fb2a5fd79489c65338eef894e9\ntimeCreated: 1470562129\nlicenseType: Free\nDefaultImporter:\n "
},
{
"path": "Assets/Game/@Lua/Game/Common/i18n.lua",
"chars": 124,
"preview": "local i18n = {}\n--# main.lua\ni18n[\"1001\"] = \"初始化游戏\"\ni18n[\"1002\"] = \"初始化需要一点点时间(%d/100)\"\n\nLDeclare(\"i18n\", i18n)\nreturn i"
},
{
"path": "Assets/Game/@Lua/Game/Common/i18n.lua.meta",
"chars": 175,
"preview": "fileFormatVersion: 2\nguid: 92cbb1004d9363c4e9be2a66ae20d256\ntimeCreated: 1480475203\nlicenseType: Free\nDefaultImporter:\n "
},
{
"path": "Assets/Game/@Lua/Game/Common.meta",
"chars": 192,
"preview": "fileFormatVersion: 2\nguid: 0ed788816d573da438a8f44208f496c8\nfolderAsset: yes\ntimeCreated: 1470562129\nlicenseType: Free\nD"
},
{
"path": "Assets/Game/@Lua/Game/MsgBox.lua",
"chars": 568,
"preview": "-- 消息窗\r\nlocal MsgBox = LDeclare(\"MsgBox\", LClass(\"MsgBox\"))\r\n\r\nfunction MsgBox:Start()\r\n\r\n\tprint(\"MsgBox Start\")\r\n\r\n\r\n\ts"
},
{
"path": "Assets/Game/@Lua/Game/MsgBox.lua.meta",
"chars": 175,
"preview": "fileFormatVersion: 2\nguid: 6ef219370e84c734cacd4bdc6d2d217e\ntimeCreated: 1471161314\nlicenseType: Free\nDefaultImporter:\n "
},
{
"path": "Assets/Game/@Lua/Game/Proto/masterd.bytes",
"chars": 688,
"preview": "\n\u0005\n\rmasterd.proto\u0012\tcomponent\"B\n\u000fcomponent_hello\u0012\r\n\u0005appId\u0018\u0001 \u0002(\r\u0012\u000f\n\u0007appType\u0018\u0002 \u0002(\r\u0012\u000f\n\u0007groupId\u0018\u0003 \u0002(\r\"\u0001\n\u0016component_broadcastA"
},
{
"path": "Assets/Game/@Lua/Game/Proto/masterd.bytes.meta",
"chars": 175,
"preview": "fileFormatVersion: 2\nguid: 222d8d82c180a3441b9b433d7bc13b4b\ntimeCreated: 1470564399\nlicenseType: Free\nDefaultImporter:\n "
},
{
"path": "Assets/Game/@Lua/Game/Proto.meta",
"chars": 192,
"preview": "fileFormatVersion: 2\nguid: 4f1ae7b788560ec4a8a806b06b1f2136\nfolderAsset: yes\ntimeCreated: 1470561899\nlicenseType: Free\nD"
},
{
"path": "Assets/Game/@Lua/Game.meta",
"chars": 192,
"preview": "fileFormatVersion: 2\nguid: feb7d35f0122c7242a31bf2903ceb061\nfolderAsset: yes\ntimeCreated: 1470561899\nlicenseType: Free\nD"
},
{
"path": "Assets/Game/@Lua/Lib/protobuf/parser.lua",
"chars": 9693,
"preview": "-----------------------\r\n-- simple proto parser\r\n-----------------------\r\n\r\nlocal lpeg = require \"lpeg\"\r\nlocal P = lpeg."
},
{
"path": "Assets/Game/@Lua/Lib/protobuf/parser.lua.meta",
"chars": 175,
"preview": "fileFormatVersion: 2\nguid: 6cd0b0e903f425e47800ac1108158e4e\ntimeCreated: 1467076000\nlicenseType: Free\nDefaultImporter:\n "
},
{
"path": "Assets/Game/@Lua/Lib/protobuf/protobuf.lua",
"chars": 13834,
"preview": "local c = require \"protobuf.c\"\r\n\r\nlocal setmetatable = setmetatable\r\nlocal type = type\r\nlocal table = table\r\nlocal asser"
},
{
"path": "Assets/Game/@Lua/Lib/protobuf/protobuf.lua.meta",
"chars": 175,
"preview": "fileFormatVersion: 2\nguid: 17335bd7728baf44eb90e5b885018eb6\ntimeCreated: 1467076000\nlicenseType: Free\nDefaultImporter:\n "
},
{
"path": "Assets/Game/@Lua/Lib/protobuf.meta",
"chars": 192,
"preview": "fileFormatVersion: 2\nguid: 7b27e103ca4e7a94db4809d5490bdfbb\nfolderAsset: yes\ntimeCreated: 1467076000\nlicenseType: Free\nD"
},
{
"path": "Assets/Game/@Lua/Lib.meta",
"chars": 192,
"preview": "fileFormatVersion: 2\nguid: 7837997a641ac9e42afe5dc7bb600f7c\nfolderAsset: yes\ntimeCreated: 1470561898\nlicenseType: Free\nD"
},
{
"path": "Assets/Game/@Lua/import.lua",
"chars": 268,
"preview": "require \"Base/LGlobal\"\nrequire \"Base/LVersion\"\nrequire \"Base/LClass\"\nrequire \"Base/LMessage\"\n\nrequire \"Game/Common/i18n\""
},
{
"path": "Assets/Game/@Lua/import.lua.meta",
"chars": 175,
"preview": "fileFormatVersion: 2\nguid: 77ef4bedebd064ab598b56673ae4559f\ntimeCreated: 1463891082\nlicenseType: Free\nDefaultImporter:\n "
},
{
"path": "Assets/Game/@Lua/main.lua",
"chars": 854,
"preview": "import \"UnityEngine\"\nimport \"UnityEngine.Object\"\nimport \"UnityEngine.UI\"\nimport \"UnityEngine.SceneManagement\"\nimport \"Lu"
},
{
"path": "Assets/Game/@Lua/main.lua.meta",
"chars": 175,
"preview": "fileFormatVersion: 2\nguid: d6e78b7e14bb27f4f9a3f16365b75394\ntimeCreated: 1474776353\nlicenseType: Free\nDefaultImporter:\n "
},
{
"path": "Assets/Game/@Lua.meta",
"chars": 192,
"preview": "fileFormatVersion: 2\nguid: c08388a38d2a3d14db7bc4768cc0c13f\nfolderAsset: yes\ntimeCreated: 1455897199\nlicenseType: Free\nD"
},
{
"path": "Assets/Game/Editor/AssetBundleMaker/ExportAssetBundles.cs",
"chars": 5237,
"preview": "using UnityEngine;\r\nusing UnityEditor;\r\nusing UnityEngine.Events;\r\nusing System.IO;\r\nusing System.Text;\r\nusing System.C"
},
{
"path": "Assets/Game/Editor/AssetBundleMaker/ExportAssetBundles.cs.meta",
"chars": 263,
"preview": "fileFormatVersion: 2\nguid: 80073506afe2099489208d71e7a56249\ntimeCreated: 1470452693\nlicenseType: Free\nMonoImporter:\n se"
},
{
"path": "Assets/Game/Editor/AssetBundleMaker/ExportConfigWindow.cs",
"chars": 1135,
"preview": "using UnityEngine;\nusing UnityEditor;\nusing System.Collections;\n\npublic class ExportConfigWindow : EditorWindow\n{\n\tpubl"
},
{
"path": "Assets/Game/Editor/AssetBundleMaker/ExportConfigWindow.cs.meta",
"chars": 263,
"preview": "fileFormatVersion: 2\nguid: c2b5ca7dbd1c50444862028209d360b4\ntimeCreated: 1470452693\nlicenseType: Free\nMonoImporter:\n se"
},
{
"path": "Assets/Game/Editor/AssetBundleMaker.meta",
"chars": 192,
"preview": "fileFormatVersion: 2\nguid: 6ed52869528c7934aaebf7de26dd0e77\nfolderAsset: yes\ntimeCreated: 1470552333\nlicenseType: Free\nD"
},
{
"path": "Assets/Game/Editor/BmfontMaker/BMFont.cs",
"chars": 3678,
"preview": "//----------------------------------------------\n// NGUI: Next-Gen UI kit\n// Copyright © 2011-2015 Tasharen E"
},
{
"path": "Assets/Game/Editor/BmfontMaker/BMFont.cs.meta",
"chars": 263,
"preview": "fileFormatVersion: 2\nguid: 94cc67aca494b1943a7a0f51b581441d\ntimeCreated: 1463716780\nlicenseType: Free\nMonoImporter:\n se"
},
{
"path": "Assets/Game/Editor/BmfontMaker/BMFontReader.cs",
"chars": 4439,
"preview": "//----------------------------------------------\n// NGUI: Next-Gen UI kit\n// Copyright © 2011-2015 Tasharen E"
},
{
"path": "Assets/Game/Editor/BmfontMaker/BMFontReader.cs.meta",
"chars": 263,
"preview": "fileFormatVersion: 2\nguid: a9fc0907767cc05448abe2c012b90c22\ntimeCreated: 1463716780\nlicenseType: Free\nMonoImporter:\n se"
},
{
"path": "Assets/Game/Editor/BmfontMaker/BMGlyph.cs",
"chars": 2439,
"preview": "//----------------------------------------------\n// NGUI: Next-Gen UI kit\n// Copyright © 2011-2015 Tasharen "
},
{
"path": "Assets/Game/Editor/BmfontMaker/BMGlyph.cs.meta",
"chars": 263,
"preview": "fileFormatVersion: 2\nguid: a523ba19da28a9c4fbda283c3433d53d\ntimeCreated: 1463716780\nlicenseType: Free\nMonoImporter:\n se"
},
{
"path": "Assets/Game/Editor/BmfontMaker/BmBetterList.cs",
"chars": 9030,
"preview": "//----------------------------------------------\n// NGUI: Next-Gen UI kit\n// Copyright © 2011-2015 Tasharen E"
},
{
"path": "Assets/Game/Editor/BmfontMaker/BmBetterList.cs.meta",
"chars": 263,
"preview": "fileFormatVersion: 2\nguid: d6ab7ca414bf6644983a7ca1041e1118\ntimeCreated: 1463752738\nlicenseType: Free\nMonoImporter:\n se"
},
{
"path": "Assets/Game/Editor/BmfontMaker/BmByteReader.cs",
"chars": 6426,
"preview": "//----------------------------------------------\n// NGUI: Next-Gen UI kit\n// Copyright © 2011-2015 Tasharen E"
},
{
"path": "Assets/Game/Editor/BmfontMaker/BmByteReader.cs.meta",
"chars": 263,
"preview": "fileFormatVersion: 2\nguid: f40e2da786f71024e92246ddf360eb32\ntimeCreated: 1463752697\nlicenseType: Free\nMonoImporter:\n se"
},
{
"path": "Assets/Game/Editor/BmfontMaker/BmFontEditor.cs",
"chars": 2530,
"preview": "using UnityEngine;\nusing UnityEditor;\n\npublic class BmFontEditor : EditorWindow\n{\n [MenuItem(\"Tools/BMFont Maker\")]\n"
},
{
"path": "Assets/Game/Editor/BmfontMaker/BmFontEditor.cs.meta",
"chars": 263,
"preview": "fileFormatVersion: 2\nguid: 209ec617b615f1e45b6ff6819281ecec\ntimeCreated: 1470452693\nlicenseType: Free\nMonoImporter:\n se"
},
{
"path": "Assets/Game/Editor/BmfontMaker.meta",
"chars": 192,
"preview": "fileFormatVersion: 2\nguid: be5b5ab2f2e32e64d870debcd5ccc7b2\nfolderAsset: yes\ntimeCreated: 1470552281\nlicenseType: Free\nD"
},
{
"path": "Assets/Game/Editor/Helper.cs",
"chars": 3115,
"preview": "using UnityEngine;\r\nusing UnityEngine.Events;\r\nusing System.Collections.Generic;\r\nusing System.Security.Cryptography;\r\n"
},
{
"path": "Assets/Game/Editor/Helper.cs.meta",
"chars": 263,
"preview": "fileFormatVersion: 2\nguid: 196a3b7fa2c6e604c89974a2810ade0a\ntimeCreated: 1474773601\nlicenseType: Free\nMonoImporter:\n se"
},
{
"path": "Assets/Game/Editor/I18nExporter/I18nExporter.cs",
"chars": 7849,
"preview": "using UnityEngine;\r\nusing System.Collections.Generic;\r\nusing UnityEditor;\r\nusing System.IO;\r\nusing System.Text;\r\n// 国际化"
},
{
"path": "Assets/Game/Editor/I18nExporter/I18nExporter.cs.meta",
"chars": 263,
"preview": "fileFormatVersion: 2\nguid: c2b26f6664b1b7945aa35eb2065410f4\ntimeCreated: 1479285206\nlicenseType: Free\nMonoImporter:\n se"
},
{
"path": "Assets/Game/Editor/I18nExporter.meta",
"chars": 192,
"preview": "fileFormatVersion: 2\nguid: 9c4941af0a98cb545b673822c2777637\nfolderAsset: yes\ntimeCreated: 1479526088\nlicenseType: Free\nD"
},
{
"path": "Assets/Game/Editor/MakeDebugFile.cs",
"chars": 4654,
"preview": "using UnityEngine;\r\nusing UnityEngine.Events;\r\nusing System.Collections.Generic;\r\nusing UnityEditor;\r\nusing System.IO;\r"
},
{
"path": "Assets/Game/Editor/MakeDebugFile.cs.meta",
"chars": 263,
"preview": "fileFormatVersion: 2\nguid: 5bb958e901dce9145a21802afa3038c0\ntimeCreated: 1470478793\nlicenseType: Free\nMonoImporter:\n se"
},
{
"path": "Assets/Game/Editor/TexturePackerImporter/SettingsTexturePackerImporter.txt",
"chars": 265,
"preview": "version: 2\r\nimportPivots: 1\r\ntpsheetFileNames:\r\n- Assets/codeandweb.com/Example/SpriteSheet/sprites.tpsheet\r\ntextureFile"
},
{
"path": "Assets/Game/Editor/TexturePackerImporter/SettingsTexturePackerImporter.txt.meta",
"chars": 178,
"preview": "fileFormatVersion: 2\nguid: df6f73f5fa571dd48b8c6bd40825fa11\ntimeCreated: 1475288740\nlicenseType: Free\nTextScriptImporter"
},
{
"path": "Assets/Game/Editor/TexturePackerImporter/TexturePackerImporter.cs",
"chars": 4836,
"preview": "using UnityEngine;\r\nusing UnityEditor;\r\nusing System.IO;\r\nusing System.Text;\r\nusing System.Collections.Generic;\r\n\r\npubl"
},
{
"path": "Assets/Game/Editor/TexturePackerImporter/TexturePackerImporter.cs.meta",
"chars": 263,
"preview": "fileFormatVersion: 2\nguid: 1164d51e0c6d5ec4cabeb4c8a1ad7399\ntimeCreated: 1475288614\nlicenseType: Free\nMonoImporter:\n se"
},
{
"path": "Assets/Game/Editor/TexturePackerImporter.meta",
"chars": 192,
"preview": "fileFormatVersion: 2\nguid: 5e7cbf6a101751b46a61ec6fcdaf74a8\nfolderAsset: yes\ntimeCreated: 1470452684\nlicenseType: Free\nD"
},
{
"path": "Assets/Game/Editor.meta",
"chars": 192,
"preview": "fileFormatVersion: 2\nguid: cbec7ab89fb11e547abc9b009e8ffef3\nfolderAsset: yes\ntimeCreated: 1451462546\nlicenseType: Free\nD"
},
{
"path": "Assets/Game/Images/common/ctlv_bg.png.meta",
"chars": 1208,
"preview": "fileFormatVersion: 2\nguid: d8d4e984467472f41ba638b478aeff80\ntimeCreated: 1475290841\nlicenseType: Free\nTextureImporter:\n "
},
{
"path": "Assets/Game/Images/common/ctlv_joy.png.meta",
"chars": 1208,
"preview": "fileFormatVersion: 2\nguid: ad8ffcca49584c04cab19fe55e06f829\ntimeCreated: 1475290841\nlicenseType: Free\nTextureImporter:\n "
},
{
"path": "Assets/Game/Images/common/img_cat.png.meta",
"chars": 1208,
"preview": "fileFormatVersion: 2\nguid: 9ab0257ab97f5e24e8e941e0db884c2b\ntimeCreated: 1475290841\nlicenseType: Free\nTextureImporter:\n "
},
{
"path": "Assets/Game/Images/common/progress_bar.jpg.meta",
"chars": 1264,
"preview": "fileFormatVersion: 2\nguid: df8f3cb38bf73464e8dd48c7eddebf7f\ntimeCreated: 1478518828\nlicenseType: Free\nTextureImporter:\n "
},
{
"path": "Assets/Game/Images/common.meta",
"chars": 192,
"preview": "fileFormatVersion: 2\nguid: b2b3ac64d2468e840890d907dac9674a\nfolderAsset: yes\ntimeCreated: 1475290770\nlicenseType: Free\nD"
},
{
"path": "Assets/Game/Images/face/0101.png.meta",
"chars": 1208,
"preview": "fileFormatVersion: 2\nguid: 27b5249286dedcb4f8472da72324028f\ntimeCreated: 1475290651\nlicenseType: Free\nTextureImporter:\n "
},
{
"path": "Assets/Game/Images/face/0102.png.meta",
"chars": 1208,
"preview": "fileFormatVersion: 2\nguid: 48feb112c2d43c343a11a6969b8d511f\ntimeCreated: 1475290651\nlicenseType: Free\nTextureImporter:\n "
},
{
"path": "Assets/Game/Images/face/0103.png.meta",
"chars": 1208,
"preview": "fileFormatVersion: 2\nguid: 769bafe28f6138946b8b96ba364d2d10\ntimeCreated: 1475290651\nlicenseType: Free\nTextureImporter:\n "
},
{
"path": "Assets/Game/Images/face/0201.png.meta",
"chars": 1208,
"preview": "fileFormatVersion: 2\nguid: ff9c9677a194d3f46b85fd3289ab6f6f\ntimeCreated: 1475290748\nlicenseType: Free\nTextureImporter:\n "
},
{
"path": "Assets/Game/Images/face/0202.png.meta",
"chars": 1208,
"preview": "fileFormatVersion: 2\nguid: 90c4c47701f497847899ee4acf198361\ntimeCreated: 1475290748\nlicenseType: Free\nTextureImporter:\n "
},
{
"path": "Assets/Game/Images/face/0203.png.meta",
"chars": 1208,
"preview": "fileFormatVersion: 2\nguid: 1bfa89fb2f4b81b46a8b18d31c50d2b2\ntimeCreated: 1475290747\nlicenseType: Free\nTextureImporter:\n "
},
{
"path": "Assets/Game/Images/face.meta",
"chars": 192,
"preview": "fileFormatVersion: 2\nguid: d49f9a80226fb2d43889709c0ddb1998\nfolderAsset: yes\ntimeCreated: 1475290679\nlicenseType: Free\nD"
},
{
"path": "Assets/Game/Images/num/+.png.meta",
"chars": 1208,
"preview": "fileFormatVersion: 2\nguid: ee4d297ad55eb6642be52b8ad7ce597f\ntimeCreated: 1475288826\nlicenseType: Free\nTextureImporter:\n "
},
{
"path": "Assets/Game/Images/num/-.png.meta",
"chars": 1208,
"preview": "fileFormatVersion: 2\nguid: b73574b7669bab942b875279e4e01fd4\ntimeCreated: 1475288826\nlicenseType: Free\nTextureImporter:\n "
},
{
"path": "Assets/Game/Images/num/0.png.meta",
"chars": 1208,
"preview": "fileFormatVersion: 2\nguid: 448be106794026d4891045dead0b0c10\ntimeCreated: 1475288826\nlicenseType: Free\nTextureImporter:\n "
},
{
"path": "Assets/Game/Images/num/1.png.meta",
"chars": 1208,
"preview": "fileFormatVersion: 2\nguid: bb2a46b41f14fd043b2a15cc3afa89a5\ntimeCreated: 1475288826\nlicenseType: Free\nTextureImporter:\n "
},
{
"path": "Assets/Game/Images/num/2.png.meta",
"chars": 1208,
"preview": "fileFormatVersion: 2\nguid: a920a31557130fd4392ed11cc4f5cde4\ntimeCreated: 1475288826\nlicenseType: Free\nTextureImporter:\n "
},
{
"path": "Assets/Game/Images/num/3.png.meta",
"chars": 1208,
"preview": "fileFormatVersion: 2\nguid: f78572fbf789e764ab689fdb9a6678a5\ntimeCreated: 1475288827\nlicenseType: Free\nTextureImporter:\n "
},
{
"path": "Assets/Game/Images/num/4.png.meta",
"chars": 1208,
"preview": "fileFormatVersion: 2\nguid: effdadaa3f670864aa1a1ad924b2c84c\ntimeCreated: 1475288827\nlicenseType: Free\nTextureImporter:\n "
},
{
"path": "Assets/Game/Images/num/5.png.meta",
"chars": 1208,
"preview": "fileFormatVersion: 2\nguid: bedb6fccbfc4ada4795c4974b5e1d5d1\ntimeCreated: 1475288826\nlicenseType: Free\nTextureImporter:\n "
},
{
"path": "Assets/Game/Images/num/6.png.meta",
"chars": 1208,
"preview": "fileFormatVersion: 2\nguid: 0137ba463e7d2af4185c175cbb5d7ef9\ntimeCreated: 1475288825\nlicenseType: Free\nTextureImporter:\n "
},
{
"path": "Assets/Game/Images/num/7.png.meta",
"chars": 1208,
"preview": "fileFormatVersion: 2\nguid: 007f51b12131499408d8eb1e966f4a13\ntimeCreated: 1475288824\nlicenseType: Free\nTextureImporter:\n "
},
{
"path": "Assets/Game/Images/num/8.png.meta",
"chars": 1208,
"preview": "fileFormatVersion: 2\nguid: 1e442073bd5a83540831526cf6b8ffba\ntimeCreated: 1475288825\nlicenseType: Free\nTextureImporter:\n "
},
{
"path": "Assets/Game/Images/num/9.png.meta",
"chars": 1208,
"preview": "fileFormatVersion: 2\nguid: 3ea6ceaf13333284abeb18992f0d00da\ntimeCreated: 1475288825\nlicenseType: Free\nTextureImporter:\n "
},
{
"path": "Assets/Game/Images/num.meta",
"chars": 192,
"preview": "fileFormatVersion: 2\nguid: 61bceac2d08e72a43927a6ca2b73ceda\nfolderAsset: yes\ntimeCreated: 1475288820\nlicenseType: Free\nD"
},
{
"path": "Assets/Game/Images.meta",
"chars": 192,
"preview": "fileFormatVersion: 2\nguid: 5e1f5b75292887f448e6bc8a4d02f65d\nfolderAsset: yes\ntimeCreated: 1475288778\nlicenseType: Free\nD"
},
{
"path": "Assets/Game/Models/CubeMap.mat.meta",
"chars": 180,
"preview": "fileFormatVersion: 2\nguid: d57775a52c3b77a4fa822d2cbe1b6e28\ntimeCreated: 1470559566\nlicenseType: Free\nNativeFormatImport"
},
{
"path": "Assets/Game/Models/CubeMap.shader",
"chars": 670,
"preview": "Shader \"Example/CubeMap\" {\n\tProperties{\n\t\t_MainTex(\"Texture\",2D) = \"white\" {}\n\t\t_BumpMap(\"Bumpmap\",2D) = \"bump\" {}\n\t\t_C"
},
{
"path": "Assets/Game/Models/CubeMap.shader.meta",
"chars": 196,
"preview": "fileFormatVersion: 2\nguid: df77af1b98a2cfc4faf9c1f500bf7f4e\ntimeCreated: 1470559566\nlicenseType: Free\nShaderImporter:\n "
},
{
"path": "Assets/Game/Models/Teddy/Materials/TeddyBear_color.mat.meta",
"chars": 144,
"preview": "fileFormatVersion: 2\r\nguid: 5170bca6033460448afb5938543ca8b1\r\nNativeFormatImporter:\r\n userData: \r\n assetBundleName: \r\n"
},
{
"path": "Assets/Game/Models/Teddy/Materials/TeddyBear_color.tga.meta",
"chars": 1200,
"preview": "fileFormatVersion: 2\r\nguid: 13ec991b6199ff54085108d33af49c79\r\nTextureImporter:\r\n fileIDToRecycleName: {}\r\n serializedV"
},
{
"path": "Assets/Game/Models/Teddy/Materials/Teddy_DIF.mat.meta",
"chars": 144,
"preview": "fileFormatVersion: 2\r\nguid: ed769c2e0ccae0f4c95e3494f3bdbecf\r\nNativeFormatImporter:\r\n userData: \r\n assetBundleName: \r\n"
},
{
"path": "Assets/Game/Models/Teddy/Materials/Teddy_DIF.psd.meta",
"chars": 1200,
"preview": "fileFormatVersion: 2\r\nguid: e03df07cc0e635c449f2d796328840ad\r\nTextureImporter:\r\n fileIDToRecycleName: {}\r\n serializedV"
},
{
"path": "Assets/Game/Models/Teddy/Materials/Teddy_Eye.mat.meta",
"chars": 144,
"preview": "fileFormatVersion: 2\r\nguid: f5b7e16e3bc986144bb38e058ac7516b\r\nNativeFormatImporter:\r\n userData: \r\n assetBundleName: \r\n"
},
{
"path": "Assets/Game/Models/Teddy/Materials/Teddy_Eye.psd.meta",
"chars": 1199,
"preview": "fileFormatVersion: 2\r\nguid: d7540a3a54457354bb75b58f978f763c\r\nTextureImporter:\r\n fileIDToRecycleName: {}\r\n serializedV"
},
{
"path": "Assets/Game/Models/Teddy/Materials.meta",
"chars": 201,
"preview": "fileFormatVersion: 2\r\nguid: 5fe267c58209a394b8d6b55e791e2051\r\nfolderAsset: yes\r\ntimeCreated: 1451461408\r\nlicenseType: Fr"
},
{
"path": "Assets/Game/Models/Teddy/Teddy.controller.meta",
"chars": 188,
"preview": "fileFormatVersion: 2\r\nguid: 17ca7bb459b01f2489da46de7962d709\r\ntimeCreated: 1451883534\r\nlicenseType: Free\r\nNativeFormatIm"
},
{
"path": "Assets/Game/Models/Teddy/Teddy.fbx.meta",
"chars": 22541,
"preview": "fileFormatVersion: 2\r\nguid: 5eb27fd0b014c9847ad0ce07b511ac21\r\ntimeCreated: 1451461409\r\nlicenseType: Free\r\nModelImporter:"
},
{
"path": "Assets/Game/Models/Teddy/TeddyBear.fbx.meta",
"chars": 3145,
"preview": "fileFormatVersion: 2\r\nguid: 51305fd23db2d994d9ee372ceac378c3\r\ntimeCreated: 1451461409\r\nlicenseType: Free\r\nModelImporter:"
},
{
"path": "Assets/Game/Models/Teddy.meta",
"chars": 192,
"preview": "fileFormatVersion: 2\nguid: a66a4f61606a24dd3816d8e90d3a4c84\nfolderAsset: yes\ntimeCreated: 1474243881\nlicenseType: Free\nD"
},
{
"path": "Assets/Game/Models/cubemap.jpg.meta",
"chars": 1233,
"preview": "fileFormatVersion: 2\nguid: 879a814d4a496da44ade1bc4d510e583\ntimeCreated: 1470559565\nlicenseType: Free\nTextureImporter:\n "
},
{
"path": "Assets/Game/Models.meta",
"chars": 192,
"preview": "fileFormatVersion: 2\nguid: 2fe00afb39194574f811581265ac548e\nfolderAsset: yes\ntimeCreated: 1470558010\nlicenseType: Free\nD"
},
{
"path": "Assets/Game/Resources/Atlas/common.png.meta",
"chars": 2516,
"preview": "fileFormatVersion: 2\nguid: 70d5c8ff6242c9b4eb6cb9c65da6ffec\ntimeCreated: 1479526118\nlicenseType: Free\nTextureImporter:\n "
},
{
"path": "Assets/Game/Resources/Atlas/face.png.meta",
"chars": 3075,
"preview": "fileFormatVersion: 2\nguid: 5bf4e6476f9fdb540aa7b291191d6902\ntimeCreated: 1479526119\nlicenseType: Free\nTextureImporter:\n "
},
{
"path": "Assets/Game/Resources/Atlas/num.png.meta",
"chars": 4837,
"preview": "fileFormatVersion: 2\nguid: 205b5b726328cb34e85eafe453d86ae7\ntimeCreated: 1479526119\nlicenseType: Free\nTextureImporter:\n "
},
{
"path": "Assets/Game/Resources/Atlas.meta",
"chars": 192,
"preview": "fileFormatVersion: 2\nguid: 1234bb5c43cd5a043a28fd3a9b0be90f\nfolderAsset: yes\ntimeCreated: 1470452684\nlicenseType: Free\nD"
},
{
"path": "Assets/Game/Resources/Audios/dungeon01.mp3.meta",
"chars": 463,
"preview": "fileFormatVersion: 2\nguid: 8dbd1e03c988b466b852e3c213eeb461\ntimeCreated: 1473296946\nlicenseType: Free\nAudioImporter:\n s"
},
{
"path": "Assets/Game/Resources/Audios/dungeon02.mp3.meta",
"chars": 463,
"preview": "fileFormatVersion: 2\nguid: da5b1bf15a14c46ee871f8e12d327142\ntimeCreated: 1473296947\nlicenseType: Free\nAudioImporter:\n s"
},
{
"path": "Assets/Game/Resources/Audios/effect2.mp3.meta",
"chars": 463,
"preview": "fileFormatVersion: 2\nguid: 319014ba08d754385bdd849aa9a29567\ntimeCreated: 1473296944\nlicenseType: Free\nAudioImporter:\n s"
},
{
"path": "Assets/Game/Resources/Audios/effect_bombPattern.mp3.meta",
"chars": 463,
"preview": "fileFormatVersion: 2\nguid: 0ebb5d2a52b5f42e5a7249e415ed0fbe\ntimeCreated: 1473296943\nlicenseType: Free\nAudioImporter:\n s"
},
{
"path": "Assets/Game/Resources/Audios/effect_buttonClick.mp3.meta",
"chars": 463,
"preview": "fileFormatVersion: 2\nguid: 37aa1cc8f3b4c432eadf1c2dfccc7bea\ntimeCreated: 1473296944\nlicenseType: Free\nAudioImporter:\n s"
},
{
"path": "Assets/Game/Resources/Audios/effect_clearPattern.mp3.meta",
"chars": 463,
"preview": "fileFormatVersion: 2\nguid: 484c67a70616d4650ac14756d57425b3\ntimeCreated: 1473296944\nlicenseType: Free\nAudioImporter:\n s"
},
{
"path": "Assets/Game/Resources/Audios/effect_game_fail.mp3.meta",
"chars": 463,
"preview": "fileFormatVersion: 2\nguid: 17a41cc94d9094b40851ebf214613dfd\ntimeCreated: 1473296943\nlicenseType: Free\nAudioImporter:\n s"
},
{
"path": "Assets/Game/Resources/Audios/effect_game_pass.mp3.meta",
"chars": 463,
"preview": "fileFormatVersion: 2\nguid: 2eb0b7e50b0dc48019e981d19c147dd9\ntimeCreated: 1473296944\nlicenseType: Free\nAudioImporter:\n s"
},
{
"path": "Assets/Game/Resources/Audios/effect_ice.mp3.meta",
"chars": 463,
"preview": "fileFormatVersion: 2\nguid: 1892b6eb574c24e4a80aab733f2933a4\ntimeCreated: 1473296943\nlicenseType: Free\nAudioImporter:\n s"
},
{
"path": "Assets/Game/Resources/Audios/effect_noclear.mp3.meta",
"chars": 463,
"preview": "fileFormatVersion: 2\nguid: 84f17252894a24abaaeff2b54ed95827\ntimeCreated: 1473296944\nlicenseType: Free\nAudioImporter:\n s"
},
{
"path": "Assets/Game/Resources/Audios/effect_timewarning.mp3.meta",
"chars": 463,
"preview": "fileFormatVersion: 2\nguid: 9e5eb50190f324dbc9e397d6abfc2381\ntimeCreated: 1473296946\nlicenseType: Free\nAudioImporter:\n s"
},
{
"path": "Assets/Game/Resources/Audios/effect_unswap.mp3.meta",
"chars": 463,
"preview": "fileFormatVersion: 2\nguid: 6f4f592f0d9eb44c39fe687de94206d2\ntimeCreated: 1473296944\nlicenseType: Free\nAudioImporter:\n s"
},
{
"path": "Assets/Game/Resources/Audios/endgame.mp3.meta",
"chars": 463,
"preview": "fileFormatVersion: 2\nguid: 02ec4f2831d9646c5be607156743fe35\ntimeCreated: 1473296943\nlicenseType: Free\nAudioImporter:\n s"
},
{
"path": "Assets/Game/Resources/Audios/enemy1_down 1.mp3.meta",
"chars": 463,
"preview": "fileFormatVersion: 2\nguid: de49e13493a7c4d8989560d86606945c\ntimeCreated: 1473296947\nlicenseType: Free\nAudioImporter:\n s"
},
{
"path": "Assets/Game/Resources/Audios/enemy1_down.mp3.meta",
"chars": 463,
"preview": "fileFormatVersion: 2\nguid: d7c5ae8add6f24ef7b5075f77940b600\ntimeCreated: 1473296946\nlicenseType: Free\nAudioImporter:\n s"
},
{
"path": "Assets/Game/Resources/Audios/enemy2_down 1.mp3.meta",
"chars": 463,
"preview": "fileFormatVersion: 2\nguid: 6bd87f4c748304d5b82b472e2a3686fc\ntimeCreated: 1473296944\nlicenseType: Free\nAudioImporter:\n s"
},
{
"path": "Assets/Game/Resources/Audios/enemy2_down.mp3.meta",
"chars": 463,
"preview": "fileFormatVersion: 2\nguid: 298ee82a478c74798bab40524cb660e7\ntimeCreated: 1473296944\nlicenseType: Free\nAudioImporter:\n s"
},
{
"path": "Assets/Game/Resources/Audios/enemy2_out 1.mp3.meta",
"chars": 463,
"preview": "fileFormatVersion: 2\nguid: afedb81c9dd854260a9c1fb80d53ed05\ntimeCreated: 1473296946\nlicenseType: Free\nAudioImporter:\n s"
},
{
"path": "Assets/Game/Resources/Audios/enemy2_out.mp3.meta",
"chars": 463,
"preview": "fileFormatVersion: 2\nguid: f0cc27073ee724b13a5bf8f9656560b0\ntimeCreated: 1473296948\nlicenseType: Free\nAudioImporter:\n s"
},
{
"path": "Assets/Game/Resources/Audios/enemy3_down 1.mp3.meta",
"chars": 463,
"preview": "fileFormatVersion: 2\nguid: f00612b8d5a454ce3b25236aab3c4a30\ntimeCreated: 1473296948\nlicenseType: Free\nAudioImporter:\n s"
},
{
"path": "Assets/Game/Resources/Audios/enemy3_down.mp3.meta",
"chars": 463,
"preview": "fileFormatVersion: 2\nguid: c0bc75c264fbe4461a72d62d17f8f4ec\ntimeCreated: 1473296946\nlicenseType: Free\nAudioImporter:\n s"
},
{
"path": "Assets/Game/Resources/Audios.meta",
"chars": 192,
"preview": "fileFormatVersion: 2\nguid: b0ec83e06ce574c03b787170c33a09b1\nfolderAsset: yes\ntimeCreated: 1473211413\nlicenseType: Free\nD"
},
{
"path": "Assets/Game/Resources/Prefabs/MsgBox.prefab.meta",
"chars": 188,
"preview": "fileFormatVersion: 2\r\nguid: 24b7bba068d3d424eaf9b4f21b16b049\r\ntimeCreated: 1451470029\r\nlicenseType: Free\r\nNativeFormatIm"
},
{
"path": "Assets/Game/Resources/Prefabs/Teddy.prefab.meta",
"chars": 180,
"preview": "fileFormatVersion: 2\nguid: 569be71afa6ba4476b8594abe3b6ee39\ntimeCreated: 1474634941\nlicenseType: Free\nNativeFormatImport"
},
{
"path": "Assets/Game/Resources/Prefabs/WindowGridView.prefab.meta",
"chars": 188,
"preview": "fileFormatVersion: 2\r\nguid: c2e2551d2b5cfff4daad7ab7451d013f\r\ntimeCreated: 1451532866\r\nlicenseType: Free\r\nNativeFormatIm"
},
{
"path": "Assets/Game/Resources/Prefabs/grid_cell.prefab.meta",
"chars": 188,
"preview": "fileFormatVersion: 2\r\nguid: 624e758ff2c454b4ab9bb9ecca8c731b\r\ntimeCreated: 1451057882\r\nlicenseType: Free\r\nNativeFormatIm"
},
{
"path": "Assets/Game/Resources/Prefabs/list_cell.prefab.meta",
"chars": 188,
"preview": "fileFormatVersion: 2\r\nguid: 9d0b87f5fc08d4e9caff6aac5c944ecc\r\ntimeCreated: 1451053085\r\nlicenseType: Free\r\nNativeFormatIm"
},
{
"path": "Assets/Game/Resources/Prefabs/page_cell.prefab.meta",
"chars": 188,
"preview": "fileFormatVersion: 2\r\nguid: 4ab0713d48118415d9e9b6caa6eb2887\r\ntimeCreated: 1451052288\r\nlicenseType: Free\r\nNativeFormatIm"
},
{
"path": "Assets/Game/Resources/Prefabs/scorl_test.prefab.meta",
"chars": 180,
"preview": "fileFormatVersion: 2\nguid: 82a09130a2210442b8e527444426c941\ntimeCreated: 1473297055\nlicenseType: Free\nNativeFormatImport"
},
{
"path": "Assets/Game/Resources/Prefabs/tbl_test.prefab.meta",
"chars": 180,
"preview": "fileFormatVersion: 2\nguid: 03ca883b53ff4eb4899d25acbc6c154f\ntimeCreated: 1475312520\nlicenseType: Free\nNativeFormatImport"
},
{
"path": "Assets/Game/Resources/Prefabs.meta",
"chars": 192,
"preview": "fileFormatVersion: 2\nguid: 50fcb62bf8eeb0e44a520e87654c6b2d\nfolderAsset: yes\ntimeCreated: 1470558010\nlicenseType: Free\nD"
},
{
"path": "Assets/Game/Resources/Scenes/first.unity.meta",
"chars": 183,
"preview": "fileFormatVersion: 2\r\nguid: fbb49926c06e840f085b1db2cc451b53\r\ntimeCreated: 1449290794\r\nlicenseType: Free\r\nDefaultImporte"
},
{
"path": "Assets/Game/Resources/Scenes/second.unity.meta",
"chars": 175,
"preview": "fileFormatVersion: 2\nguid: c3296db35bcf4034085f297866ad8039\ntimeCreated: 1470559565\nlicenseType: Free\nDefaultImporter:\n "
},
{
"path": "Assets/Game/Resources/Scenes/start.unity.meta",
"chars": 175,
"preview": "fileFormatVersion: 2\nguid: f3d8e904190f75d4191b5484059644d3\ntimeCreated: 1470559565\nlicenseType: Free\nDefaultImporter:\n "
},
{
"path": "Assets/Game/Resources/Scenes.meta",
"chars": 201,
"preview": "fileFormatVersion: 2\r\nguid: 6792e0cca877345cc8b3a5eb872f959d\r\nfolderAsset: yes\r\ntimeCreated: 1449290812\r\nlicenseType: Fr"
},
{
"path": "Assets/Game/Resources/Scripts/Demo/Firstui.cs",
"chars": 6277,
"preview": "using UnityEngine;\r\nusing UnityEngine.UI;\r\nusing System.Collections;\r\nusing System.Collections.Generic;\r\nusing UnityEng"
},
{
"path": "Assets/Game/Resources/Scripts/Demo/Firstui.cs.meta",
"chars": 275,
"preview": "fileFormatVersion: 2\r\nguid: cebf28ad0381a9948ac7d7b861f6f763\r\ntimeCreated: 1451279137\r\nlicenseType: Free\r\nMonoImporter:\r"
},
{
"path": "Assets/Game/Resources/Scripts/Demo/Secondui.cs",
"chars": 1574,
"preview": "using UnityEngine;\r\nusing UnityEngine.UI;\r\nusing Lui;\r\n\r\npublic class Secondui : MonoBehaviour {\r\n\r\n public Button b"
},
{
"path": "Assets/Game/Resources/Scripts/Demo/Secondui.cs.meta",
"chars": 275,
"preview": "fileFormatVersion: 2\r\nguid: ad3ebd9f68084764693da16070044427\r\ntimeCreated: 1451278800\r\nlicenseType: Free\r\nMonoImporter:\r"
},
{
"path": "Assets/Game/Resources/Scripts/Demo/WindowGridView.cs",
"chars": 1252,
"preview": "using UnityEngine;\nusing UnityEngine.UI;\nusing System.Collections;\nusing System.Collections.Generic;\nusing Lui;\n\npublic"
},
{
"path": "Assets/Game/Resources/Scripts/Demo/WindowGridView.cs.meta",
"chars": 275,
"preview": "fileFormatVersion: 2\r\nguid: c8877e477c64e7f4883ce6c85912f424\r\ntimeCreated: 1451377646\r\nlicenseType: Free\r\nMonoImporter:\r"
},
{
"path": "Assets/Game/Resources/Scripts/Demo.meta",
"chars": 201,
"preview": "fileFormatVersion: 2\r\nguid: 5204e3f0979e37b439aa6ae6a2a9b923\r\nfolderAsset: yes\r\ntimeCreated: 1451377644\r\nlicenseType: Fr"
},
{
"path": "Assets/Game/Resources/Scripts/LBase/Game.cs",
"chars": 4341,
"preview": "using SLua;\r\nusing System.IO;\r\nusing UnityEngine;\r\nusing System.Collections;\r\nusing UnityEngine.Events;\r\nusing UnityEng"
},
{
"path": "Assets/Game/Resources/Scripts/LBase/Game.cs.meta",
"chars": 263,
"preview": "fileFormatVersion: 2\nguid: 1e64327fc1db0624eb9e033e2ad943d5\ntimeCreated: 1462326417\nlicenseType: Free\nMonoImporter:\n se"
},
{
"path": "Assets/Game/Resources/Scripts/LBase/LArchiveBin.cs",
"chars": 11655,
"preview": "using UnityEngine;\r\nusing System;\r\nusing System.IO;\r\nusing System.Text;\r\n\r\npublic class LArchiveBin {\r\n\r\n // buff s"
},
{
"path": "Assets/Game/Resources/Scripts/LBase/LArchiveBin.cs.meta",
"chars": 263,
"preview": "fileFormatVersion: 2\nguid: 03b9753422ec3b143a5cc69b81fa9343\ntimeCreated: 1455897062\nlicenseType: Free\nMonoImporter:\n se"
},
{
"path": "Assets/Game/Resources/Scripts/LBase/LArchiveBinFile.cs",
"chars": 1161,
"preview": "using System.IO;\r\nusing System;\r\n\r\npublic class LArchiveBinFile : LArchiveBin {\r\n\r\n /**\r\n * open file.\r\n * @"
},
{
"path": "Assets/Game/Resources/Scripts/LBase/LArchiveBinFile.cs.meta",
"chars": 263,
"preview": "fileFormatVersion: 2\nguid: 1b7dbb05460093847b32c5c3c3409b5f\ntimeCreated: 1455895084\nlicenseType: Free\nMonoImporter:\n se"
},
{
"path": "Assets/Game/Resources/Scripts/LBase/LGameConfig.cs",
"chars": 6726,
"preview": "using UnityEngine;\r\nusing UnityEngine.Events;\r\nusing System.IO;\r\nusing System.Xml;\r\nusing SLua;\r\n\r\n[CustomLuaClass]\r\npu"
},
{
"path": "Assets/Game/Resources/Scripts/LBase/LGameConfig.cs.meta",
"chars": 263,
"preview": "fileFormatVersion: 2\nguid: 0b6447a53af63924190cab30b737edfa\ntimeCreated: 1455894973\nlicenseType: Free\nMonoImporter:\n se"
},
{
"path": "Assets/Game/Resources/Scripts/LBase/LLoadBundle.cs",
"chars": 6094,
"preview": "using UnityEngine;\r\nusing System.Collections;\r\nusing System.Collections.Generic;\r\nusing UnityEngine.Events;\r\nusing Syst"
},
{
"path": "Assets/Game/Resources/Scripts/LBase/LLoadBundle.cs.meta",
"chars": 263,
"preview": "fileFormatVersion: 2\nguid: fb2278992915ffc48af7ebc05c0a638d\ntimeCreated: 1462714778\nlicenseType: Free\nMonoImporter:\n se"
},
{
"path": "Assets/Game/Resources/Scripts/LBase/LLuaBehaviourBase.cs",
"chars": 8194,
"preview": "using UnityEngine;\r\nusing SLua;\r\nusing UnityEngine.EventSystems;\r\n\r\n[CustomLuaClass]\r\npublic class LLuaBehaviourBase : "
},
{
"path": "Assets/Game/Resources/Scripts/LBase/LLuaBehaviourBase.cs.meta",
"chars": 263,
"preview": "fileFormatVersion: 2\nguid: fb406b9fd24cd0649bca482338310f87\ntimeCreated: 1455937516\nlicenseType: Free\nMonoImporter:\n se"
},
{
"path": "Assets/Game/Resources/Scripts/LBase/LLuaBehaviourInterface.cs",
"chars": 31090,
"preview": "using UnityEngine;\nusing SLua;\nusing System.Collections;\nusing UnityEngine.EventSystems;\n\n// The lua behavior base clas"
},
{
"path": "Assets/Game/Resources/Scripts/LBase/LLuaBehaviourInterface.cs.meta",
"chars": 263,
"preview": "fileFormatVersion: 2\nguid: 7d09a01b226facd47af10c9877fad629\ntimeCreated: 1455934227\nlicenseType: Free\nMonoImporter:\n se"
},
{
"path": "Assets/Game/Resources/Scripts/LBase/LLuaTable.cs",
"chars": 11603,
"preview": "using UnityEngine;\nusing SLua;\nusing System.Collections;\nusing System;\n\n// The lua table operator base class.\npublic cla"
},
{
"path": "Assets/Game/Resources/Scripts/LBase/LLuaTable.cs.meta",
"chars": 263,
"preview": "fileFormatVersion: 2\nguid: 220eea2e59317704da5c5cc8262843e6\ntimeCreated: 1455934558\nlicenseType: Free\nMonoImporter:\n se"
},
{
"path": "Assets/Game/Resources/Scripts/LBase/LResUpdate.cs",
"chars": 9348,
"preview": "using UnityEngine;\r\nusing UnityEngine.Events;\r\nusing System.Collections;\r\nusing System.Collections.Generic;\r\n// using I"
},
{
"path": "Assets/Game/Resources/Scripts/LBase/LResUpdate.cs.meta",
"chars": 263,
"preview": "fileFormatVersion: 2\nguid: db38fd50e4b385c458a9d2c440dc91e4\ntimeCreated: 1462326418\nlicenseType: Free\nMonoImporter:\n se"
},
{
"path": "Assets/Game/Resources/Scripts/LBase/LUtil.cs",
"chars": 11154,
"preview": "using System;\r\nusing System.Text.RegularExpressions;\r\n// using ICSharpCode.SharpZipLib.Zip;\r\nusing System.IO;\r\nusing Un"
},
{
"path": "Assets/Game/Resources/Scripts/LBase/LUtil.cs.meta",
"chars": 263,
"preview": "fileFormatVersion: 2\nguid: 7c081dfb205e25d40bd8ea1e543b294b\ntimeCreated: 1463798881\nlicenseType: Free\nMonoImporter:\n se"
},
{
"path": "Assets/Game/Resources/Scripts/LBase.meta",
"chars": 192,
"preview": "fileFormatVersion: 2\nguid: 8f20a696712a96d43b5715b6c1384f66\nfolderAsset: yes\ntimeCreated: 1463888634\nlicenseType: Free\nD"
},
{
"path": "Assets/Game/Resources/Scripts/LWidget/LButton.cs",
"chars": 3292,
"preview": "/****************************************************************************\r\nCopyright (c) 2015 Lingjijian\r\n\r\nCreated"
},
{
"path": "Assets/Game/Resources/Scripts/LWidget/LButton.cs.meta",
"chars": 263,
"preview": "fileFormatVersion: 2\nguid: d6ec0a5376f5eaf4287991f28dd42a1a\ntimeCreated: 1451892420\nlicenseType: Free\nMonoImporter:\n se"
},
{
"path": "Assets/Game/Resources/Scripts/LWidget/LControlView.cs",
"chars": 8130,
"preview": "/****************************************************************************\r\nCopyright (c) 2015 Lingjijian\r\n\r\nCreated"
},
{
"path": "Assets/Game/Resources/Scripts/LWidget/LControlView.cs.meta",
"chars": 263,
"preview": "fileFormatVersion: 2\nguid: 7e34fc3cafa660d4b83b2ca79dbd94cf\ntimeCreated: 1450354509\nlicenseType: Free\nMonoImporter:\n se"
},
{
"path": "Assets/Game/Resources/Scripts/LWidget/LDragView.cs",
"chars": 2344,
"preview": "/****************************************************************************\r\nCopyright (c) 2015 Lingjijian\r\n\r\nCreated"
},
{
"path": "Assets/Game/Resources/Scripts/LWidget/LDragView.cs.meta",
"chars": 263,
"preview": "fileFormatVersion: 2\nguid: 941cb5e4ad79c794cad327e0400cb8a9\ntimeCreated: 1484563108\nlicenseType: Free\nMonoImporter:\n se"
},
{
"path": "Assets/Game/Resources/Scripts/LWidget/LExpandListView.cs",
"chars": 9297,
"preview": "/****************************************************************************\r\nCopyright (c) 2015 Lingjijian\r\n\r\nCreated"
},
{
"path": "Assets/Game/Resources/Scripts/LWidget/LExpandListView.cs.meta",
"chars": 263,
"preview": "fileFormatVersion: 2\nguid: 2add4b83e9680b2408158f0b77a530ff\ntimeCreated: 1482831210\nlicenseType: Free\nMonoImporter:\n se"
},
{
"path": "Assets/Game/Resources/Scripts/LWidget/LExpandNode.cs",
"chars": 4222,
"preview": "/****************************************************************************\r\nCopyright (c) 2015 Lingjijian\r\n\r\nCreated"
},
{
"path": "Assets/Game/Resources/Scripts/LWidget/LExpandNode.cs.meta",
"chars": 263,
"preview": "fileFormatVersion: 2\nguid: dd6731833af457c4cbda2c6859745a6e\ntimeCreated: 1482831210\nlicenseType: Free\nMonoImporter:\n se"
},
{
"path": "Assets/Game/Resources/Scripts/LWidget/LFPSView.cs",
"chars": 3708,
"preview": "/****************************************************************************\r\nCopyright (c) 2015 Lingjijian\r\n\r\nCreated"
},
{
"path": "Assets/Game/Resources/Scripts/LWidget/LFPSView.cs.meta",
"chars": 263,
"preview": "fileFormatVersion: 2\nguid: d74b20e60f13ece4490066a84d0800f9\ntimeCreated: 1463994988\nlicenseType: Free\nMonoImporter:\n se"
},
{
"path": "Assets/Game/Resources/Scripts/LWidget/LGridPageView.cs",
"chars": 9690,
"preview": "/****************************************************************************\r\nCopyright (c) 2015 Lingjijian\r\n\r\nCreated"
},
{
"path": "Assets/Game/Resources/Scripts/LWidget/LGridPageView.cs.meta",
"chars": 263,
"preview": "fileFormatVersion: 2\nguid: c52e6ad8d48e15c4b87338a5bf66e0eb\ntimeCreated: 1451049160\nlicenseType: Free\nMonoImporter:\n se"
},
{
"path": "Assets/Game/Resources/Scripts/LWidget/LGridView.cs",
"chars": 13378,
"preview": "/****************************************************************************\r\nCopyright (c) 2015 Lingjijian\r\n\r\nCreated"
},
{
"path": "Assets/Game/Resources/Scripts/LWidget/LGridView.cs.meta",
"chars": 263,
"preview": "fileFormatVersion: 2\nguid: 5d5632768e283584696053695f60af68\ntimeCreated: 1450926459\nlicenseType: Free\nMonoImporter:\n se"
},
{
"path": "Assets/Game/Resources/Scripts/LWidget/LHUDSort.cs",
"chars": 2123,
"preview": "/****************************************************************************\r\nCopyright (c) 2015 Lingjijian\r\n\r\nCreated"
},
{
"path": "Assets/Game/Resources/Scripts/LWidget/LHUDSort.cs.meta",
"chars": 263,
"preview": "fileFormatVersion: 2\nguid: 0539c5e78915d0141a5dd228dc6ce6b7\ntimeCreated: 1463744568\nlicenseType: Free\nMonoImporter:\n se"
},
{
"path": "Assets/Game/Resources/Scripts/LWidget/LHUDView.cs",
"chars": 1643,
"preview": "/****************************************************************************\r\nCopyright (c) 2015 Lingjijian\r\n\r\nCreated"
},
{
"path": "Assets/Game/Resources/Scripts/LWidget/LHUDView.cs.meta",
"chars": 263,
"preview": "fileFormatVersion: 2\nguid: fdeca989205b3eb45a1bbb970eba926d\ntimeCreated: 1463742991\nlicenseType: Free\nMonoImporter:\n se"
}
]
// ... and 774 more files (download for full content)
About this extraction
This page contains the full source code of the LingJiJian/uLui GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 974 files (9.2 MB), approximately 2.5M tokens, and a symbol index with 8040 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.