isaacscript-common 26.3.0 → 26.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PostEntityKillFilter.d.ts","sourceRoot":"","sources":["../../../../src/classes/callbacks/PostEntityKillFilter.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,qBAAa,oBAAqB,SAAQ,cAAc,CAAC,iBAAiB,CAAC,uBAAuB,CAAC;;IAUjG,UAAmB,UAAU,0BAAoB;IAGjD,OAAO,CAAC,cAAc,CAEpB;CACH"}
@@ -0,0 +1,23 @@
1
+ local ____lualib = require("lualib_bundle")
2
+ local __TS__Class = ____lualib.__TS__Class
3
+ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
4
+ local ____exports = {}
5
+ local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
6
+ local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
7
+ local ____shouldFire = require("src.shouldFire")
8
+ local shouldFireEntity = ____shouldFire.shouldFireEntity
9
+ local ____CustomCallback = require("src.classes.private.CustomCallback")
10
+ local CustomCallback = ____CustomCallback.CustomCallback
11
+ ____exports.PostEntityKillFilter = __TS__Class()
12
+ local PostEntityKillFilter = ____exports.PostEntityKillFilter
13
+ PostEntityKillFilter.name = "PostEntityKillFilter"
14
+ __TS__ClassExtends(PostEntityKillFilter, CustomCallback)
15
+ function PostEntityKillFilter.prototype.____constructor(self)
16
+ CustomCallback.prototype.____constructor(self)
17
+ self.shouldFire = shouldFireEntity
18
+ self.postEntityKill = function(____, entity)
19
+ self:fire(entity)
20
+ end
21
+ self.callbacksUsed = {{ModCallback.POST_ENTITY_KILL, self.postEntityKill}}
22
+ end
23
+ return ____exports