| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577 |
- // =====================================================================
- // mmoclient 自研层 类接口还原 (从主二进制 tolua 注册表逆向生成)
- // 形态: .pkg 风格声明 —— 真实实现体已编译为机器码,此为接口契约
- // 单例约定: *Inst() 返回全局单例; Lua handler 为已注册的Lua回调id
- // 生成日期: 2026-09-21
- // =====================================================================
- #pragma once
- // ---- 前置: 全局单例访问宏 ----
- // #define INST(cls) cls::Inst()
- // ==================== 网络组 ====================
- // TCP客户端: Connect/加密收发/Tick泵/24B消息头
- class netClient {
- void CleanAllMessageHandler(...); // tolua: netClient:CleanAllMessageHandler
- void Connect(...); // tolua: netClient:Connect
- void Disconnect(...); // tolua: netClient:Disconnect
- void GetClientIp(...); // tolua: netClient:GetClientIp
- void GetClientPort(...); // tolua: netClient:GetClientPort
- void GetClientSocketError(...); // tolua: netClient:GetClientSocketError
- void GetNetMessageTypeSData(...); // tolua: netClient:GetNetMessageTypeSData
- void GetNetServerKey(...); // tolua: netClient:GetNetServerKey
- void GetServerIp(...); // tolua: netClient:GetServerIp
- void GetServerPort(...); // tolua: netClient:GetServerPort
- void IsConnected(...); // tolua: netClient:IsConnected
- void SendNetMessage(...); // tolua: netClient:SendNetMessage
- void SetNetMessageTypeSData(...); // tolua: netClient:SetNetMessageTypeSData
- void SetNetServerKey(...); // tolua: netClient:SetNetServerKey
- void Tick(...); // tolua: netClient:Tick
- void netClient(...); // tolua: netClient:netClient
- void ~netClient(...); // tolua: netClient:~netClient
- };
- // netClient精简版(launcher用): 收/断/错三回调
- class netClientLua {
- void Clean(...); // tolua: netClientLua:Clean
- void Connect(...); // tolua: netClientLua:Connect
- void Disconnect(...); // tolua: netClientLua:Disconnect
- void IsConnected(...); // tolua: netClientLua:IsConnected
- void SendNetMessage(...); // tolua: netClientLua:SendNetMessage
- void SetDisconnectLuaHandler(...); // tolua: netClientLua:SetDisconnectLuaHandler
- void SetErrorLuaHandler(...); // tolua: netClientLua:SetErrorLuaHandler
- void SetRecvHandler(...); // tolua: netClientLua:SetRecvHandler
- void Tick(...); // tolua: netClientLua:Tick
- void netClientLua(...); // tolua: netClientLua:netClientLua
- void ~netClientLua(...); // tolua: netClientLua:~netClientLua
- };
- // 消息对象: recog/param1-4/msgId 头 + 载荷读写
- class netMessage {
- void ClearData(...); // tolua: netMessage:ClearData
- void GetData(...); // tolua: netMessage:GetData
- void GetDataLength(...); // tolua: netMessage:GetDataLength
- void GetHeader(...); // tolua: netMessage:GetHeader
- void SetHeaderMsgId(...); // tolua: netMessage:SetHeaderMsgId
- void SetHeaderParam1(...); // tolua: netMessage:SetHeaderParam1
- void SetHeaderParam2(...); // tolua: netMessage:SetHeaderParam2
- void SetHeaderParam3(...); // tolua: netMessage:SetHeaderParam3
- void SetHeaderParam4(...); // tolua: netMessage:SetHeaderParam4
- void SetHeaderRecog(...); // tolua: netMessage:SetHeaderRecog
- void WriteData(...); // tolua: netMessage:WriteData
- void WriteHeader(...); // tolua: netMessage:WriteHeader
- void netMessage(...); // tolua: netMessage:netMessage
- };
- // 批量包(-1)聚合/拆包
- class netPackage {
- void Clear(...); // tolua: netPackage:Clear
- void GenNetPackage(...); // tolua: netPackage:GenNetPackage
- void GetBodyData(...); // tolua: netPackage:GetBodyData
- void GetBodyLength(...); // tolua: netPackage:GetBodyLength
- void GetHeadData(...); // tolua: netPackage:GetHeadData
- void GetMsgID(...); // tolua: netPackage:GetMsgID
- void GetPkgIndex(...); // tolua: netPackage:GetPkgIndex
- void SetBodyData(...); // tolua: netPackage:SetBodyData
- void SetHeadData(...); // tolua: netPackage:SetHeadData
- void SetMsgID(...); // tolua: netPackage:SetMsgID
- void SetPkgIndex(...); // tolua: netPackage:SetPkgIndex
- void constructor(...); // tolua: netPackage:constructor
- };
- // 二进制流读写(协议字段解析)
- class luaBuffer {
- void ClearPool(...); // tolua: luaBuffer:ClearPool
- void GetLength(...); // tolua: luaBuffer:GetLength
- void GetLuaIndex(...); // tolua: luaBuffer:GetLuaIndex
- void ReadBool(...); // tolua: luaBuffer:ReadBool
- void ReadByte(...); // tolua: luaBuffer:ReadByte
- void ReadDouble(...); // tolua: luaBuffer:ReadDouble
- void ReadFloat(...); // tolua: luaBuffer:ReadFloat
- void ReadGuid(...); // tolua: luaBuffer:ReadGuid
- void ReadInt(...); // tolua: luaBuffer:ReadInt
- void ReadInt64(...); // tolua: luaBuffer:ReadInt64
- void ReadInt64Str(...); // tolua: luaBuffer:ReadInt64Str
- void ReadShort(...); // tolua: luaBuffer:ReadShort
- void ReadShortString(...); // tolua: luaBuffer:ReadShortString
- void ReadString(...); // tolua: luaBuffer:ReadString
- void ReadUByte(...); // tolua: luaBuffer:ReadUByte
- void ReadUInt(...); // tolua: luaBuffer:ReadUInt
- void ReadUShort(...); // tolua: luaBuffer:ReadUShort
- void SetLuaIndex(...); // tolua: luaBuffer:SetLuaIndex
- void WriteBool(...); // tolua: luaBuffer:WriteBool
- void WriteByte(...); // tolua: luaBuffer:WriteByte
- void WriteDouble(...); // tolua: luaBuffer:WriteDouble
- void WriteFloat(...); // tolua: luaBuffer:WriteFloat
- void WriteGuid(...); // tolua: luaBuffer:WriteGuid
- void WriteInt(...); // tolua: luaBuffer:WriteInt
- void WriteInt64(...); // tolua: luaBuffer:WriteInt64
- void WriteInt64Str(...); // tolua: luaBuffer:WriteInt64Str
- void WriteShort(...); // tolua: luaBuffer:WriteShort
- void WriteShortString(...); // tolua: luaBuffer:WriteShortString
- void WriteString(...); // tolua: luaBuffer:WriteString
- void WriteUByte(...); // tolua: luaBuffer:WriteUByte
- void WriteUInt(...); // tolua: luaBuffer:WriteUInt
- void WriteUShort(...); // tolua: luaBuffer:WriteUShort
- void constructor(...); // tolua: luaBuffer:constructor
- };
- // Lua收发门面单例(tolua入口)
- class LuaNetworkController {
- void Inst(...); // tolua: LuaNetworkController:Inst
- void IsRegisterLuaHandler(...); // tolua: LuaNetworkController:IsRegisterLuaHandler
- void RegisterLuaHandler(...); // tolua: LuaNetworkController:RegisterLuaHandler
- void SendMsg(...); // tolua: LuaNetworkController:SendMsg
- void SetNetClientPtr(...); // tolua: LuaNetworkController:SetNetClientPtr
- void UnregisterAllLuaHandler(...); // tolua: LuaNetworkController:UnregisterAllLuaHandler
- };
- // 地图光照数据读取流
- class LightBuffer {
- void GetIndex(...); // tolua: LightBuffer:GetIndex
- void GetSize(...); // tolua: LightBuffer:GetSize
- void ReadBool(...); // tolua: LightBuffer:ReadBool
- void ReadByte(...); // tolua: LightBuffer:ReadByte
- void ReadChar(...); // tolua: LightBuffer:ReadChar
- void ReadDouble(...); // tolua: LightBuffer:ReadDouble
- void ReadFloat(...); // tolua: LightBuffer:ReadFloat
- void ReadInt(...); // tolua: LightBuffer:ReadInt
- void ReadInt64(...); // tolua: LightBuffer:ReadInt64
- void ReadMultiByte(...); // tolua: LightBuffer:ReadMultiByte
- void ReadShort(...); // tolua: LightBuffer:ReadShort
- void ReadString(...); // tolua: LightBuffer:ReadString
- void ReadUInt(...); // tolua: LightBuffer:ReadUInt
- void ReadUShort(...); // tolua: LightBuffer:ReadUShort
- void create(...); // tolua: LightBuffer:create
- };
- // ==================== 地图组 ====================
- // 贴图地图管理 Mir2代(63法)
- class tileSceneManager {
- void CheckMapDataExpired(...); // tolua: tileSceneManager:CheckMapDataExpired
- void CheckMiniExpired(...); // tolua: tileSceneManager:CheckMiniExpired
- void CleanAtlasLoadQueue(...); // tolua: tileSceneManager:CleanAtlasLoadQueue
- void Cleanup(...); // tolua: tileSceneManager:Cleanup
- void GenTileIdx(...); // tolua: tileSceneManager:GenTileIdx
- void GetMapData2DPtr(...); // tolua: tileSceneManager:GetMapData2DPtr
- void GetMapHeightInPixel(...); // tolua: tileSceneManager:GetMapHeightInPixel
- void GetMapWidthInPixel(...); // tolua: tileSceneManager:GetMapWidthInPixel
- void Init(...); // tolua: tileSceneManager:Init
- void Inst(...); // tolua: tileSceneManager:Inst
- void LoadMap(...); // tolua: tileSceneManager:LoadMap
- void LoadMapData(...); // tolua: tileSceneManager:LoadMapData
- void LoadMapDataCompleted(...); // tolua: tileSceneManager:LoadMapDataCompleted
- void LoadMiniTex(...); // tolua: tileSceneManager:LoadMiniTex
- void LoadMiniTexCompleted(...); // tolua: tileSceneManager:LoadMiniTexCompleted
- void LoadObjsInRect(...); // tolua: tileSceneManager:LoadObjsInRect
- void LoadOneTile(...); // tolua: tileSceneManager:LoadOneTile
- void LoadTilesInRect(...); // tolua: tileSceneManager:LoadTilesInRect
- void MarkCanWalk(...); // tolua: tileSceneManager:MarkCanWalk
- void SetAtlasSplit(...); // tolua: tileSceneManager:SetAtlasSplit
- void SetCamera(...); // tolua: tileSceneManager:SetCamera
- void SetDownLoadingMax(...); // tolua: tileSceneManager:SetDownLoadingMax
- void SetFrameAnimOffset(...); // tolua: tileSceneManager:SetFrameAnimOffset
- void SetIgnoreAnim(...); // tolua: tileSceneManager:SetIgnoreAnim
- void SetLaodingLimit(...); // tolua: tileSceneManager:SetLaodingLimit
- void SetLoadMapDataCallback(...); // tolua: tileSceneManager:SetLoadMapDataCallback
- void SetLoadMiniCallback(...); // tolua: tileSceneManager:SetLoadMiniCallback
- void SetLoadParam(...); // tolua: tileSceneManager:SetLoadParam
- void SetMapGridSize(...); // tolua: tileSceneManager:SetMapGridSize
- void SetObjBlendFunc(...); // tolua: tileSceneManager:SetObjBlendFunc
- void SetObjEnlargeY(...); // tolua: tileSceneManager:SetObjEnlargeY
- void SetObjLowZOrder(...); // tolua: tileSceneManager:SetObjLowZOrder
- void SetOnCloseDoorFunc(...); // tolua: tileSceneManager:SetOnCloseDoorFunc
- void SetOnOpenDoorFunc(...); // tolua: tileSceneManager:SetOnOpenDoorFunc
- void SetRootNode(...); // tolua: tileSceneManager:SetRootNode
- void SetUnObjLowZOrder(...); // tolua: tileSceneManager:SetUnObjLowZOrder
- void SetViewCenterOffset(...); // tolua: tileSceneManager:SetViewCenterOffset
- void TestInfo(...); // tolua: tileSceneManager:TestInfo
- void Tick(...); // tolua: tileSceneManager:Tick
- void UnloadAll(...); // tolua: tileSceneManager:UnloadAll
- void UnloadAllAtlas(...); // tolua: tileSceneManager:UnloadAllAtlas
- void UnloadAllTile(...); // tolua: tileSceneManager:UnloadAllTile
- void UnloadDebugTile(...); // tolua: tileSceneManager:UnloadDebugTile
- void UnloadMapData(...); // tolua: tileSceneManager:UnloadMapData
- void UnloadMiniTex(...); // tolua: tileSceneManager:UnloadMiniTex
- void UnloadObjsInRect(...); // tolua: tileSceneManager:UnloadObjsInRect
- void UnloadOneTile(...); // tolua: tileSceneManager:UnloadOneTile
- void UnloadOneTileByIdx(...); // tolua: tileSceneManager:UnloadOneTileByIdx
- void UnloadSpriteCache(...); // tolua: tileSceneManager:UnloadSpriteCache
- void calcScreenAreaRect(...); // tolua: tileSceneManager:calcScreenAreaRect
- void calcScreenTiles(...); // tolua: tileSceneManager:calcScreenTiles
- void canOpenDoor(...); // tolua: tileSceneManager:canOpenDoor
- void changeGateState(...); // tolua: tileSceneManager:changeGateState
- void closeDoor(...); // tolua: tileSceneManager:closeDoor
- void followPlayer(...); // tolua: tileSceneManager:followPlayer
- void loadScreenTile(...); // tolua: tileSceneManager:loadScreenTile
- void openDoor(...); // tolua: tileSceneManager:openDoor
- void reloadAllTile(...); // tolua: tileSceneManager:reloadAllTile
- void setAtlasExpiredInterval(...); // tolua: tileSceneManager:setAtlasExpiredInterval
- void setGMResUrl(...); // tolua: tileSceneManager:setGMResUrl
- void setGMResVer(...); // tolua: tileSceneManager:setGMResVer
- void setTextureMemLimitInMB(...); // tolua: tileSceneManager:setTextureMemLimitInMB
- void setTextureMemWarnMB(...); // tolua: tileSceneManager:setTextureMemWarnMB
- };
- // 贴图地图管理 第3代新格式
- class tileSceneManager3 {
- void CheckMapDataExpired(...); // tolua: tileSceneManager3:CheckMapDataExpired
- void CheckMiniExpired(...); // tolua: tileSceneManager3:CheckMiniExpired
- void Cleanup(...); // tolua: tileSceneManager3:Cleanup
- void GenTileIdx(...); // tolua: tileSceneManager3:GenTileIdx
- void GetMapData2DPtr(...); // tolua: tileSceneManager3:GetMapData2DPtr
- void GetMapHeightInPixel(...); // tolua: tileSceneManager3:GetMapHeightInPixel
- void GetMapWidthInPixel(...); // tolua: tileSceneManager3:GetMapWidthInPixel
- void Init(...); // tolua: tileSceneManager3:Init
- void Inst(...); // tolua: tileSceneManager3:Inst
- void LoadMap(...); // tolua: tileSceneManager3:LoadMap
- void LoadMapData(...); // tolua: tileSceneManager3:LoadMapData
- void LoadMapDataCompleted(...); // tolua: tileSceneManager3:LoadMapDataCompleted
- void LoadMiniTex(...); // tolua: tileSceneManager3:LoadMiniTex
- void LoadMiniTexCompleted(...); // tolua: tileSceneManager3:LoadMiniTexCompleted
- void LoadObjsInRect(...); // tolua: tileSceneManager3:LoadObjsInRect
- void LoadOneTile(...); // tolua: tileSceneManager3:LoadOneTile
- void LoadTilesInRect(...); // tolua: tileSceneManager3:LoadTilesInRect
- void MarkCanWalk(...); // tolua: tileSceneManager3:MarkCanWalk
- void SetAniFrameTick(...); // tolua: tileSceneManager3:SetAniFrameTick
- void SetAtlasFormat(...); // tolua: tileSceneManager3:SetAtlasFormat
- void SetAtlasSplit(...); // tolua: tileSceneManager3:SetAtlasSplit
- void SetCamera(...); // tolua: tileSceneManager3:SetCamera
- void SetDownLoadingMax(...); // tolua: tileSceneManager3:SetDownLoadingMax
- void SetLoadMapDataCallback(...); // tolua: tileSceneManager3:SetLoadMapDataCallback
- void SetLoadMiniCallback(...); // tolua: tileSceneManager3:SetLoadMiniCallback
- void SetLoadParam(...); // tolua: tileSceneManager3:SetLoadParam
- void SetObjBlendFunc(...); // tolua: tileSceneManager3:SetObjBlendFunc
- void SetObjEnlargeY(...); // tolua: tileSceneManager3:SetObjEnlargeY
- void SetObjLowZOrder(...); // tolua: tileSceneManager3:SetObjLowZOrder
- void SetOnCloseDoorFunc(...); // tolua: tileSceneManager3:SetOnCloseDoorFunc
- void SetOnOpenDoorFunc(...); // tolua: tileSceneManager3:SetOnOpenDoorFunc
- void SetRootNode(...); // tolua: tileSceneManager3:SetRootNode
- void SetSpriteFormat(...); // tolua: tileSceneManager3:SetSpriteFormat
- void SetUnObjLowZOrder(...); // tolua: tileSceneManager3:SetUnObjLowZOrder
- void SetViewCenterOffset(...); // tolua: tileSceneManager3:SetViewCenterOffset
- void TestInfo(...); // tolua: tileSceneManager3:TestInfo
- void Tick(...); // tolua: tileSceneManager3:Tick
- void UnloadAll(...); // tolua: tileSceneManager3:UnloadAll
- void UnloadAllTile(...); // tolua: tileSceneManager3:UnloadAllTile
- void UnloadMapData(...); // tolua: tileSceneManager3:UnloadMapData
- void UnloadMiniTex(...); // tolua: tileSceneManager3:UnloadMiniTex
- void UnloadObjsInRect(...); // tolua: tileSceneManager3:UnloadObjsInRect
- void UnloadOneTile(...); // tolua: tileSceneManager3:UnloadOneTile
- void UnloadOneTileByIdx(...); // tolua: tileSceneManager3:UnloadOneTileByIdx
- void calcScreenAreaRect(...); // tolua: tileSceneManager3:calcScreenAreaRect
- void calcScreenTiles(...); // tolua: tileSceneManager3:calcScreenTiles
- void canOpenDoor(...); // tolua: tileSceneManager3:canOpenDoor
- void changeGateState(...); // tolua: tileSceneManager3:changeGateState
- void closeDoor(...); // tolua: tileSceneManager3:closeDoor
- void followPlayer(...); // tolua: tileSceneManager3:followPlayer
- void loadScreenTile(...); // tolua: tileSceneManager3:loadScreenTile
- void openDoor(...); // tolua: tileSceneManager3:openDoor
- void reloadAllTile(...); // tolua: tileSceneManager3:reloadAllTile
- void setAtlasExpiredInterval(...); // tolua: tileSceneManager3:setAtlasExpiredInterval
- void setGMResUrl(...); // tolua: tileSceneManager3:setGMResUrl
- void setTextureMemLimitInMB(...); // tolua: tileSceneManager3:setTextureMemLimitInMB
- };
- // 场景管理: LD地图/坐标换算
- class sceneManager {
- void Cleanup(...); // tolua: sceneManager:Cleanup
- void FindPath(...); // tolua: sceneManager:FindPath
- void GetMapData2DPtr(...); // tolua: sceneManager:GetMapData2DPtr
- void GetMapHeightInPixel(...); // tolua: sceneManager:GetMapHeightInPixel
- void GetMapWidthInPixel(...); // tolua: sceneManager:GetMapWidthInPixel
- void Init(...); // tolua: sceneManager:Init
- void Inst(...); // tolua: sceneManager:Inst
- void LoadLDMap(...); // tolua: sceneManager:LoadLDMap
- void LoadMap(...); // tolua: sceneManager:LoadMap
- void MapPos2WorldPos(...); // tolua: sceneManager:MapPos2WorldPos
- void SetMapNode(...); // tolua: sceneManager:SetMapNode
- void SetViewCenterOffset(...); // tolua: sceneManager:SetViewCenterOffset
- void Tick(...); // tolua: sceneManager:Tick
- void WorldPos2MapPos(...); // tolua: sceneManager:WorldPos2MapPos
- };
- // 2D网格基类
- class mapData2D {
- void getMapDataCols(...); // tolua: mapData2D:getMapDataCols
- void getMapDataRows(...); // tolua: mapData2D:getMapDataRows
- void isCover(...); // tolua: mapData2D:isCover
- void isObstacle(...); // tolua: mapData2D:isObstacle
- };
- // 矩形网格
- class mapData2DRectGrid {
- void getMapDataCols(...); // tolua: mapData2DRectGrid:getMapDataCols
- void getMapDataRows(...); // tolua: mapData2DRectGrid:getMapDataRows
- void getUnitMapDataHeight(...); // tolua: mapData2DRectGrid:getUnitMapDataHeight
- void getUnitMapDataWidth(...); // tolua: mapData2DRectGrid:getUnitMapDataWidth
- void isCover(...); // tolua: mapData2DRectGrid:isCover
- void isObstacle(...); // tolua: mapData2DRectGrid:isObstacle
- void setCover(...); // tolua: mapData2DRectGrid:setCover
- void setObstacle(...); // tolua: mapData2DRectGrid:setObstacle
- };
- // 单格数据: 前/中/背景/门/光
- class mapData2DTile {
- void Create(...); // tolua: mapData2DTile:Create
- void Destroy(...); // tolua: mapData2DTile:Destroy
- void GetAniFrame(...); // tolua: mapData2DTile:GetAniFrame
- void GetAniTick(...); // tolua: mapData2DTile:GetAniTick
- void GetBkImgIdx(...); // tolua: mapData2DTile:GetBkImgIdx
- void GetDoorIndex(...); // tolua: mapData2DTile:GetDoorIndex
- void GetDoorOffset(...); // tolua: mapData2DTile:GetDoorOffset
- void GetFrImgIdx(...); // tolua: mapData2DTile:GetFrImgIdx
- void GetLight(...); // tolua: mapData2DTile:GetLight
- void GetMidImgIdx(...); // tolua: mapData2DTile:GetMidImgIdx
- void GetObjArea(...); // tolua: mapData2DTile:GetObjArea
- void GetSmTilesArea(...); // tolua: mapData2DTile:GetSmTilesArea
- void GetTileInfo(...); // tolua: mapData2DTile:GetTileInfo
- void GetTileInfoEx(...); // tolua: mapData2DTile:GetTileInfoEx
- void GetTilesArea(...); // tolua: mapData2DTile:GetTilesArea
- void LoadData(...); // tolua: mapData2DTile:LoadData
- void getMapDataCols(...); // tolua: mapData2DTile:getMapDataCols
- void getMapDataRows(...); // tolua: mapData2DTile:getMapDataRows
- void getVersion(...); // tolua: mapData2DTile:getVersion
- void isCover(...); // tolua: mapData2DTile:isCover
- void isObstacle(...); // tolua: mapData2DTile:isObstacle
- void setCover(...); // tolua: mapData2DTile:setCover
- void setDoorOffset(...); // tolua: mapData2DTile:setDoorOffset
- void setObstacle(...); // tolua: mapData2DTile:setObstacle
- };
- // 单格数据v3
- class mapData2DTile3 {
- void CloseDoor(...); // tolua: mapData2DTile3:CloseDoor
- void GetAllLights(...); // tolua: mapData2DTile3:GetAllLights
- void GetDoor(...); // tolua: mapData2DTile3:GetDoor
- void GetDoorImgIdx(...); // tolua: mapData2DTile3:GetDoorImgIdx
- void GetLight(...); // tolua: mapData2DTile3:GetLight
- void IsDoorOpen(...); // tolua: mapData2DTile3:IsDoorOpen
- void LoadData(...); // tolua: mapData2DTile3:LoadData
- void OpenDoor(...); // tolua: mapData2DTile3:OpenDoor
- void getCellInfo(...); // tolua: mapData2DTile3:getCellInfo
- void getCellInfoFlag(...); // tolua: mapData2DTile3:getCellInfoFlag
- void getDesc(...); // tolua: mapData2DTile3:getDesc
- void getMapDataCols(...); // tolua: mapData2DTile3:getMapDataCols
- void getMapDataRows(...); // tolua: mapData2DTile3:getMapDataRows
- void getTileInfo(...); // tolua: mapData2DTile3:getTileInfo
- void isCover(...); // tolua: mapData2DTile3:isCover
- void isObstacle(...); // tolua: mapData2DTile3:isObstacle
- void mapData2DTile3(...); // tolua: mapData2DTile3:mapData2DTile3
- void setCover(...); // tolua: mapData2DTile3:setCover
- void setObstacle(...); // tolua: mapData2DTile3:setObstacle
- };
- // ==================== 寻路AI组 ====================
- // 寻路调度单例
- class aiManager {
- void FindPath(...); // tolua: aiManager:FindPath
- void FindPathLimits(...); // tolua: aiManager:FindPathLimits
- void GetPathFind(...); // tolua: aiManager:GetPathFind
- void Inst(...); // tolua: aiManager:Inst
- void Tick(...); // tolua: aiManager:Tick
- };
- // 单次寻路结果
- class pathFind {
- void FindPath(...); // tolua: pathFind:FindPath
- void GetPathLength(...); // tolua: pathFind:GetPathLength
- void GetPathPoints(...); // tolua: pathFind:GetPathPoints
- };
- // ==================== 桥接组 ====================
- // 引擎桥: XXTEA/RSA/模块开关
- class LuaBridgeCtl {
- void CheckClientCount(...); // tolua: LuaBridgeCtl:CheckClientCount
- void CreateNewState(...); // tolua: LuaBridgeCtl:CreateNewState
- void GetModulesSwitch(...); // tolua: LuaBridgeCtl:GetModulesSwitch
- void GetNewFoldername(...); // tolua: LuaBridgeCtl:GetNewFoldername
- void Inst(...); // tolua: LuaBridgeCtl:Inst
- void IsInit3rdparty(...); // tolua: LuaBridgeCtl:IsInit3rdparty
- void RsaDecryptPri(...); // tolua: LuaBridgeCtl:RsaDecryptPri
- void RsaEncryptPub(...); // tolua: LuaBridgeCtl:RsaEncryptPub
- void Set3rdpartyInited(...); // tolua: LuaBridgeCtl:Set3rdpartyInited
- void SetModulesSwitch(...); // tolua: LuaBridgeCtl:SetModulesSwitch
- void SetXXTEAKeyGM(...); // tolua: LuaBridgeCtl:SetXXTEAKeyGM
- };
- // 壳层桥: GN_/NG_ 总枢纽
- class NativeBridgeCtl {
- void Inst(...); // tolua: NativeBridgeCtl:Inst
- void addNativeSelector(...); // tolua: NativeBridgeCtl:addNativeSelector
- void printSelectorList(...); // tolua: NativeBridgeCtl:printSelectorList
- void removeSelectorsInGroup(...); // tolua: NativeBridgeCtl:removeSelectorsInGroup
- void sendMessage2Native(...); // tolua: NativeBridgeCtl:sendMessage2Native
- };
- // C++侧游戏状态镜像
- class gameStateMgr {
- void Inst(...); // tolua: gameStateMgr:Inst
- void RegisterLuaHandler(...); // tolua: gameStateMgr:RegisterLuaHandler
- };
- // ==================== 环境存储组 ====================
- // 全局环境单例(小写e为原名)
- class gameEnviroment {
- void GetBulletinPHPUrl(...); // tolua: gameEnviroment:GetBulletinPHPUrl
- void GetDownloadRootURL(...); // tolua: gameEnviroment:GetDownloadRootURL
- void GetLoginAccount(...); // tolua: gameEnviroment:GetLoginAccount
- void GetLoginPHPUrl(...); // tolua: gameEnviroment:GetLoginPHPUrl
- void GetLoginServer(...); // tolua: gameEnviroment:GetLoginServer
- void GetMainDesignSize(...); // tolua: gameEnviroment:GetMainDesignSize
- void GetMainResolutionPolicy(...); // tolua: gameEnviroment:GetMainResolutionPolicy
- void GetNetClient(...); // tolua: gameEnviroment:GetNetClient
- void GetNormalDesignSize(...); // tolua: gameEnviroment:GetNormalDesignSize
- void GetNormalResolutionPolicy(...); // tolua: gameEnviroment:GetNormalResolutionPolicy
- void GetPackageVer(...); // tolua: gameEnviroment:GetPackageVer
- void GetVersionPHPUrl(...); // tolua: gameEnviroment:GetVersionPHPUrl
- void Inst(...); // tolua: gameEnviroment:Inst
- void SetBulletinPHPUrl(...); // tolua: gameEnviroment:SetBulletinPHPUrl
- void SetDownloadRootURL(...); // tolua: gameEnviroment:SetDownloadRootURL
- void SetLoginAccount(...); // tolua: gameEnviroment:SetLoginAccount
- void SetLoginPHPUrl(...); // tolua: gameEnviroment:SetLoginPHPUrl
- void SetLoginServer(...); // tolua: gameEnviroment:SetLoginServer
- void SetMainDesignSize(...); // tolua: gameEnviroment:SetMainDesignSize
- void SetMainResolutionPolicy(...); // tolua: gameEnviroment:SetMainResolutionPolicy
- void SetNetClient(...); // tolua: gameEnviroment:SetNetClient
- void SetNormalDesignSize(...); // tolua: gameEnviroment:SetNormalDesignSize
- void SetNormalResolutionPolicy(...); // tolua: gameEnviroment:SetNormalResolutionPolicy
- void SetPackageVer(...); // tolua: gameEnviroment:SetPackageVer
- void SetVersionPHPUrl(...); // tolua: gameEnviroment:SetVersionPHPUrl
- };
- // KV持久化存储
- class UserData {
- void UserData(...); // tolua: UserData:UserData
- void getBoolForKey(...); // tolua: UserData:getBoolForKey
- void getDoubleForKey(...); // tolua: UserData:getDoubleForKey
- void getFloatForKey(...); // tolua: UserData:getFloatForKey
- void getIntegerForKey(...); // tolua: UserData:getIntegerForKey
- void getStringForKey(...); // tolua: UserData:getStringForKey
- void readFileDataToMap(...); // tolua: UserData:readFileDataToMap
- void setBoolForKey(...); // tolua: UserData:setBoolForKey
- void setDoubleForKey(...); // tolua: UserData:setDoubleForKey
- void setFloatForKey(...); // tolua: UserData:setFloatForKey
- void setIntegerForKey(...); // tolua: UserData:setIntegerForKey
- void setStringForKey(...); // tolua: UserData:setStringForKey
- void writeMapDataToFile(...); // tolua: UserData:writeMapDataToFile
- };
- // ==================== 下载组 ====================
- // curl封装热更下载器
- class httpDownloader {
- void AsyncDownloadEasy(...); // tolua: httpDownloader:AsyncDownloadEasy
- void AsyncDownloadEx(...); // tolua: httpDownloader:AsyncDownloadEx
- void CleanupAllDownload(...); // tolua: httpDownloader:CleanupAllDownload
- void Destroy(...); // tolua: httpDownloader:Destroy
- void EnableDownload(...); // tolua: httpDownloader:EnableDownload
- void GetLastCurlCode(...); // tolua: httpDownloader:GetLastCurlCode
- void GetLastHttpCode(...); // tolua: httpDownloader:GetLastHttpCode
- void Inst(...); // tolua: httpDownloader:Inst
- void IsEnableDownaload(...); // tolua: httpDownloader:IsEnableDownaload
- void IsLastDownloadOK(...); // tolua: httpDownloader:IsLastDownloadOK
- void SetDownloadDir(...); // tolua: httpDownloader:SetDownloadDir
- void SetDownloadProgress(...); // tolua: httpDownloader:SetDownloadProgress
- void SetDownloadURL(...); // tolua: httpDownloader:SetDownloadURL
- void SetResourceVer(...); // tolua: httpDownloader:SetResourceVer
- void SetSpeedLimit(...); // tolua: httpDownloader:SetSpeedLimit
- void SetTimeOut(...); // tolua: httpDownloader:SetTimeOut
- void httpDownloader(...); // tolua: httpDownloader:httpDownloader
- };
- // ==================== 渲染增强组 ====================
- // 批量文本节点(伤害数字)
- class LabelBatchNode {
- void addLabelString(...); // tolua: LabelBatchNode:addLabelString
- void create(...); // tolua: LabelBatchNode:create
- void createLabelString(...); // tolua: LabelBatchNode:createLabelString
- void destroyLabelString(...); // tolua: LabelBatchNode:destroyLabelString
- void getFontAltas(...); // tolua: LabelBatchNode:getFontAltas
- void hasOutline(...); // tolua: LabelBatchNode:hasOutline
- void refCameraFontScale(...); // tolua: LabelBatchNode:refCameraFontScale
- void removeLabelString(...); // tolua: LabelBatchNode:removeLabelString
- void setAliasTexParameters(...); // tolua: LabelBatchNode:setAliasTexParameters
- };
- // 批量文本单元
- class LabelBatchString {
- void LabelBatchString(...); // tolua: LabelBatchString:LabelBatchString
- void cleanup(...); // tolua: LabelBatchString:cleanup
- void getColor(...); // tolua: LabelBatchString:getColor
- void getContentSize(...); // tolua: LabelBatchString:getContentSize
- void getLocalZ(...); // tolua: LabelBatchString:getLocalZ
- void getPosition(...); // tolua: LabelBatchString:getPosition
- void getString(...); // tolua: LabelBatchString:getString
- void isVisible(...); // tolua: LabelBatchString:isVisible
- void setAlignment(...); // tolua: LabelBatchString:setAlignment
- void setColor(...); // tolua: LabelBatchString:setColor
- void setLocalZ(...); // tolua: LabelBatchString:setLocalZ
- void setOpacity(...); // tolua: LabelBatchString:setOpacity
- void setPosition(...); // tolua: LabelBatchString:setPosition
- void setString(...); // tolua: LabelBatchString:setString
- void setVisible(...); // tolua: LabelBatchString:setVisible
- };
- // 程序化纹理(战争迷雾)
- class CustomTexture2D {
- void ResetData(...); // tolua: CustomTexture2D:ResetData
- void SetCircleData(...); // tolua: CustomTexture2D:SetCircleData
- void SetData(...); // tolua: CustomTexture2D:SetData
- void SetSquareData(...); // tolua: CustomTexture2D:SetSquareData
- void UpdateTexture(...); // tolua: CustomTexture2D:UpdateTexture
- void create(...); // tolua: CustomTexture2D:create
- };
- // 可注册Lua回调的精灵
- class LuaSprite {
- void LuaSprite(...); // tolua: LuaSprite:LuaSprite
- void RegisterLuaHandler(...); // tolua: LuaSprite:RegisterLuaHandler
- };
- // actor移动Action
- class ActorMoveTo {
- void ActorMoveTo(...); // tolua: ActorMoveTo:ActorMoveTo
- void create(...); // tolua: ActorMoveTo:create
- };
- // 下划线组件
- class UnderLineComponent {
- void attachToNode(...); // tolua: UnderLineComponent:attachToNode
- void create(...); // tolua: UnderLineComponent:create
- void init(...); // tolua: UnderLineComponent:init
- };
- // 时间动作(cocos扩展)
- class ActionInterval {
- void setElapsed(...); // tolua: ActionInterval:setElapsed
- };
- // ==================== 疑似测试残留 ====================
- //
- class ZZZ {
- void aaa(...); // tolua: ZZZ:aaa
- };
- //
- class L0L {
- void LA(...); // tolua: L0L:LA
- };
- //
- class nQ {
- void B(...); // tolua: nQ:B
- };
- //
- class s1s {
- void sHsX(...); // tolua: s1s:sHsX
- };
|