summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornsensfel <SpamShield0@noot-noot.org>2018-09-14 18:57:42 +0200
committernsensfel <SpamShield0@noot-noot.org>2018-09-14 18:57:42 +0200
commit2aa0c12b6a193d16681a0179a067664390af7aee (patch)
treeca2e2533c3a9947ba5ef9d5e1d646b964ba82eb6 /src/Struct/ServerReply.elm
parentac5b50e4a622ee0885678a96c69af7f49290bcee (diff)
...
Diffstat (limited to 'src/Struct/ServerReply.elm')
-rw-r--r--src/Struct/ServerReply.elm13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/Struct/ServerReply.elm b/src/Struct/ServerReply.elm
index 65fc063..f0530d8 100644
--- a/src/Struct/ServerReply.elm
+++ b/src/Struct/ServerReply.elm
@@ -2,8 +2,8 @@ module Struct.ServerReply exposing (Type(..))
-- Elm -------------------------------------------------------------------------
--- Main Menu -------------------------------------------------------------------
-import Struct.Player
+-- -------------------------------------------------------------------
+import Struct.BattleSummary
--------------------------------------------------------------------------------
-- TYPES -----------------------------------------------------------------------
@@ -11,7 +11,14 @@ import Struct.Player
type Type =
Okay
--- | SetBattles (List, List, List)
+ | SetID String
+ | SetUsername String
+ | SetBattles
+ (
+ (List Struct.BattleSummary.Type),
+ (List Struct.BattleSummary.Type),
+ (List Struct.BattleSummary.Type)
+ )
--------------------------------------------------------------------------------
-- LOCAL -----------------------------------------------------------------------