【ios】lua文件格式修改
parent
cab9724de6
commit
c31a82ef7f
|
|
@ -1,4 +1,4 @@
|
|||
--[[
|
||||
--[[
|
||||
* @ClassName GlobalDefine
|
||||
* @Description 全局变量
|
||||
* @Date 2019/5/9 13:56
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
Language = {
|
||||
Language = {
|
||||
[10001] = GetLanguageStrById("一"),
|
||||
[10002] = GetLanguageStrById("二"),
|
||||
[10003] = GetLanguageStrById("三"),
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
-- Lua中的继承
|
||||
-- Lua中的继承
|
||||
function Inherit(tbParent, tbChild)
|
||||
if not tbParent then
|
||||
local o = tbChild or {}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
--region *.lua
|
||||
--region *.lua
|
||||
--Date
|
||||
--此文件由[BabeLua]插件自动生成
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
ServerConfigManager = { }
|
||||
local _ActiveCode = 26 -- 激活版本
|
||||
local _ActiveCode = 1 -- 激活版本
|
||||
|
||||
ServerConfigManager.SettingConfig = {
|
||||
ServerVersion = "ServerVersion", -- 用于切换正式服和提审服
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
require "Message/CommonProto_pb"
|
||||
require "Message/CommonProto_pb"
|
||||
require "Message/MessageTypeProto_pb"
|
||||
require "Base/Queue"
|
||||
Network = {}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
require("Base/BasePanel")
|
||||
require("Base/BasePanel")
|
||||
AchievementPanel = Inherit(BasePanel)
|
||||
local this = AchievementPanel
|
||||
local redPointGrid = {}--红点
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ActivityGiftManager = {};
|
||||
ActivityGiftManager = {};
|
||||
local this = ActivityGiftManager
|
||||
local ActivityRewardConfig = ConfigManager.GetConfig(ConfigName.ActivityRewardConfig)
|
||||
local GlobalActivity = ConfigManager.GetConfig(ConfigName.GlobalActivity)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
AllActivityManager = {};
|
||||
AllActivityManager = {};
|
||||
local this = AllActivityManager
|
||||
local ActivityRewardConfig = ConfigManager.GetConfig(ConfigName.ActivityRewardConfig)
|
||||
local GlobalActivity = ConfigManager.GetConfig(ConfigName.GlobalActivity)
|
||||
|
|
|
|||
|
|
@ -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] }
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
require("Base/BasePanel")
|
||||
require("Base/BasePanel")
|
||||
OpenSeverWelfarePanel = Inherit(BasePanel)
|
||||
local this = OpenSeverWelfarePanel
|
||||
local activityRewardConfig = ConfigManager.GetConfig(ConfigName.ActivityRewardConfig)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
local SevenDayGift = quick_class("SevenDayGift")
|
||||
local SevenDayGift = quick_class("SevenDayGift")
|
||||
local this = SevenDayGift
|
||||
local selectIndex = 0
|
||||
local jumpNeedBtn = 0
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
require("Base/BasePanel")
|
||||
require("Base/BasePanel")
|
||||
WarPowerSortPanel = Inherit(BasePanel)
|
||||
local activityRewardGrid = {}
|
||||
local activityRewardGridItemView = {}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
require("Base/BasePanel")
|
||||
require("Base/BasePanel")
|
||||
local AdventureAlianInvasionPanel = Inherit(BasePanel)
|
||||
local this = AdventureAlianInvasionPanel
|
||||
-- Tab管理器
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
require("Base/BasePanel")
|
||||
require("Base/BasePanel")
|
||||
AdventureExploreRewardPanel = Inherit(BasePanel)
|
||||
local this=AdventureExploreRewardPanel
|
||||
local baseDrop={}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
require("Base/BasePanel")
|
||||
require("Base/BasePanel")
|
||||
local AdventureGetRewardPopup = Inherit(BasePanel)
|
||||
local this = AdventureGetRewardPopup
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
require("Base/BasePanel")
|
||||
require("Base/BasePanel")
|
||||
require("Modules/Adventure/View/AdventureView")
|
||||
local AdventureMainPanel = Inherit(BasePanel)
|
||||
local this = AdventureMainPanel
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
AdventureManager = {}
|
||||
AdventureManager = {}
|
||||
local this = AdventureManager
|
||||
local GameSetting = ConfigManager.GetConfig(ConfigName.GameSetting)
|
||||
-- local AdventureReward = ConfigManager.GetConfig(ConfigName.AdventureReward)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
require("Base/BasePanel")
|
||||
require("Base/BasePanel")
|
||||
local AdventureRewardDetailPopup = Inherit(BasePanel)
|
||||
local this = AdventureRewardDetailPopup
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
require("Base/BasePanel")
|
||||
require("Base/BasePanel")
|
||||
AdventureUpLevelPanel = Inherit(BasePanel)
|
||||
local this = AdventureUpLevelPanel
|
||||
local RewardGroup = ConfigManager.GetConfig(ConfigName.RewardGroup)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
AdventureView = {}
|
||||
AdventureView = {}
|
||||
require("Base/BasePanel")
|
||||
local MonsterGroup = ConfigManager.GetConfig(ConfigName.MonsterGroup)
|
||||
local MonsterConfig = ConfigManager.GetConfig(ConfigName.MonsterConfig)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
require("Base/BasePanel")
|
||||
require("Base/BasePanel")
|
||||
local AlienMainPanel = Inherit(BasePanel)
|
||||
local this = AlienMainPanel
|
||||
--初始化组件(用于子类重写)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
require("Base/BasePanel")
|
||||
require("Base/BasePanel")
|
||||
local AlienRankRewardPopup = Inherit(BasePanel)
|
||||
local this = AlienRankRewardPopup
|
||||
--初始化组件(用于子类重写)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
require("Base/BasePanel")
|
||||
require("Base/BasePanel")
|
||||
local ArenaMainPanel = Inherit(BasePanel)
|
||||
local this = ArenaMainPanel
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ArenaManager = {};
|
||||
ArenaManager = {};
|
||||
local this = ArenaManager
|
||||
local ArenaReward = ConfigManager.GetConfig(ConfigName.ArenaReward)
|
||||
local ArenaSetting = ConfigManager.GetConfig(ConfigName.ArenaSetting)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
require("Base/BasePanel")
|
||||
require("Base/BasePanel")
|
||||
local ArenaRecordPopup = Inherit(BasePanel)
|
||||
local this = ArenaRecordPopup
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
|
||||
require("Base/BasePanel")
|
||||
local ArenaResultPopup = Inherit(BasePanel)
|
||||
local itemConfig = ConfigManager.GetConfig(ConfigName.ItemConfig)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
require("Base/BasePanel")
|
||||
require("Base/BasePanel")
|
||||
local ArenaTypePanel = Inherit(BasePanel)
|
||||
local this = ArenaTypePanel
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
local ArenaView = {}
|
||||
local ArenaView = {}
|
||||
local this = ArenaView
|
||||
local rewardBoxBtn = {}
|
||||
local myRank
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
local RankView = {}
|
||||
local RankView = {}
|
||||
local this = RankView
|
||||
|
||||
-- 头像对象管理
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
RewardView = {}
|
||||
RewardView = {}
|
||||
local goList={}
|
||||
local viewList={}
|
||||
local DAILYREWARD=1
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
require("Base/BasePanel")
|
||||
require("Base/BasePanel")
|
||||
local ATMMyGuessHistoryPopup = Inherit(BasePanel)
|
||||
local this = ATMMyGuessHistoryPopup
|
||||
local _PlayerHeadList = {}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
require("Base/BasePanel")
|
||||
require("Base/BasePanel")
|
||||
local ATMTeamRankPopup = Inherit(BasePanel)
|
||||
local this = ATMTeamRankPopup
|
||||
local _PlayerHeadList = {}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
require("Base/BasePanel")
|
||||
require("Base/BasePanel")
|
||||
ArenaTopMatchGuessTipViewPopup = Inherit(BasePanel)
|
||||
local this = ArenaTopMatchGuessTipViewPopup
|
||||
local betBattleInfo = nil
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ArenaTopMatchManager = {};
|
||||
ArenaTopMatchManager = {};
|
||||
local this = ArenaTopMatchManager
|
||||
this.CurTabIndex = 0
|
||||
this.curIsShowDoGuessPopup = false
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
require("Base/BasePanel")
|
||||
require("Base/BasePanel")
|
||||
local ArenaTopMatchPanel = Inherit(BasePanel)
|
||||
local this = ArenaTopMatchPanel
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
require("Base/BasePanel")
|
||||
require("Base/BasePanel")
|
||||
local DoGuessPopup = Inherit(BasePanel)
|
||||
local this = DoGuessPopup
|
||||
local GUESS_COIN = ArenaTopMatchManager.GetGuessCoinID()
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
require("Base/BasePanel")
|
||||
require("Base/BasePanel")
|
||||
local GuessCoinDropPopup = Inherit(BasePanel)
|
||||
local this = GuessCoinDropPopup
|
||||
--初始化组件(用于子类重写)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
require("Base/BasePanel")
|
||||
require("Base/BasePanel")
|
||||
RecordPopup = Inherit(BasePanel)
|
||||
local this = RecordPopup
|
||||
local _PlayerHeadList = {}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
require("Base/BasePanel")
|
||||
require("Base/BasePanel")
|
||||
TopMatchPlayBattleAinSelectPopup = Inherit(BasePanel)
|
||||
local this = TopMatchPlayBattleAinSelectPopup
|
||||
local resultRes = {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
---
|
||||
---
|
||||
--- Generated by EmmyLua(https://github.com/EmmyLua)
|
||||
--- Created by Steven Hawking.
|
||||
--- DateTime: 9/11/21 17:04
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
local ATM_EliminationView={}
|
||||
local ATM_EliminationView={}
|
||||
local this=ATM_EliminationView
|
||||
-- Tab管理器
|
||||
local ArenaTopMatchPanel= require("Modules/ArenaTopMatch/ArenaTopMatchPanel")
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
--竞猜提示面板
|
||||
--竞猜提示面板
|
||||
local ATM_GuessTipView = {}
|
||||
local this = ATM_GuessTipView
|
||||
local betBattleInfo = nil
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
local ATM_MainMatchView={}
|
||||
local ATM_MainMatchView={}
|
||||
local this=ATM_MainMatchView
|
||||
local commonInfo = require("Modules/ArenaTopMatch/View/ATM_CommonInfo")
|
||||
--初始化组件(用于子类重写)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
local ATM_RankView={}
|
||||
local ATM_RankView={}
|
||||
local this=ATM_RankView
|
||||
--头名
|
||||
-- local TitleName={
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
local ATM_RewardView = {}
|
||||
local ATM_RewardView = {}
|
||||
local this = ATM_RewardView
|
||||
|
||||
---巅峰战奖励
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
local ATM_Title={}
|
||||
local ATM_Title={}
|
||||
local this = ATM_Title
|
||||
|
||||
--初始化组件(用于子类重写)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
BagManager = {}
|
||||
BagManager = {}
|
||||
local itemConfig = ConfigManager.GetConfig(ConfigName.ItemConfig)
|
||||
local equipConfig = ConfigManager.GetConfig(ConfigName.EquipConfig)
|
||||
local equipSign = ConfigManager.GetConfig(ConfigName.EquipSign)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
require("Base/BasePanel")
|
||||
require("Base/BasePanel")
|
||||
BagPanel = Inherit(BasePanel)
|
||||
local this = BagPanel
|
||||
local sortIndex = 0
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
require("Base/BasePanel")
|
||||
require("Base/BasePanel")
|
||||
BagResolveAnCompoundPanel = Inherit(BasePanel)
|
||||
local this=BagResolveAnCompoundPanel
|
||||
--分解
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
BattleAnalysisManager = {}
|
||||
BattleAnalysisManager = {}
|
||||
|
||||
function BattleAnalysisManager:Init()
|
||||
self.data = {}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
BattleManager = {}
|
||||
BattleManager = {}
|
||||
local this = BattleManager
|
||||
local PassiveSkillLogicConfig = ConfigManager.GetConfig(ConfigName.PassiveSkillLogicConfig)
|
||||
local SkillLogicConfig = ConfigManager.GetConfig(ConfigName.SkillLogicConfig)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
require("Base/Stack")
|
||||
require("Base/Stack")
|
||||
|
||||
BATTLE_POOL_TYPE = {
|
||||
MY_ROLE = 0,
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
require("Modules.Battle.BattleAnalysisManager")
|
||||
require("Modules.Battle.BattleAnalysisManager")
|
||||
BattleRecordManager = {}
|
||||
local this = BattleRecordManager
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
local FightEffectAudioConfig = {}
|
||||
local FightEffectAudioConfig = {}
|
||||
local this = FightEffectAudioConfig
|
||||
|
||||
function FightEffectAudioConfig.Init()
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
|
||||
local Files = {
|
||||
"Modules.Battle.BattlePool",
|
||||
"Modules.Battle.Logic.Misc.BattleDefine",
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
PokemonEffectConfig = {
|
||||
PokemonEffectConfig = {
|
||||
[1] = {
|
||||
live = "live2d_s_jieling_dlg_3010",
|
||||
scale = 0.6,
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
BattleEvent={}
|
||||
BattleEvent={}
|
||||
BattleEvent.__index = BattleEvent
|
||||
|
||||
local listPool = BattleObjectPool.New(function ()
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
Buff = {}
|
||||
Buff = {}
|
||||
local floor = math.floor
|
||||
local buffPoolList = {}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
local floor = math.floor
|
||||
local floor = math.floor
|
||||
local min = math.min
|
||||
local max = math.max
|
||||
--local RoleDataName = RoleDataName
|
||||
|
|
|
|||
|
|
@ -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 ()
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
local floor = math.floor
|
||||
local floor = math.floor
|
||||
local max = math.max
|
||||
local min = math.min
|
||||
--local RoleDataName = RoleDataName
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
Random = {}
|
||||
Random = {}
|
||||
|
||||
local floor = math.floor
|
||||
local seed = 0
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
BattleLogic = {}
|
||||
BattleLogic = {}
|
||||
local floor = math.floor
|
||||
local min = math.min
|
||||
-- local objList = BattleDictionary.New()
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
Aura = Buff:New()
|
||||
Aura = Buff:New()
|
||||
|
||||
--初始化Buff,通过传入一些自定义参数控制成长相关的数值
|
||||
function Aura:SetData(...)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
Brand = Buff:New()
|
||||
Brand = Buff:New()
|
||||
|
||||
--初始化Buff,通过传入一些自定义参数控制成长相关的数值
|
||||
function Brand:SetData(...)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
Control = Buff:New()
|
||||
Control = Buff:New()
|
||||
|
||||
--初始化Buff,通过传入一些自定义参数控制成长相关的数值
|
||||
function Control:SetData(...)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
Curse = Buff:New()
|
||||
Curse = Buff:New()
|
||||
|
||||
|
||||
--初始化Buff,通过传入一些自定义参数控制成长相关的数值
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
DOT = Buff:New()
|
||||
DOT = Buff:New()
|
||||
|
||||
--初始化Buff,通过传入一些自定义参数控制成长相关的数值
|
||||
function DOT:SetData(...)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
Exile = Buff:New()
|
||||
Exile = Buff:New()
|
||||
|
||||
--初始化Buff,通过传入一些自定义参数控制成长相关的数值
|
||||
function Exile:SetData(...)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
HOT = Buff:New()
|
||||
HOT = Buff:New()
|
||||
|
||||
--初始化Buff,通过传入一些自定义参数控制成长相关的数值
|
||||
function HOT:SetData(...)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
-- 免疫效果
|
||||
-- 免疫效果
|
||||
Immune = Buff:New()
|
||||
|
||||
local immune0 = function(buff)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
KylinMark = Buff:New()
|
||||
KylinMark = Buff:New()
|
||||
|
||||
--初始化Buff,通过传入一些自定义参数控制成长相关的数值
|
||||
function KylinMark:SetData(...)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
NoDead = Buff:New()
|
||||
NoDead = Buff:New()
|
||||
|
||||
--初始化Buff,通过传入一些自定义参数控制成长相关的数值
|
||||
function NoDead:SetData(...)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
PropertyChange = Buff:New()
|
||||
PropertyChange = Buff:New()
|
||||
|
||||
--初始化Buff,通过传入一些自定义参数控制成长相关的数值
|
||||
function PropertyChange:SetData(...)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
local index = 0
|
||||
local index = 0
|
||||
local function indexAdd()
|
||||
index = index + 1
|
||||
return index
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
BattleDictionary = {}
|
||||
BattleDictionary = {}
|
||||
function BattleDictionary.New()
|
||||
local o = {}
|
||||
setmetatable(o, BattleDictionary)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
BattleList = {}
|
||||
BattleList = {}
|
||||
function BattleList.New()
|
||||
local o = {}
|
||||
setmetatable(o, BattleList)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
BattleObjectPool = {}
|
||||
BattleObjectPool = {}
|
||||
function BattleObjectPool.New(onCreate)
|
||||
local o = {}
|
||||
setmetatable(o, BattleObjectPool)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
BattleQueue = {}
|
||||
BattleQueue = {}
|
||||
function BattleQueue.New()
|
||||
local o = {}
|
||||
setmetatable(o, BattleQueue)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
BattleUtil = {}
|
||||
BattleUtil = {}
|
||||
--local BattleUtil = BattleUtil
|
||||
local floor = math.floor
|
||||
local max = math.max
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
require("Modules.Battle.Logic.Monster.MonsterSkill.MSkillManager")
|
||||
require("Modules.Battle.Logic.Monster.MonsterSkill.MSkillManager")
|
||||
|
||||
Monster = {}
|
||||
function Monster:New()
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
|
||||
require("Modules.Battle.Logic.Monster.Monster")
|
||||
|
||||
MonsterManager = {}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
MCondition = {}
|
||||
MCondition = {}
|
||||
local this = MCondition
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
MSkill = {}
|
||||
MSkill = {}
|
||||
|
||||
function MSkill:New()
|
||||
local o = {}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
MSkillGroup = {}
|
||||
MSkillGroup = {}
|
||||
|
||||
function MSkillGroup:New()
|
||||
local o = {}
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
require("Modules.Battle.Logic.Monster.MonsterSkill.MCondition")
|
||||
require("Modules.Battle.Logic.Monster.MonsterSkill.MCondition")
|
||||
MTrigger = {}
|
||||
local this = MTrigger
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
--战斗外数据管理、
|
||||
--战斗外数据管理、
|
||||
OutDataManager = {}
|
||||
local this = OutDataManager
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
RoleData = {}
|
||||
RoleData = {}
|
||||
RoleData.__index = RoleData
|
||||
local max = math.max
|
||||
local floor = math.floor
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
RoleLogic = {}
|
||||
RoleLogic = {}
|
||||
RoleLogic.__index = RoleLogic
|
||||
--local RoleLogic = RoleLogic
|
||||
--local RoleDataName = RoleDataName
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
RoleManager = {}
|
||||
RoleManager = {}
|
||||
local this = RoleManager
|
||||
|
||||
-- 将死之人
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
require("Modules/Battle/Logic/Base/EffectCaster")
|
||||
require("Modules/Battle/Logic/Base/EffectCaster")
|
||||
|
||||
Skill = {}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
SkillManager = {}
|
||||
SkillManager = {}
|
||||
local this = SkillManager
|
||||
|
||||
local skillPool = BattleObjectPool.New(function ()
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
require("Base/BasePanel")
|
||||
require("Base/BasePanel")
|
||||
require("Base/Stack")
|
||||
require("Modules.Battle.Config.PokemonEffectConfig")
|
||||
require("Modules.Battle.Test.View.AllSetView")
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
|
||||
|
||||
-- 全局设置界面
|
||||
AllSetView = {}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
|
||||
-- 异妖设置界面
|
||||
MonsterSetView = {}
|
||||
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue