| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525 |
- ---@class NewBattleChat__Generate_btnBlock_text
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text TMPro.TextMeshProUGUI
- ---@class NewBattleChat__Generate_btnBlock
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@field public text NewBattleChat__Generate_btnBlock_text
- ---@class NewBattleChat__Generate_btnAddFriend_text
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text TMPro.TextMeshProUGUI
- ---@class NewBattleChat__Generate_btnAddFriend
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@field public text NewBattleChat__Generate_btnAddFriend_text
- ---@class NewBattleChat__Generate_btnInfor
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class NewBattleChat__Generate_btnPrivateChat
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class NewBattleChat__Generate_headOrder
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@class NewBattleChat__Generate_funcbg
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class NewBattleChat__Generate_battleLogView_content
- ---@field public gameObject UnityEngine.GameObject
- ---@field public verticalLayoutGroup UnityEngine.UI.VerticalLayoutGroup
- ---@class NewBattleChat__Generate_battleLogView
- ---@field public gameObject UnityEngine.GameObject
- ---@field public loopVerticalScrollRect UnityEngine.UI.LoopVerticalScrollRect
- ---@field public uIEventTriggerListener UIEventTriggerListener
- ---@field public content NewBattleChat__Generate_battleLogView_content
- ---@class NewBattleChat__Generate_battleLogRoot
- ---@field public gameObject UnityEngine.GameObject
- ---@field public uIEventTriggerListener UIEventTriggerListener
- ---@class NewBattleChat__Generate_togwarlog
- ---@field public gameObject UnityEngine.GameObject
- ---@field public toggle UnityEngine.UI.Toggle
- ---@class NewBattleChat__Generate_togsystem
- ---@field public gameObject UnityEngine.GameObject
- ---@field public toggle UnityEngine.UI.Toggle
- ---@class NewBattleChat__Generate_togguild
- ---@field public gameObject UnityEngine.GameObject
- ---@field public toggle UnityEngine.UI.Toggle
- ---@class NewBattleChat__Generate_togworld
- ---@field public gameObject UnityEngine.GameObject
- ---@field public toggle UnityEngine.UI.Toggle
- ---@class NewBattleChat__Generate_btnChat
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class NewBattleChat__Generate_chltogBg
- ---@field public gameObject UnityEngine.GameObject
- ---@field public toggleGroup UnityEngine.UI.ToggleGroup
- ---@field public canvasGroup UnityEngine.CanvasGroup
- ---@class NewBattleChat__Generate_chatTextItem
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@field public layoutElement UnityEngine.UI.LayoutElement
- ---@class NewBattleChat__Generate_chatView
- ---@field public gameObject UnityEngine.GameObject
- ---@field public uIEventTriggerListener UIEventTriggerListener
- ---@field public loopListView SuperScrollView.LoopListView
- ---@class NewBattleChat__Generate
- ---@field private gameObject UnityEngine.GameObject
- ---@field private transform UnityEngine.Transform
- ---@field private chatRoot UnityEngine.GameObject
- ---@field private chatView NewBattleChat__Generate_chatView
- ---@field private chatTextItem NewBattleChat__Generate_chatTextItem
- ---@field private chltogBg NewBattleChat__Generate_chltogBg
- ---@field private btnChat NewBattleChat__Generate_btnChat
- ---@field private togworld NewBattleChat__Generate_togworld
- ---@field private togguild NewBattleChat__Generate_togguild
- ---@field private togsystem NewBattleChat__Generate_togsystem
- ---@field private togwarlog NewBattleChat__Generate_togwarlog
- ---@field private battleLogRoot NewBattleChat__Generate_battleLogRoot
- ---@field private battleLogView NewBattleChat__Generate_battleLogView
- ---@field private funcbg NewBattleChat__Generate_funcbg
- ---@field private headOrder NewBattleChat__Generate_headOrder
- ---@field private btnPrivateChat NewBattleChat__Generate_btnPrivateChat
- ---@field private btnInfor NewBattleChat__Generate_btnInfor
- ---@field private btnAddFriend NewBattleChat__Generate_btnAddFriend
- ---@field private btnBlock NewBattleChat__Generate_btnBlock
- local NewBattleChatView = class("NewBattleChatView")
- function NewBattleChatView:ctor()
- end
- ---@private
- function NewBattleChatView:SetActive(result)
- self.gameObject:SetActive(result)
- end
- ---@private
- function NewBattleChatView:InitGenerate(Root, data)
- self.transform = Root
- self.inited = true
- local tmp
- self:InitGenerate__1(Root,data)
- self:InitGenerate__2(Root,data)
- self:InitGenerate__3(Root,data)
- self:InitGenerate__4(Root,data)
- self:InitGenerate__5(Root,data)
- self:InitGenerate__6(Root,data)
- self:InitGenerate__7(Root,data)
- self:InitGenerate__8(Root,data)
- self:InitGenerate__9(Root,data)
- self:InitGenerate__10(Root,data)
- self:InitGenerate__11(Root,data)
- self:InitGenerate__12(Root,data)
- self:InitGenerate__13(Root,data)
- self:InitGenerate__14(Root,data)
- self:InitGenerate__15(Root,data)
- self:InitGenerate__16(Root,data)
- self:InitGenerate__17(Root,data)
- self:InitGenerate__18(Root,data)
- self:InitGenerate__19(Root,data)
- self:InitGenerate__20(Root,data)
- self:InitGenerate__21(Root,data)
- end
- ---@private
- function NewBattleChatView:InitGenerate__1(Root, data)
- --[[
- Root
- --]]
- end
- ---@private
- function NewBattleChatView:InitGenerate__2(Root, data)
- --[[
- ChatRoot
- --]]
- local tmp = Root:Find("ChatRoot").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.chatRoot = tmp
- end
- ---@private
- function NewBattleChatView:InitGenerate__3(Root, data)
- --[[
- ChatRoot/ChatView
- --]]
- local tmp = Root:Find("ChatRoot/ChatView").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.chatView = tmp
- tmp.uIEventTriggerListener = tmp:GetComponent(Enum.TypeInfo.UIEventTriggerListener)
- tmp.loopListView = tmp:GetComponent(Enum.TypeInfo.LoopListView)
- end
- ---@private
- function NewBattleChatView:InitGenerate__4(Root, data)
- --[[
- ChatRoot/ChatView/Viewport/Content/ChatTextItem
- --]]
- local tmp = Root:Find("ChatRoot/ChatView/Viewport/Content/ChatTextItem").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.chatTextItem = CommonUtil.BindGridViewItem2LuaStatic("ChatTextItem", tmp)
- self.chatTextItem.prefabName = "ChatTextItem"
- tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
- tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
- end
- ---@private
- function NewBattleChatView:InitGenerate__5(Root, data)
- --[[
- ChatRoot/ChltogBg
- --]]
- local tmp = Root:Find("ChatRoot/ChltogBg").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.chltogBg = tmp
- tmp.toggleGroup = tmp:GetComponent(Enum.TypeInfo.ToggleGroup)
- tmp.canvasGroup = tmp:GetComponent(Enum.TypeInfo.CanvasGroup)
- end
- ---@private
- function NewBattleChatView:InitGenerate__6(Root, data)
- --[[
- ChatRoot/ChltogBg/GameObject/BtnChat
- --]]
- local tmp = Root:Find("ChatRoot/ChltogBg/GameObject/BtnChat").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnChat = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function NewBattleChatView:InitGenerate__7(Root, data)
- --[[
- ChatRoot/ChltogBg/Togworld
- --]]
- local tmp = Root:Find("ChatRoot/ChltogBg/Togworld").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.togworld = tmp
- tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
- end
- ---@private
- function NewBattleChatView:InitGenerate__8(Root, data)
- --[[
- ChatRoot/ChltogBg/Togguild
- --]]
- local tmp = Root:Find("ChatRoot/ChltogBg/Togguild").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.togguild = tmp
- tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
- end
- ---@private
- function NewBattleChatView:InitGenerate__9(Root, data)
- --[[
- ChatRoot/ChltogBg/Togsystem
- --]]
- local tmp = Root:Find("ChatRoot/ChltogBg/Togsystem").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.togsystem = tmp
- tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
- end
- ---@private
- function NewBattleChatView:InitGenerate__10(Root, data)
- --[[
- ChatRoot/ChltogBg/Togwarlog
- --]]
- local tmp = Root:Find("ChatRoot/ChltogBg/Togwarlog").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.togwarlog = tmp
- tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
- end
- ---@private
- function NewBattleChatView:InitGenerate__11(Root, data)
- --[[
- ChatRoot/BattleLogRoot
- --]]
- local tmp = Root:Find("ChatRoot/BattleLogRoot").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.battleLogRoot = tmp
- tmp.uIEventTriggerListener = tmp:GetComponent(Enum.TypeInfo.UIEventTriggerListener)
- end
- ---@private
- function NewBattleChatView:InitGenerate__12(Root, data)
- --[[
- ChatRoot/BattleLogRoot/BattleLogView
- --]]
- local tmp = Root:Find("ChatRoot/BattleLogRoot/BattleLogView").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.battleLogView = tmp
- tmp.loopVerticalScrollRect = tmp:GetComponent(Enum.TypeInfo.LoopVerticalScrollRect)
- tmp.uIEventTriggerListener = tmp:GetComponent(Enum.TypeInfo.UIEventTriggerListener)
- end
- ---@private
- function NewBattleChatView:InitGenerate__13(Root, data)
- --[[
- ChatRoot/BattleLogRoot/BattleLogView/Viewport/Content
- --]]
- local tmp = Root:Find("ChatRoot/BattleLogRoot/BattleLogView/Viewport/Content").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.battleLogView.content = tmp
- tmp.verticalLayoutGroup = tmp:GetComponent(Enum.TypeInfo.VerticalLayoutGroup)
- end
- ---@private
- function NewBattleChatView:InitGenerate__14(Root, data)
- --[[
- funcbg
- --]]
- local tmp = Root:Find("funcbg").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.funcbg = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function NewBattleChatView:InitGenerate__15(Root, data)
- --[[
- funcbg/HeadOrder
- --]]
- local tmp = Root:Find("funcbg/HeadOrder").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.headOrder = tmp
- tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
- end
- ---@private
- function NewBattleChatView:InitGenerate__16(Root, data)
- --[[
- funcbg/HeadOrder/BtnPrivateChat
- --]]
- local tmp = Root:Find("funcbg/HeadOrder/BtnPrivateChat").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnPrivateChat = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function NewBattleChatView:InitGenerate__17(Root, data)
- --[[
- funcbg/HeadOrder/BtnInfor
- --]]
- local tmp = Root:Find("funcbg/HeadOrder/BtnInfor").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnInfor = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function NewBattleChatView:InitGenerate__18(Root, data)
- --[[
- funcbg/HeadOrder/BtnAddFriend
- --]]
- local tmp = Root:Find("funcbg/HeadOrder/BtnAddFriend").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnAddFriend = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function NewBattleChatView:InitGenerate__19(Root, data)
- --[[
- funcbg/HeadOrder/BtnAddFriend/Text
- --]]
- local tmp = Root:Find("funcbg/HeadOrder/BtnAddFriend/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnAddFriend.text = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
- end
- ---@private
- function NewBattleChatView:InitGenerate__20(Root, data)
- --[[
- funcbg/HeadOrder/BtnBlock
- --]]
- local tmp = Root:Find("funcbg/HeadOrder/BtnBlock").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnBlock = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function NewBattleChatView:InitGenerate__21(Root, data)
- --[[
- funcbg/HeadOrder/BtnBlock/Text
- --]]
- local tmp = Root:Find("funcbg/HeadOrder/BtnBlock/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnBlock.text = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
- end
- ---@private
- function NewBattleChatView:GenerateDestroy()
- if tolua.getpeer(self.btnBlock.text) ~= nil then
- tolua.setpeer(self.btnBlock.text, nil)
- end
- if tolua.getpeer(self.btnAddFriend.text) ~= nil then
- tolua.setpeer(self.btnAddFriend.text, nil)
- end
- if tolua.getpeer(self.battleLogView.content) ~= nil then
- tolua.setpeer(self.battleLogView.content, nil)
- end
- if tolua.getpeer(self.chatRoot) ~= nil then
- tolua.setpeer(self.chatRoot, nil)
- end
- self.chatRoot = nil
- if tolua.getpeer(self.chatView) ~= nil then
- tolua.setpeer(self.chatView, nil)
- end
- self.chatView = nil
- if self.chatTextItem.GenerateDestroy ~= nil then
- self.chatTextItem:GenerateDestroy()
- end
- if tolua.getpeer(self.chatTextItem) ~= nil then
- tolua.setpeer(self.chatTextItem, nil)
- end
- self.chatTextItem = nil
- if tolua.getpeer(self.chltogBg) ~= nil then
- tolua.setpeer(self.chltogBg, nil)
- end
- self.chltogBg = nil
- if tolua.getpeer(self.btnChat) ~= nil then
- tolua.setpeer(self.btnChat, nil)
- end
- self.btnChat = nil
- if tolua.getpeer(self.togworld) ~= nil then
- tolua.setpeer(self.togworld, nil)
- end
- self.togworld = nil
- if tolua.getpeer(self.togguild) ~= nil then
- tolua.setpeer(self.togguild, nil)
- end
- self.togguild = nil
- if tolua.getpeer(self.togsystem) ~= nil then
- tolua.setpeer(self.togsystem, nil)
- end
- self.togsystem = nil
- if tolua.getpeer(self.togwarlog) ~= nil then
- tolua.setpeer(self.togwarlog, nil)
- end
- self.togwarlog = nil
- if tolua.getpeer(self.battleLogRoot) ~= nil then
- tolua.setpeer(self.battleLogRoot, nil)
- end
- self.battleLogRoot = nil
- if tolua.getpeer(self.battleLogView) ~= nil then
- tolua.setpeer(self.battleLogView, nil)
- end
- self.battleLogView = nil
- if tolua.getpeer(self.funcbg) ~= nil then
- tolua.setpeer(self.funcbg, nil)
- end
- self.funcbg = nil
- if tolua.getpeer(self.headOrder) ~= nil then
- tolua.setpeer(self.headOrder, nil)
- end
- self.headOrder = nil
- if tolua.getpeer(self.btnPrivateChat) ~= nil then
- tolua.setpeer(self.btnPrivateChat, nil)
- end
- self.btnPrivateChat = nil
- if tolua.getpeer(self.btnInfor) ~= nil then
- tolua.setpeer(self.btnInfor, nil)
- end
- self.btnInfor = nil
- if tolua.getpeer(self.btnAddFriend) ~= nil then
- tolua.setpeer(self.btnAddFriend, nil)
- end
- self.btnAddFriend = nil
- if tolua.getpeer(self.btnBlock) ~= nil then
- tolua.setpeer(self.btnBlock, nil)
- end
- self.btnBlock = nil
- self.transform = nil
- self.gameObject = nil
- self.inited = false
- end
- return NewBattleChatView
|