File tree 3 files changed +6
-7
lines changed
3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ module.exports = {
15
15
"no-extra-semi" : "off" ,
16
16
"no-inner-declarations" : "off" ,
17
17
"@typescript-eslint/no-use-before-define" : "off" ,
18
- "@typescript-eslint/no-non-null-assertion" : "off"
18
+ "@typescript-eslint/no-non-null-assertion" : "off" ,
19
+ "@typescript-eslint/camelcase" : "off" ,
19
20
} ,
20
21
}
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ const playerNative = _G.Player
5
5
class Player extends Handle < jplayer > {
6
6
protected constructor ( handle : jplayer , ctor : typeof Player ) {
7
7
super ( handle , ctor as typeof Handle )
8
- print ( `constructed Player for ${ GetPlayerId ( handle ) } :${ GetHandleId ( handle ) } ` )
9
8
}
10
9
11
10
static local : Player
@@ -15,7 +14,7 @@ class Player extends Handle<jplayer> {
15
14
Player . init ( )
16
15
const storage : Player [ ] = [ ]
17
16
18
- for ( let i = 0 ; i < 4 ; i ++ ) {
17
+ for ( let i = 0 ; i < bj_MAX_PLAYERS ; i ++ ) {
19
18
storage [ i ] = Player . of ( playerNative ( i ) )
20
19
}
21
20
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " cerrie" ,
3
- "version" : " 1.0.3 " ,
3
+ "version" : " 1.0.4 " ,
4
4
"description" : " A typescript library for WC3 using Ceres" ,
5
5
"scripts" : {
6
6
"clean" : " rm -rf dist cerriedist" ,
23
23
"prettier" : " ^1.19.1" ,
24
24
"tsc-watch" : " ^4.1.0" ,
25
25
"typescript" : " ^3.7.5" ,
26
- "typescript-to-lua " : " ^ 0.31.0"
26
+ "ceres-tstl " : " 0.31.0-patch1 "
27
27
},
28
28
"author" : " " ,
29
29
"license" : " MIT" ,
30
30
"dependencies" : {
31
31
"ceres-decl" : " ^1.0.0" ,
32
32
"lua-types" : " ^2.7.0"
33
- },
34
- "types" : " ./cerrie.d.ts"
33
+ }
35
34
}
You can’t perform that action at this time.
0 commit comments