parent
3a44d2a73d
commit
ff86522f0e
1 changed files with 14 additions and 3 deletions
@ -1,13 +1,24 @@ |
||||
package messages |
||||
|
||||
/* |
||||
const ( |
||||
Auth string = "Auth" |
||||
Message string = "Message" |
||||
PlayerAction string = "PlayerAction" |
||||
System string = "System" |
||||
) |
||||
|
||||
type PlayerMessage struct { |
||||
/* |
||||
|
||||
|
||||
} |
||||
*/ |
||||
|
||||
type PlayerMsg struct { |
||||
Type string "json:`Type`" |
||||
Status int "json:`Status`" |
||||
Message interface{} "json:`Message`" |
||||
} |
||||
|
||||
type AuthMsg struct { |
||||
Login string "json:`Login`" |
||||
Password string "json:`Password`" |
||||
} |
||||
|
Loading…
Reference in new issue