Renderer/src/net/server.json
austin 58dc5333e6
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
database work + serialization work + save pos
2025-04-15 20:42:39 -04:00

71 lines
2.1 KiB
JSON

{
"outputPath" : "./src/main/java/electrosphere/net/parser/",
"packageName" : "electrosphere.net.parser",
"categories":[
{
"categoryName" : "Server",
"data" : [
],
"messageTypes" : [
{
"messageName" : "Ping",
"description" : "Pings the other side of the socket",
"data" : []
},
{
"messageName" : "Pong",
"description" : "Replies to a ping from the other side of the socket",
"data" : []
},
{
"messageName" : "Disconnect",
"description" : "Tell the other side of the socket that this side is disconnecting",
"data" : []
}
]
},
{
"categoryName" : "Auth",
"data" : [
{
"name" : "user",
"type" : "VAR_STRING"
},
{
"name" : "pass",
"type" : "VAR_STRING"
}
],
"messageTypes" : [
{
"messageName" : "AuthRequest",
"description" : "Requests authorization from the client",
"data" : []
},
{
"messageName" : "AuthDetails",
"description" : "Tells the server the auth details of this client",
"data" : [
"user",
"pass"
]
},
{
"messageName" : "AuthSuccess",
"description" : "Tells the client it successfully logged in",
"data" : []
},
{
"messageName" : "AuthFailure",
"description" : "Tells the client it failed to log in",
"data" : []
}
]
}
]
}