summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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 -----------------------------------------------------------------------