2024-05-27 18:12:34 -04:00
|
|
|
{
|
|
|
|
"Vector3": {
|
|
|
|
"x": {
|
|
|
|
"type": "f32",
|
2024-06-02 09:42:35 -04:00
|
|
|
"kind": "scalar",
|
|
|
|
"comment": "x coordinate"
|
2024-05-27 18:12:34 -04:00
|
|
|
},
|
|
|
|
"y": {
|
|
|
|
"type": "f32",
|
2024-06-02 09:42:35 -04:00
|
|
|
"kind": "scalar",
|
|
|
|
"comment": "y coordinate"
|
2024-05-27 18:12:34 -04:00
|
|
|
},
|
|
|
|
"z": {
|
|
|
|
"type": "f32",
|
2024-06-02 09:42:35 -04:00
|
|
|
"kind": "scalar",
|
|
|
|
"comment": "z coordinate"
|
2024-05-27 18:12:34 -04:00
|
|
|
}
|
|
|
|
},
|
2024-06-02 09:42:35 -04:00
|
|
|
"Login": {
|
|
|
|
"Email": {
|
|
|
|
"type": "string",
|
|
|
|
"kind": "string",
|
|
|
|
"size": "256",
|
|
|
|
"comment": "Email of the user"
|
|
|
|
},
|
|
|
|
"Password": {
|
|
|
|
"type": "string",
|
|
|
|
"kind": "string",
|
|
|
|
"size": "64",
|
|
|
|
"comment": "Password of the user"
|
2024-05-27 18:54:12 -04:00
|
|
|
}
|
|
|
|
},
|
2024-06-02 09:42:35 -04:00
|
|
|
"User": {
|
2024-05-27 18:12:34 -04:00
|
|
|
"Name": {
|
|
|
|
"type": "string",
|
|
|
|
"kind": "string",
|
2024-06-02 09:42:35 -04:00
|
|
|
"size": "24",
|
|
|
|
"comment": "Name of the user"
|
2024-05-27 18:12:34 -04:00
|
|
|
},
|
2024-06-02 09:42:35 -04:00
|
|
|
"Login": {
|
|
|
|
"type": "Login",
|
|
|
|
"kind": "struct",
|
|
|
|
"comment": "user login info"
|
2024-05-27 18:12:34 -04:00
|
|
|
},
|
2024-06-02 09:42:35 -04:00
|
|
|
"Position": {
|
|
|
|
"type": "Vector3",
|
|
|
|
"kind": "struct",
|
|
|
|
"comment": "last logout position of user"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"LoginRequest": {
|
|
|
|
"Login": {
|
|
|
|
"type": "Login",
|
|
|
|
"kind": "struct",
|
|
|
|
"comment": "user login info"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"LoginResponse": {
|
|
|
|
"success": {
|
|
|
|
"type": "i8",
|
|
|
|
"kind": "scalar",
|
|
|
|
"comment": "login was successful or not"
|
2024-05-27 18:12:34 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|