syntax = "proto3"; package Aurora.Proto.Party; import "Proto/general.proto"; service RemotePartyService { //Party Service rpc JoinParty(JoinPartyRequest) returns (JoinPartyResponse); rpc LeaveParty(LeavePartyRequest) returns (LeavePartyResponse); rpc GetPartyMembers(Aurora.Proto.General.Empty) returns (MembersResponse); } message JoinPartyRequest { string userName = 2; } message JoinPartyResponse { PartyJoinedStatusEnum status = 1; } message LeavePartyRequest { string clientId = 1; } message LeavePartyResponse { PartyJoinedStatusEnum status = 1; } message PartyMember { string userName = 1; string id = 2; string ipAddress = 3; int32 port = 4; } message MembersResponse { repeated PartyMember members = 1; } enum PartyJoinedStatusEnum { Connected = 0; Disconnected = 1; }