* VRFS-27; adding notice that someone received an invitation

This commit is contained in:
Seth Call 2012-10-27 17:26:24 -05:00
parent 205aaf856e
commit 568d9aedae
1 changed files with 10 additions and 0 deletions

View File

@ -19,6 +19,7 @@ message ClientMessage {
LEAVE_MUSIC_SESSION_ACK = 106;
HEARTBEAT = 107;
FRIEND_UPDATE = 108;
SESSION_INVITATION = 109;
TEST_SESSION_MESSAGE = 200;
@ -51,6 +52,7 @@ message ClientMessage {
optional LeaveMusicSessionAck leave_music_session_ack = 106;
optional Heartbeat heartbeat = 107;
optional FriendUpdate friend_update = 108; // from server to all friends of user
optional SessionInvitation session_invitation = 109; // from server to user
// Client-Session messages (to/from)
optional TestSessionMessage test_session_message = 200;
@ -170,6 +172,14 @@ message FriendUpdate {
optional bool online = 2;
}
// route_to: user:[USER_ID]
// let a user know they've been invited to a session
message SessionInvitation {
optional string invitation = 1;
}
// route_to: client
// this indicates unhandled error on server
// if you receive this, your connection will close after.