Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>jassNew to Visual Studio Code? Get it now.

jass

家貓hoo

|
5,696 installs
| (6) | Free
目标是扩展成为主流的jass插件。 QQ群:137199441,提出你宝贵的建议。
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

貼吧 Gitee源碼 GitHub源碼 Q群,點擊加入

vscode最低版本1.49

common.j 為1.32.7

使用步骤

  1. 下载安装 visual studio Code
  2. visual studio Code 安装 Jass插件
  3. WE触发器 自定义脚本区 #include "Main.j"

"Main.j" 内容


// 友情提供: 枫舞
#include  "****.j"    //这是引入的其他j文件

//触发器主体  注:Main文件 要有一个空的触发
// -------------------------------------------------------

//以下为外部引用触发器的格式
//Main  为触发器名字
//MainAction  为动作函数名 对应T的动作
//MainEvent   为触发函数名 对应T的事件
library Main initializer MainEvent
  function MainAction takes nothing returns nothing
          
  endfunction
  function MainEvent takes nothing returns nothing
    local trigger mainTrigger = CreateTrigger()
    call TriggerRegisterTimerEventSingle(mainTrigger,0)
    call TriggerAddAction(mainTrigger, function MainAction)
  endfunction
endlibrary

param param-display

---star一下吧!---

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2022 Microsoft