miduo_client/Assets/ManagedResources/~Lua/Common/define.lua

73 lines
1.9 KiB
Lua
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

--协议类型--
ProtocalType = {
BINARY = 0,
PB_LUA = 1,
PBC = 2,
SPROTO = 3,
}
--当前使用的协议类型--
TestProtoType = ProtocalType.BINARY
Util = GameLogic.Util
AppConst = GameLogic.AppConst
LuaHelper = GameLogic.LuaHelper
ByteBuffer = GameLogic.ByteBuffer
resMgr = App.ResMgr
--soundMgr = App.SoundMgr
networkMgr = App.NetWorkMgr
gameMgr = App.GameMgr
speakMgr = App.SpeakMgr
RRenderMgr = App.RRenderMgr
--shareSDKMgr = App.ShareSDKMgr
SDKMgr = App.SDKMgr
VersionManager=App.VersionMgr
ConfigMgr=App.ConfigMgr
--umengsdk=App.UmengSdkMgr
imageDownloadMgr = App.ImageDownloadMgr
--BuglySdkManager=App.BuglySdkMgr
--PhoneMgr = App.PhoneMgr
PoolMgr = App.ObjectPoolMgr
WWW = UnityEngine.WWW
GameObject = UnityEngine.GameObject
Camera = UnityEngine.Camera
Input = UnityEngine.Input
Screen = UnityEngine.Screen
RectTransformUtility = UnityEngine.RectTransformUtility
LayoutUtility = UnityEngine.UI.LayoutUtility
LayoutRebuilder = UnityEngine.UI.LayoutRebuilder
Tweening = DG.Tweening
Ease = DG.Tweening.Ease
DoTween = DG.Tweening.DOTween
Rect = UnityEngine.Rect
PlayerPrefs = UnityEngine.PlayerPrefs
Shader = UnityEngine.Shader
IsWeChatLogin = true
IsAccountLogin = false
IsIosPublish=false
--是否为微信自动登录
IsAutoWeChatLogin = true
--为0显示所有log为1显示警告和错误为2显示错误
LogModeLevel = 0
--是否开启战斗调试
IsOpenBattleDebug = not AppConst.luaBundleMode
AppConst.ShareSDKAppID = "1f2577fdf25ab"
AppConst.ShareSDKSecret = "3a746f9f16fcf82b03fd33a7f2a33e53"
AppConst.WeChatAppID = "wxe62c94a32796c496"
AppConst.WeChatSecret = "e5278caf943b221493bb67b686bbb41f"
AppConst.UmengAppKey_Andriod = "595cabca677baa73be000abe"
AppConst.UmengAppKey_Ios = "595cac0fa325110ac80018ca"
AppConst.UmengChannleId = "App Store"
AppConst.Bugly_IosAppId = "c07e578650"
AppConst.Bugly_AndroidAppId = "9b909facba"
AppConst.LaQi_JoinRoom_Url = "com.doudou.dwc://data/openwith?"