18 lines
428 B
Protocol Buffer
18 lines
428 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
// Client -> Server
|
|
// Request logging into the server
|
|
// seed: the seed used to generate the address
|
|
message AuthenticationRequest {
|
|
required fixed64 seed = 1;
|
|
}
|
|
|
|
// Server -> Client
|
|
// Login response
|
|
// status: 0 if successful, anything else is an error
|
|
// address: the address assigned to the peer
|
|
message AuthenticationResponse {
|
|
required uint32 status = 1;
|
|
required fixed64 address = 2;
|
|
}
|