Module
Screeps.FFI
- Package
- purescript-screeps-classy
- Repository
- purescript/purescript-screeps
Internal helper module for JavaScript FFI
#unsafeOptField Source
unsafeOptField :: forall val obj. String -> obj -> Maybe val
#unsafeIntField Source
unsafeIntField :: forall obj. String -> obj -> Int
#unsafeField Source
unsafeField :: forall val obj. String -> obj -> val
#unsafeOptField_helper Source
unsafeOptField_helper :: forall r val obj. r -> (val -> r) -> String -> obj -> r
#unsafeGetFieldEff Source
unsafeGetFieldEff :: forall eff val obj. String -> obj -> Eff eff val
#unsafeSetFieldEff Source
unsafeSetFieldEff :: forall eff val obj. String -> obj -> val -> Eff eff Unit
#runThisEffFn0 Source
runThisEffFn0 :: forall a this eff. String -> this -> Eff eff a
#runThisEffFn1 Source
runThisEffFn1 :: forall b a this eff. String -> this -> a -> Eff eff b
#runThisEffFn2 Source
runThisEffFn2 :: forall c b a this eff. String -> this -> a -> b -> Eff eff c
#runThisEffFn3 Source
runThisEffFn3 :: forall d c b a this eff. String -> this -> a -> b -> c -> Eff eff d
#runThisEffFn4 Source
runThisEffFn4 :: forall e d c b a this eff. String -> this -> a -> b -> c -> d -> Eff eff e
#runThisEffFn5 Source
runThisEffFn5 :: forall f e d c b a this eff. String -> this -> a -> b -> c -> d -> e -> Eff eff f
#runThisEffFn6 Source
runThisEffFn6 :: forall g f e d c b a this eff. String -> this -> a -> b -> c -> d -> e -> f -> Eff eff g
#runThisFn0 Source
runThisFn0 :: forall a this. String -> this -> a
#runThisFn1 Source
runThisFn1 :: forall b a this. String -> this -> a -> b
#runThisFn2 Source
runThisFn2 :: forall c b a this. String -> this -> a -> b -> c
#runThisFn3 Source
runThisFn3 :: forall d c b a this. String -> this -> a -> b -> c -> d
#runThisFn4 Source
runThisFn4 :: forall e d c b a this. String -> this -> a -> b -> c -> d -> e
#runThisFn5 Source
runThisFn5 :: forall f e d c b a this. String -> this -> a -> b -> c -> d -> e -> f
#runThisFn6 Source
runThisFn6 :: forall g f e d c b a this. String -> this -> a -> b -> c -> d -> e -> f -> g
#NullOrUndefined Source
data NullOrUndefined :: Type -> Type
#null Source
null :: forall a. NullOrUndefined a
#undefined Source
undefined :: forall a. NullOrUndefined a
#notNullOrUndefined Source
notNullOrUndefined :: forall a. a -> NullOrUndefined a
#isNull Source
isNull :: forall a. NullOrUndefined a -> Boolean
#isUndefined Source
isUndefined :: forall a. NullOrUndefined a -> Boolean
#toMaybeImpl Source
toMaybeImpl :: forall m a. Fn3 (NullOrUndefined a) m (a -> m) m
#toMaybe Source
toMaybe :: forall a. NullOrUndefined a -> Maybe a
#toNullable Source
toNullable :: forall a. Maybe a -> NullOrUndefined a
#toUndefinable Source
toUndefinable :: forall a. Maybe a -> NullOrUndefined a
#selectMaybesImpl Source
selectMaybesImpl :: forall a. (Maybe a -> Boolean) -> (Maybe a -> a) -> a -> JsObject
#selectMaybes Source
selectMaybes :: forall a. a -> JsObject
#instanceOf Source
instanceOf :: forall a. String -> a -> Boolean
- Modules
- Screeps
- Screeps.
BodyPartType - Screeps.
Color - Screeps.
Constants - Screeps.
ConstructionSite - Screeps.
Container - Screeps.
Controller - Screeps.
Coolsdown - Screeps.
Coord - Screeps.
Creep - Screeps.
Decays - Screeps.
Deposit - Screeps.
Destructible - Screeps.
Direction - Screeps.
Effects - Screeps.
Extension - Screeps.
Extractor - Screeps.
FFI - Screeps.
FindType - Screeps.
Flag - Screeps.
Game - Screeps.
Id - Screeps.
IntMap - Screeps.
KeeperLair - Screeps.
Lab - Screeps.
Link - Screeps.
Map - Screeps.
Market - Screeps.
Memory - Screeps.
Mineral - Screeps.
Names - Screeps.
Nuke - Screeps.
Nuker - Screeps.
Observer - Screeps.
Owned - Screeps.
Path - Screeps.
Path. Cache - Screeps.
Portal - Screeps.
PowerBank - Screeps.
PowerSpawn - Screeps.
Progress - Screeps.
Rampart - Screeps.
Refillable - Screeps.
Regenerates - Screeps.
Resource - Screeps.
ReturnCode - Screeps.
Road - Screeps.
Room - Screeps.
RoomObject - Screeps.
RoomPosition - Screeps.
RoomPosition. Type - Screeps.
Source - Screeps.
Spawn - Screeps.
Storage - Screeps.
Stores - Screeps.
Structure - Screeps.
Terminal - Screeps.
Tower - Screeps.
Types - Screeps.
Wall