File tree Expand file tree Collapse file tree 4 files changed +14
-1
lines changed Expand file tree Collapse file tree 4 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -229,6 +229,7 @@ declare namespace LAccess {
229
229
const powerNetOut : unique symbol ;
230
230
const ammo : unique symbol ;
231
231
const ammoCapacity : unique symbol ;
232
+ const currentAmmoType : unique symbol ;
232
233
const health : unique symbol ;
233
234
const maxHealth : unique symbol ;
234
235
const heat : unique symbol ;
@@ -240,6 +241,8 @@ declare namespace LAccess {
240
241
const rotation : unique symbol ;
241
242
const x : unique symbol ;
242
243
const y : unique symbol ;
244
+ const velocityX : unique symbol ;
245
+ const velocityY : unique symbol ;
243
246
const shootX : unique symbol ;
244
247
const shootY : unique symbol ;
245
248
const cameraX : unique symbol ;
Original file line number Diff line number Diff line change @@ -18,7 +18,8 @@ interface BasicUnit
18
18
WithSpeed ,
19
19
WithColor ,
20
20
WithTeam ,
21
- WithArmor { }
21
+ WithArmor ,
22
+ WithVelocity { }
22
23
23
24
interface AnyUnit extends BasicUnit , Boosted , WithCamera { }
24
25
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ declare global {
57
57
readonly shootY : number ;
58
58
readonly ammo : number ;
59
59
readonly ammoCapacity : number ;
60
+ readonly currentAmmoType ?: ItemSymbol | LiquidSymbol ;
60
61
} > { }
61
62
62
63
interface WithHealth
@@ -262,4 +263,10 @@ declare global {
262
263
extends WithSymbols < {
263
264
readonly solid : boolean ;
264
265
} > { }
266
+
267
+ interface WithVelocity
268
+ extends WithSymbols < {
269
+ readonly velocityX : number ;
270
+ readonly velocityY : number ;
271
+ } > { }
265
272
}
Original file line number Diff line number Diff line change @@ -85,6 +85,8 @@ declare module "mlogjs:types" {
85
85
speed : number ;
86
86
shield : number ;
87
87
armor : number ;
88
+ velocityX : number ;
89
+ velocityY : number ;
88
90
}
89
91
> { }
90
92
You can’t perform that action at this time.
0 commit comments