callins.lua

来自「这是整套横扫千军3D版游戏的源码」· LUA 代码 · 共 87 行

LUA
87
字号
--------------------------------------------------------------------------------------------------------------------------------------------------------------------  file:    callins.lua--  brief:   array and map of call-ins--  author:  Dave Rodgers----  Copyright (C) 2007.--  Licensed under the terms of the GNU GPL, v2 or later.------------------------------------------------------------------------------------------------------------------------------------------------------------------CallInsList = {  "Shutdown",  "LayoutButtons",  "ConfigureLayout",  "CommandNotify",  "KeyPress",  "KeyRelease",  "MouseMove",  "MousePress",  "MouseRelease",  "IsAbove",  "GetTooltip",  "AddConsoleLine",  "GroupChanged",  "GameOver",  "TeamDied",  "UnitCreated",  "UnitFinished",  "UnitFromFactory",  "UnitDestroyed",  "UnitTaken",  "UnitGiven",  "UnitIdle",  "UnitSeismicPing",  "UnitEnteredRadar",  "UnitEnteredLos",  "UnitLeftRadar",  "UnitLeftLos",  "UnitLoaded",  "UnitUnloaded",  "FeatureCreated",  "FeatureDestroyed",  "DrawWorld",  "DrawWorldPreUnit",  "DrawWorldShadow",  "DrawWorldReflection",  "DrawWorldRefraction",  "DrawScreenEffects",  "DrawScreen",  "DrawInMiniMap",  "Explosion",  "ShockFront",  "GameFrame",  "CobCallback",  "AllowCommand",  "CommandFallback",  "AllowUnitCreation",  "AllowUnitTransfer",  "AllowUnitBuildStep",  "AllowFeatureCreation",  "AllowFeatureBuildStep",  "AllowResourceLevel",  "AllowResourceTransfer",}-- make the mapCallInsMap = {}for _, callin in ipairs(CallInsList) do  CallInsMap[callin] = trueend----------------------------------------------------------------------------------------------------------------------------------------------------------------

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?