Score
0
Watch 2 Star 4 Fork 2

家貓hoo / jassTypeScript

Join us
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
vscode jass語言插件 spread retract

  • Objective-J 77.7%
  • JavaScript 11.3%
  • TypeScript 11.0%
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

貼吧 源碼 Q群,點擊加入

vscode最低版本1.37 common.j 為1.32.1

  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

赞助码,好饿啊,赞助一下吧!

zanzhu

貼吧 源碼 Q群,點擊加入

Comments ( 3 )

Sign in for post a comment

TypeScript
1
https://gitee.com/naichabaobao/jass.git
git@gitee.com:naichabaobao/jass.git
naichabaobao
jass
jass
master

Help Search