【ios】lua文件格式修改

dev_chengFeng
JLIOSM1 2021-04-20 13:58:00 +08:00
parent cab9724de6
commit c31a82ef7f
813 changed files with 851 additions and 815 deletions

View File

@ -1,4 +1,4 @@
--[[
--[[
* @ClassName GlobalDefine
* @Description
* @Date 2019/5/9 13:56

View File

@ -1,4 +1,4 @@
Language = {
Language = {
[10001] = GetLanguageStrById(""),
[10002] = GetLanguageStrById(""),
[10003] = GetLanguageStrById(""),

View File

@ -1,4 +1,4 @@
-- Lua中的继承
-- Lua中的继承
function Inherit(tbParent, tbChild)
if not tbParent then
local o = tbChild or {}

View File

@ -1,4 +1,4 @@
--region *.lua
--region *.lua
--Date
--此文件由[BabeLua]插件自动生成

View File

@ -1,6 +1,6 @@
ServerConfigManager = { }
local _ActiveCode = 26 -- 激活版本
local _ActiveCode = 1 -- 激活版本
ServerConfigManager.SettingConfig = {
ServerVersion = "ServerVersion", -- 用于切换正式服和提审服

View File

@ -1,4 +1,4 @@
require "Message/CommonProto_pb"
require "Message/CommonProto_pb"
require "Message/MessageTypeProto_pb"
require "Base/Queue"
Network = {}

View File

@ -1,4 +1,4 @@
require("Base/BasePanel")
require("Base/BasePanel")
AchievementPanel = Inherit(BasePanel)
local this = AchievementPanel
local redPointGrid = {}--红点

View File

@ -1,4 +1,4 @@
ActivityGiftManager = {};
ActivityGiftManager = {};
local this = ActivityGiftManager
local ActivityRewardConfig = ConfigManager.GetConfig(ConfigName.ActivityRewardConfig)
local GlobalActivity = ConfigManager.GetConfig(ConfigName.GlobalActivity)

View File

@ -1,4 +1,4 @@
AllActivityManager = {};
AllActivityManager = {};
local this = AllActivityManager
local ActivityRewardConfig = ConfigManager.GetConfig(ConfigName.ActivityRewardConfig)
local GlobalActivity = ConfigManager.GetConfig(ConfigName.GlobalActivity)

View File

@ -1,4 +1,4 @@
require("Base/BasePanel")
require("Base/BasePanel")
CourtesyDressPanel = Inherit(BasePanel)
local this = CourtesyDressPanel
local chapterList = { Language[10001], Language[10002], Language[10003], Language[10004], Language[10005], Language[10006], Language[10007], Language[10008], Language[10009], Language[10010], Language[10011], Language[10012], Language[10013], Language[10014], Language[10015] }

View File

@ -1,4 +1,4 @@
require("Base/BasePanel")
require("Base/BasePanel")
OpenSeverWelfarePanel = Inherit(BasePanel)
local this = OpenSeverWelfarePanel
local activityRewardConfig = ConfigManager.GetConfig(ConfigName.ActivityRewardConfig)

View File

@ -1,4 +1,4 @@
local SevenDayGift = quick_class("SevenDayGift")
local SevenDayGift = quick_class("SevenDayGift")
local this = SevenDayGift
local selectIndex = 0
local jumpNeedBtn = 0

View File

@ -1,4 +1,4 @@
require("Base/BasePanel")
require("Base/BasePanel")
WarPowerSortPanel = Inherit(BasePanel)
local activityRewardGrid = {}
local activityRewardGridItemView = {}

View File

@ -1,4 +1,4 @@
require("Base/BasePanel")
require("Base/BasePanel")
local AdventureAlianInvasionPanel = Inherit(BasePanel)
local this = AdventureAlianInvasionPanel
-- Tab管理器

View File

@ -1,4 +1,4 @@
require("Base/BasePanel")
require("Base/BasePanel")
AdventureExploreRewardPanel = Inherit(BasePanel)
local this=AdventureExploreRewardPanel
local baseDrop={}

View File

@ -1,4 +1,4 @@
require("Base/BasePanel")
require("Base/BasePanel")
local AdventureGetRewardPopup = Inherit(BasePanel)
local this = AdventureGetRewardPopup

View File

@ -1,4 +1,4 @@
require("Base/BasePanel")
require("Base/BasePanel")
require("Modules/Adventure/View/AdventureView")
local AdventureMainPanel = Inherit(BasePanel)
local this = AdventureMainPanel

View File

@ -1,4 +1,4 @@
AdventureManager = {}
AdventureManager = {}
local this = AdventureManager
local GameSetting = ConfigManager.GetConfig(ConfigName.GameSetting)
-- local AdventureReward = ConfigManager.GetConfig(ConfigName.AdventureReward)

View File

@ -1,4 +1,4 @@
require("Base/BasePanel")
require("Base/BasePanel")
local AdventureRewardDetailPopup = Inherit(BasePanel)
local this = AdventureRewardDetailPopup

View File

@ -1,4 +1,4 @@
require("Base/BasePanel")
require("Base/BasePanel")
AdventureUpLevelPanel = Inherit(BasePanel)
local this = AdventureUpLevelPanel
local RewardGroup = ConfigManager.GetConfig(ConfigName.RewardGroup)

View File

@ -1,4 +1,4 @@
AdventureView = {}
AdventureView = {}
require("Base/BasePanel")
local MonsterGroup = ConfigManager.GetConfig(ConfigName.MonsterGroup)
local MonsterConfig = ConfigManager.GetConfig(ConfigName.MonsterConfig)

View File

@ -1,4 +1,4 @@
require("Base/BasePanel")
require("Base/BasePanel")
local AlienMainPanel = Inherit(BasePanel)
local this = AlienMainPanel
--初始化组件(用于子类重写)

View File

@ -1,4 +1,4 @@
require("Base/BasePanel")
require("Base/BasePanel")
local AlienRankRewardPopup = Inherit(BasePanel)
local this = AlienRankRewardPopup
--初始化组件(用于子类重写)

View File

@ -1,4 +1,4 @@
require("Base/BasePanel")
require("Base/BasePanel")
local ArenaMainPanel = Inherit(BasePanel)
local this = ArenaMainPanel

View File

@ -1,4 +1,4 @@
ArenaManager = {};
ArenaManager = {};
local this = ArenaManager
local ArenaReward = ConfigManager.GetConfig(ConfigName.ArenaReward)
local ArenaSetting = ConfigManager.GetConfig(ConfigName.ArenaSetting)

View File

@ -1,4 +1,4 @@
require("Base/BasePanel")
require("Base/BasePanel")
local ArenaRecordPopup = Inherit(BasePanel)
local this = ArenaRecordPopup

View File

@ -1,4 +1,4 @@

require("Base/BasePanel")
local ArenaResultPopup = Inherit(BasePanel)
local itemConfig = ConfigManager.GetConfig(ConfigName.ItemConfig)

View File

@ -1,4 +1,4 @@
require("Base/BasePanel")
require("Base/BasePanel")
local ArenaTypePanel = Inherit(BasePanel)
local this = ArenaTypePanel

View File

@ -1,4 +1,4 @@
local ArenaView = {}
local ArenaView = {}
local this = ArenaView
local rewardBoxBtn = {}
local myRank

View File

@ -1,4 +1,4 @@
local RankView = {}
local RankView = {}
local this = RankView
-- 头像对象管理

View File

@ -1,4 +1,4 @@
RewardView = {}
RewardView = {}
local goList={}
local viewList={}
local DAILYREWARD=1

View File

@ -1,4 +1,4 @@
require("Base/BasePanel")
require("Base/BasePanel")
local ATMMyGuessHistoryPopup = Inherit(BasePanel)
local this = ATMMyGuessHistoryPopup
local _PlayerHeadList = {}

View File

@ -1,4 +1,4 @@
require("Base/BasePanel")
require("Base/BasePanel")
local ATMTeamRankPopup = Inherit(BasePanel)
local this = ATMTeamRankPopup
local _PlayerHeadList = {}

View File

@ -1,4 +1,4 @@
require("Base/BasePanel")
require("Base/BasePanel")
ArenaTopMatchGuessTipViewPopup = Inherit(BasePanel)
local this = ArenaTopMatchGuessTipViewPopup
local betBattleInfo = nil

View File

@ -1,4 +1,4 @@
ArenaTopMatchManager = {};
ArenaTopMatchManager = {};
local this = ArenaTopMatchManager
this.CurTabIndex = 0
this.curIsShowDoGuessPopup = false

View File

@ -1,4 +1,4 @@
require("Base/BasePanel")
require("Base/BasePanel")
local ArenaTopMatchPanel = Inherit(BasePanel)
local this = ArenaTopMatchPanel

View File

@ -1,4 +1,4 @@
require("Base/BasePanel")
require("Base/BasePanel")
local DoGuessPopup = Inherit(BasePanel)
local this = DoGuessPopup
local GUESS_COIN = ArenaTopMatchManager.GetGuessCoinID()

View File

@ -1,4 +1,4 @@
require("Base/BasePanel")
require("Base/BasePanel")
local GuessCoinDropPopup = Inherit(BasePanel)
local this = GuessCoinDropPopup
--初始化组件(用于子类重写)

View File

@ -1,4 +1,4 @@
require("Base/BasePanel")
require("Base/BasePanel")
RecordPopup = Inherit(BasePanel)
local this = RecordPopup
local _PlayerHeadList = {}

View File

@ -1,4 +1,4 @@
require("Base/BasePanel")
require("Base/BasePanel")
TopMatchPlayBattleAinSelectPopup = Inherit(BasePanel)
local this = TopMatchPlayBattleAinSelectPopup
local resultRes = {

View File

@ -1,4 +1,4 @@
---
---
--- Generated by EmmyLua(https://github.com/EmmyLua)
--- Created by Steven Hawking.
--- DateTime: 9/11/21 17:04

View File

@ -1,4 +1,4 @@
local ATM_EliminationView={}
local ATM_EliminationView={}
local this=ATM_EliminationView
-- Tab管理器
local ArenaTopMatchPanel= require("Modules/ArenaTopMatch/ArenaTopMatchPanel")

View File

@ -1,4 +1,4 @@
--竞猜提示面板
--竞猜提示面板
local ATM_GuessTipView = {}
local this = ATM_GuessTipView
local betBattleInfo = nil

View File

@ -1,4 +1,4 @@
local ATM_GuessView={}
local ATM_GuessView={}
local this=ATM_GuessView
local commonInfo = require("Modules/ArenaTopMatch/View/ATM_CommonInfo")
local matchPanel=require("Modules/ArenaTopMatch/ArenaTopMatchPanel")

View File

@ -1,4 +1,4 @@
local ATM_MainMatchView={}
local ATM_MainMatchView={}
local this=ATM_MainMatchView
local commonInfo = require("Modules/ArenaTopMatch/View/ATM_CommonInfo")
--初始化组件(用于子类重写)

View File

@ -1,4 +1,4 @@
local ATM_RankView={}
local ATM_RankView={}
local this=ATM_RankView
--头名
-- local TitleName={

View File

@ -1,4 +1,4 @@
local ATM_RewardView = {}
local ATM_RewardView = {}
local this = ATM_RewardView
---巅峰战奖励

View File

@ -1,4 +1,4 @@
local ATM_Title={}
local ATM_Title={}
local this = ATM_Title
--初始化组件(用于子类重写)

View File

@ -1,4 +1,4 @@
BagManager = {}
BagManager = {}
local itemConfig = ConfigManager.GetConfig(ConfigName.ItemConfig)
local equipConfig = ConfigManager.GetConfig(ConfigName.EquipConfig)
local equipSign = ConfigManager.GetConfig(ConfigName.EquipSign)

View File

@ -1,4 +1,4 @@
require("Base/BasePanel")
require("Base/BasePanel")
BagPanel = Inherit(BasePanel)
local this = BagPanel
local sortIndex = 0

View File

@ -1,4 +1,4 @@
require("Base/BasePanel")
require("Base/BasePanel")
BagResolveAnCompoundPanel = Inherit(BasePanel)
local this=BagResolveAnCompoundPanel
--分解

View File

@ -1,4 +1,4 @@
BattleAnalysisManager = {}
BattleAnalysisManager = {}
function BattleAnalysisManager:Init()
self.data = {}

View File

@ -1,4 +1,4 @@
BattleManager = {}
BattleManager = {}
local this = BattleManager
local PassiveSkillLogicConfig = ConfigManager.GetConfig(ConfigName.PassiveSkillLogicConfig)
local SkillLogicConfig = ConfigManager.GetConfig(ConfigName.SkillLogicConfig)

View File

@ -1,4 +1,4 @@
require("Base/Stack")
require("Base/Stack")
BATTLE_POOL_TYPE = {
MY_ROLE = 0,

View File

@ -1,4 +1,4 @@
require("Modules.Battle.BattleAnalysisManager")
require("Modules.Battle.BattleAnalysisManager")
BattleRecordManager = {}
local this = BattleRecordManager

View File

@ -1,4 +1,4 @@
local FightEffectAudioConfig = {}
local FightEffectAudioConfig = {}
local this = FightEffectAudioConfig
function FightEffectAudioConfig.Init()

View File

@ -1,4 +1,4 @@

local Files = {
"Modules.Battle.BattlePool",
"Modules.Battle.Logic.Misc.BattleDefine",

View File

@ -1,4 +1,4 @@
PokemonEffectConfig = {
PokemonEffectConfig = {
[1] = {
live = "live2d_s_jieling_dlg_3010",
scale = 0.6,

View File

@ -1,4 +1,4 @@
BattleEvent={}
BattleEvent={}
BattleEvent.__index = BattleEvent
local listPool = BattleObjectPool.New(function ()

View File

@ -1,4 +1,4 @@
Buff = {}
Buff = {}
local floor = math.floor
local buffPoolList = {}

View File

@ -1,4 +1,4 @@
local floor = math.floor
local floor = math.floor
local min = math.min
local max = math.max
--local RoleDataName = RoleDataName

View File

@ -1,4 +1,4 @@
local Effect = require("Modules/Battle/Logic/Base/Effect")
local Effect = require("Modules/Battle/Logic/Base/Effect")
EffectCaster = {}
local effectPool = BattleObjectPool.New(function ()

View File

@ -1,4 +1,4 @@
local floor = math.floor
local floor = math.floor
local max = math.max
local min = math.min
--local RoleDataName = RoleDataName

View File

@ -1,4 +1,4 @@
Random = {}
Random = {}
local floor = math.floor
local seed = 0

View File

@ -1,4 +1,4 @@
BattleLogManager = {}
BattleLogManager = {}
local this = BattleLogManager
local isEditor = AppConst and AppConst.Platform == "EDITOR"
local isMobile = AppConst and (AppConst.Platform == "ANDROID" or AppConst.Platform == "IOS")

View File

@ -1,4 +1,4 @@
BattleLogic = {}
BattleLogic = {}
local floor = math.floor
local min = math.min
-- local objList = BattleDictionary.New()

View File

@ -1,4 +1,4 @@
Aura = Buff:New()
Aura = Buff:New()
--初始化Buff通过传入一些自定义参数控制成长相关的数值
function Aura:SetData(...)

View File

@ -1,4 +1,4 @@
Brand = Buff:New()
Brand = Buff:New()
--初始化Buff通过传入一些自定义参数控制成长相关的数值
function Brand:SetData(...)

View File

@ -1,4 +1,4 @@
Control = Buff:New()
Control = Buff:New()
--初始化Buff通过传入一些自定义参数控制成长相关的数值
function Control:SetData(...)

View File

@ -1,4 +1,4 @@
Curse = Buff:New()
Curse = Buff:New()
--初始化Buff通过传入一些自定义参数控制成长相关的数值

View File

@ -1,4 +1,4 @@
DOT = Buff:New()
DOT = Buff:New()
--初始化Buff通过传入一些自定义参数控制成长相关的数值
function DOT:SetData(...)

View File

@ -1,4 +1,4 @@
Exile = Buff:New()
Exile = Buff:New()
--初始化Buff通过传入一些自定义参数控制成长相关的数值
function Exile:SetData(...)

View File

@ -1,4 +1,4 @@
HOT = Buff:New()
HOT = Buff:New()
--初始化Buff通过传入一些自定义参数控制成长相关的数值
function HOT:SetData(...)

View File

@ -1,4 +1,4 @@
-- 免疫效果
-- 免疫效果
Immune = Buff:New()
local immune0 = function(buff)

View File

@ -1,4 +1,4 @@
KylinMark = Buff:New()
KylinMark = Buff:New()
--初始化Buff通过传入一些自定义参数控制成长相关的数值
function KylinMark:SetData(...)

View File

@ -1,4 +1,4 @@
NoDead = Buff:New()
NoDead = Buff:New()
--初始化Buff通过传入一些自定义参数控制成长相关的数值
function NoDead:SetData(...)

View File

@ -1,4 +1,4 @@
PropertyChange = Buff:New()
PropertyChange = Buff:New()
--初始化Buff通过传入一些自定义参数控制成长相关的数值
function PropertyChange:SetData(...)

View File

@ -1,4 +1,4 @@
Shield = Buff:New()
Shield = Buff:New()
-- 无敌吸血盾的免疫状态
local immune0 = function(buff)
return buff.type == BuffName.Control or buff.isDeBuff or buff.type == BuffName.DOT

View File

@ -1,4 +1,4 @@
local index = 0
local index = 0
local function indexAdd()
index = index + 1
return index

View File

@ -1,4 +1,4 @@
BattleDictionary = {}
BattleDictionary = {}
function BattleDictionary.New()
local o = {}
setmetatable(o, BattleDictionary)

View File

@ -1,4 +1,4 @@
BattleList = {}
BattleList = {}
function BattleList.New()
local o = {}
setmetatable(o, BattleList)

View File

@ -1,4 +1,4 @@
BattleObjectPool = {}
BattleObjectPool = {}
function BattleObjectPool.New(onCreate)
local o = {}
setmetatable(o, BattleObjectPool)

View File

@ -1,4 +1,4 @@
BattleQueue = {}
BattleQueue = {}
function BattleQueue.New()
local o = {}
setmetatable(o, BattleQueue)

View File

@ -1,4 +1,4 @@
BattleUtil = {}
BattleUtil = {}
--local BattleUtil = BattleUtil
local floor = math.floor
local max = math.max

View File

@ -1,4 +1,4 @@
require("Modules.Battle.Logic.Monster.MonsterSkill.MSkillManager")
require("Modules.Battle.Logic.Monster.MonsterSkill.MSkillManager")
Monster = {}
function Monster:New()

View File

@ -1,4 +1,4 @@

require("Modules.Battle.Logic.Monster.Monster")
MonsterManager = {}

View File

@ -1,4 +1,4 @@
MCondition = {}
MCondition = {}
local this = MCondition

View File

@ -1,4 +1,4 @@
MSkill = {}
MSkill = {}
function MSkill:New()
local o = {}

View File

@ -1,4 +1,4 @@
MSkillGroup = {}
MSkillGroup = {}
function MSkillGroup:New()
local o = {}

View File

@ -1,4 +1,4 @@
require("Modules.Battle.Logic.Monster.MonsterSkill.MTrigger")
require("Modules.Battle.Logic.Monster.MonsterSkill.MTrigger")
require("Modules.Battle.Logic.Monster.MonsterSkill.MSkill")
require("Modules.Battle.Logic.Monster.MonsterSkill.MSkillGroup")

View File

@ -1,4 +1,4 @@
require("Modules.Battle.Logic.Monster.MonsterSkill.MCondition")
require("Modules.Battle.Logic.Monster.MonsterSkill.MCondition")
MTrigger = {}
local this = MTrigger

View File

@ -1,4 +1,4 @@
--战斗外数据管理、
--战斗外数据管理、
OutDataManager = {}
local this = OutDataManager

View File

@ -1,4 +1,4 @@
RoleData = {}
RoleData = {}
RoleData.__index = RoleData
local max = math.max
local floor = math.floor

View File

@ -1,4 +1,4 @@
RoleLogic = {}
RoleLogic = {}
RoleLogic.__index = RoleLogic
--local RoleLogic = RoleLogic
--local RoleDataName = RoleDataName

View File

@ -1,4 +1,4 @@
RoleManager = {}
RoleManager = {}
local this = RoleManager
-- 将死之人

View File

@ -1,4 +1,4 @@
require("Modules/Battle/Logic/Base/EffectCaster")
require("Modules/Battle/Logic/Base/EffectCaster")
Skill = {}

View File

@ -1,4 +1,4 @@
SkillManager = {}
SkillManager = {}
local this = SkillManager
local skillPool = BattleObjectPool.New(function ()

View File

@ -1,4 +1,4 @@
require("Base/BasePanel")
require("Base/BasePanel")
require("Base/Stack")
require("Modules.Battle.Config.PokemonEffectConfig")
require("Modules.Battle.Test.View.AllSetView")

View File

@ -1,4 +1,4 @@

-- 全局设置界面
AllSetView = {}

View File

@ -1,4 +1,4 @@

-- 异妖设置界面
MonsterSetView = {}

Some files were not shown because too many files have changed in this diff Show More