Work on login screen, added ui buttons and textboxes (plus tab fixes)

This commit is contained in:
Thinkofname 2016-03-20 20:17:21 +00:00
parent 458a36bbf2
commit 3d6f5ba904
1 changed files with 23 additions and 23 deletions

View File

@ -511,20 +511,20 @@ state_packets!(
// JoinGame is sent after completing the login process. This
// sets the initial state for the client.
JoinGame {
// The entity id the client will be referenced by
// The entity id the client will be referenced by
entity_id: i32 =,
// The starting gamemode of the client
// The starting gamemode of the client
gamemode: u8 =,
// The dimension the client is starting in
// The dimension the client is starting in
dimension: i8 =,
// The difficuilty setting for the server
// The difficuilty setting for the server
difficulty: u8 =,
// The max number of players on the server
// The max number of players on the server
max_players: u8 =,
// The level type of the server
// The level type of the server
level_type: String =,
// Whether the client should reduce the amount of debug
// information it displays in F3 mode
// Whether the client should reduce the amount of debug
// information it displays in F3 mode
reduced_debug_info: bool =,
}
// Maps updates a single map's contents
@ -879,21 +879,21 @@ state_packets!(
// and optionally a favicon.
//
// The structure is as follows
// {
// "version": {
// "name": "1.8.3",
// "protocol": 47,
// },
// "players": {
// "max": 20,
// "online": 1,
// "sample": [
// {"name": "Thinkofdeath", "id": "4566e69f-c907-48ee-8d71-d7ba5aa00d20"}
// ]
// },
// "description": "Hello world",
// "favicon": "data:image/png;base64,<data>"
// }
// {
// "version": {
// "name": "1.8.3",
// "protocol": 47,
// },
// "players": {
// "max": 20,
// "online": 1,
// "sample": [
// {"name": "Thinkofdeath", "id": "4566e69f-c907-48ee-8d71-d7ba5aa00d20"}
// ]
// },
// "description": "Hello world",
// "favicon": "data:image/png;base64,<data>"
// }
StatusResponse {
status: String =,
}