📄 callins.lua
字号:
-------------------------------------------------------------------------------------------------------------------------------------------------------------------- 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -