【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 * @ClassName GlobalDefine
* @Description * @Description
* @Date 2019/5/9 13:56 * @Date 2019/5/9 13:56

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,4 @@
require("Base/BasePanel") require("Base/BasePanel")
CourtesyDressPanel = Inherit(BasePanel) CourtesyDressPanel = Inherit(BasePanel)
local this = CourtesyDressPanel 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] } 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) OpenSeverWelfarePanel = Inherit(BasePanel)
local this = OpenSeverWelfarePanel local this = OpenSeverWelfarePanel
local activityRewardConfig = ConfigManager.GetConfig(ConfigName.ActivityRewardConfig) 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 this = SevenDayGift
local selectIndex = 0 local selectIndex = 0
local jumpNeedBtn = 0 local jumpNeedBtn = 0

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,4 @@

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,4 @@
local ATM_MainMatchView={} local ATM_MainMatchView={}
local this=ATM_MainMatchView local this=ATM_MainMatchView
local commonInfo = require("Modules/ArenaTopMatch/View/ATM_CommonInfo") 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 this=ATM_RankView
--头名 --头名
-- local TitleName={ -- local TitleName={

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,4 @@

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,4 @@
local floor = math.floor local floor = math.floor
local min = math.min local min = math.min
local max = math.max local max = math.max
--local RoleDataName = RoleDataName --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 = {} EffectCaster = {}
local effectPool = BattleObjectPool.New(function () local effectPool = BattleObjectPool.New(function ()

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,4 @@
Shield = Buff:New() Shield = Buff:New()
-- 无敌吸血盾的免疫状态 -- 无敌吸血盾的免疫状态
local immune0 = function(buff) local immune0 = function(buff)
return buff.type == BuffName.Control or buff.isDeBuff or buff.type == BuffName.DOT 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() local function indexAdd()
index = index + 1 index = index + 1
return index return index

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,4 @@
BattleUtil = {} BattleUtil = {}
--local BattleUtil = BattleUtil --local BattleUtil = BattleUtil
local floor = math.floor local floor = math.floor
local max = math.max 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 = {} Monster = {}
function Monster:New() function Monster:New()

View File

@ -1,4 +1,4 @@

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

View File

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

View File

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

View File

@ -1,4 +1,4 @@
MSkillGroup = {} MSkillGroup = {}
function MSkillGroup:New() function MSkillGroup:New()
local o = {} 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.MSkill")
require("Modules.Battle.Logic.Monster.MonsterSkill.MSkillGroup") 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 = {} MTrigger = {}
local this = MTrigger local this = MTrigger

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,4 @@

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

View File

@ -1,4 +1,4 @@

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

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