sc2-support-0.1.0.0: Support and utility library for sc2hs.

Safe HaskellNone
LanguageHaskell2010

Network.SC2.Internal.Types

Documentation

type RawIDMappable a = (HasLens' a "id" Integer, HasLens' a "canonicalName" Text) Source #

data Unit Source #

Constructors

Unit 

Fields

Instances
Eq Unit Source # 
Instance details

Defined in Network.SC2.Internal.Types

Methods

(==) :: Unit -> Unit -> Bool #

(/=) :: Unit -> Unit -> Bool #

Show Unit Source # 
Instance details

Defined in Network.SC2.Internal.Types

Methods

showsPrec :: Int -> Unit -> ShowS #

show :: Unit -> String #

showList :: [Unit] -> ShowS #

FromJSON Unit Source # 
Instance details

Defined in Network.SC2.Internal.Types

HasLens' Unit "canonicalName" Text Source # 
Instance details

Defined in Network.SC2.Internal.Types

Methods

lensOf' :: Functor f => Proxy# "canonicalName" -> (Text -> f Text) -> Unit -> f Unit #

HasLens' Unit "id" Integer Source # 
Instance details

Defined in Network.SC2.Internal.Types

Methods

lensOf' :: Functor f => Proxy# "id" -> (Integer -> f Integer) -> Unit -> f Unit #

data Ability Source #

Instances
Eq Ability Source # 
Instance details

Defined in Network.SC2.Internal.Types

Methods

(==) :: Ability -> Ability -> Bool #

(/=) :: Ability -> Ability -> Bool #

Show Ability Source # 
Instance details

Defined in Network.SC2.Internal.Types

FromJSON Ability Source # 
Instance details

Defined in Network.SC2.Internal.Types

HasLens' Ability "canonicalName" Text Source # 
Instance details

Defined in Network.SC2.Internal.ConstantGenerator

Methods

lensOf' :: Functor f => Proxy# "canonicalName" -> (Text -> f Text) -> Ability -> f Ability #

HasLens' Ability "id" Integer Source # 
Instance details

Defined in Network.SC2.Internal.Types

Methods

lensOf' :: Functor f => Proxy# "id" -> (Integer -> f Integer) -> Ability -> f Ability #

data Upgrade Source #

Constructors

Upgrade 
Instances
Eq Upgrade Source # 
Instance details

Defined in Network.SC2.Internal.Types

Methods

(==) :: Upgrade -> Upgrade -> Bool #

(/=) :: Upgrade -> Upgrade -> Bool #

Show Upgrade Source # 
Instance details

Defined in Network.SC2.Internal.Types

FromJSON Upgrade Source # 
Instance details

Defined in Network.SC2.Internal.Types

HasLens' Upgrade "canonicalName" Text Source # 
Instance details

Defined in Network.SC2.Internal.Types

Methods

lensOf' :: Functor f => Proxy# "canonicalName" -> (Text -> f Text) -> Upgrade -> f Upgrade #

HasLens' Upgrade "id" Integer Source # 
Instance details

Defined in Network.SC2.Internal.Types

Methods

lensOf' :: Functor f => Proxy# "id" -> (Integer -> f Integer) -> Upgrade -> f Upgrade #

data Buff Source #

Constructors

Buff 

Fields

Instances
Eq Buff Source # 
Instance details

Defined in Network.SC2.Internal.Types

Methods

(==) :: Buff -> Buff -> Bool #

(/=) :: Buff -> Buff -> Bool #

Show Buff Source # 
Instance details

Defined in Network.SC2.Internal.Types

Methods

showsPrec :: Int -> Buff -> ShowS #

show :: Buff -> String #

showList :: [Buff] -> ShowS #

FromJSON Buff Source # 
Instance details

Defined in Network.SC2.Internal.Types

HasLens' Buff "canonicalName" Text Source # 
Instance details

Defined in Network.SC2.Internal.Types

Methods

lensOf' :: Functor f => Proxy# "canonicalName" -> (Text -> f Text) -> Buff -> f Buff #

HasLens' Buff "id" Integer Source # 
Instance details

Defined in Network.SC2.Internal.Types

Methods

lensOf' :: Functor f => Proxy# "id" -> (Integer -> f Integer) -> Buff -> f Buff #

data Effect Source #

Instances
Eq Effect Source # 
Instance details

Defined in Network.SC2.Internal.Types

Methods

(==) :: Effect -> Effect -> Bool #

(/=) :: Effect -> Effect -> Bool #

Show Effect Source # 
Instance details

Defined in Network.SC2.Internal.Types

FromJSON Effect Source # 
Instance details

Defined in Network.SC2.Internal.Types

HasLens' Effect "canonicalName" Text Source # 
Instance details

Defined in Network.SC2.Internal.Types

Methods

lensOf' :: Functor f => Proxy# "canonicalName" -> (Text -> f Text) -> Effect -> f Effect #

HasLens' Effect "id" Integer Source # 
Instance details

Defined in Network.SC2.Internal.Types

Methods

lensOf' :: Functor f => Proxy# "id" -> (Integer -> f Integer) -> Effect -> f Effect #

data IDs Source #

Constructors

IDs 

Fields

Instances
Eq IDs Source # 
Instance details

Defined in Network.SC2.Internal.Types

Methods

(==) :: IDs -> IDs -> Bool #

(/=) :: IDs -> IDs -> Bool #

Show IDs Source # 
Instance details

Defined in Network.SC2.Internal.Types

Methods

showsPrec :: Int -> IDs -> ShowS #

show :: IDs -> String #

showList :: [IDs] -> ShowS #

FromJSON IDs Source # 
Instance details

Defined in Network.SC2.Internal.Types