syntax = "proto3";
package protos;
import "userinfo.proto";
import "result.proto";

// 用户加入大厅
message LobbyJoinPush {
    UserInfo UserInfo = 1;
}

// 用户离开大厅
message LobbyLeavePush {
    uint32 UserID = 1;
}

message LobbyUserListRequest {
}

message LobbyUserListResponse {
    Result Result = 1;
    repeated UserInfo Users = 2;
}

message LobbyGetUserRequest {
    uint32 UserID = 1;
}
message LobbyGetUserResponse {
    Result Result = 1;
    UserInfo User = 2;
}