// Proto has been converted from Sorapointa to Grasscutter format
// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa.
// Copyright (C) 2022  Sorapointa Team
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program.  If not, see <https://www.gnu.org/licenses/>.

syntax = "proto3";

import "FriendEnterHomeOption.proto";
import "FriendOnlineState.proto";
import "PlatformType.proto";
import "ProfilePicture.proto";
import "SocialShowAvatarInfo.proto";

option java_package = "emu.grasscutter.net.proto";

message FriendBrief {
  uint32 uid = 1;
  string nickname = 2;
  uint32 level = 3;
  uint32 avatar_id = 4;
  uint32 world_level = 5;
  string signature = 6;
  FriendOnlineState online_state = 7;
  uint32 param = 8;
  bool is_mp_mode_available = 10;
  string online_id = 11;
  uint32 last_active_time = 12;
  uint32 name_card_id = 13;
  uint32 mp_player_num = 14;
  bool is_chat_no_disturb = 15;
  uint32 chat_sequence = 16;
  string remark_name = 17;
  repeated SocialShowAvatarInfo show_avatar_info_list = 22;
  FriendEnterHomeOption friend_enter_home_option = 23;
  ProfilePicture profile_picture = 24;
  bool is_game_source = 25;
  bool is_psn_source = 26;
  PlatformType platform_type = 27;
}
