syntax = "proto3"; package ParalogueNet; enum MsgType { MsgType_NONE = 0; MsgType_KEY_A = 1; MsgType_KEY_B = 2; MsgType_PROTO_CONTROL = 3; MsgType_SYNC = 4; } enum MsgRoute { MsgRoute_GAME = 0; MsgRoute_ROOM = 1; } enum StatusCode { StatusCode_NONE = 0; StatusCode_OK = 1; StatusCode_FAIL = 2; StatusCode_BAD_REQ = 3; StatusCode_SYS_ERR = 4; StatusCode_ACCOUNT_UNAUTH = 5; StatusCode_ILLEGAL_LEN = 6; StatusCode_ILLEGAL_CHAR = 7; StatusCode_BAD_WORD = 8; StatusCode_DUPLICATED_NAME = 9; StatusCode_SERVER_IS_FULL = 10; StatusCode_PLAYER_NOT_FOUND = 11; StatusCode_CFG_NOT_FOUND = 12; StatusCode_ITEM_NOT_ENOUGH = 13; StatusCode_ACCOUNT_BANNED = 14; StatusCode_REGISTER_LIMIT = 15; StatusCode_PLAYER_NOT_IN_CHANNEL_WAIT = 16; StatusCode_PLAYER_NOT_IN_CHANNEL = 17; StatusCode_QUICK_CHECK_FAIL = 20; StatusCode_INVALID_TOKEN = 21; StatusCode_ACCOUNT_NAME_NOT_BIND = 22; StatusCode_ACCOUNT_NAME_REPEAT_BIND = 23; StatusCode_ACCOUNT_NAME_BIND_FAIL = 24; StatusCode_IGNORE = 25; StatusCode_MODULE_CLOSE = 30; StatusCode_CLIENT_VERSION_ERR = 31; StatusCode_REPEAT_REWARD = 32; StatusCode_GIVE_LIKE_WEEK_LIMIT = 33; StatusCode_SERVERUNDERMAINTENANCE = 205; StatusCode_MUTED_PLAYER_CHAT_FAIL = 210; StatusCode_FRIEND_SEARCH_FAIL = 211; StatusCode_FRIEND_ADD_FAIL = 212; StatusCode_PLAYER_LEVEL_LIMIT = 220; StatusCode_MAIL_NO_REWARD = 421; StatusCode_MAIL_NOT_EXIST = 422; StatusCode_MAIL_COLLECT_NUM_LIMIT = 423; StatusCode_CharNotExist = 430; StatusCode_NotMatchRoom = 431; StatusCode_CREATE_ORDER_SPEED_ERROR = 1490; StatusCode_ALREADY_SIGNIN = 1491; StatusCode_NAME_SENSITIVE = 1492; StatusCode_GET_REWARD_NOT_CONDITION = 1493; } enum AccountType { AccountType_NONE = 0; AccountType_STEAM = 3; AccountType_PROBE = 4; } enum AccountOSType { Windows = 0; Android = 1; } enum PlayerOfflineReason { PlayerOfflineReason_NONE = 0; PlayerOfflineReason_DISCONNECT = 1000001; PlayerOfflineReason_SERVER_SHUTDOWN = 1000002; PlayerOfflineReason_KICK = 1000003; PlayerOfflineReason_ANOTHER_LOGIN = 1000004; PlayerOfflineReason_ANTI_ADDICTION = 1000005; PlayerOfflineReason_LOGOUT = 1000006; PlayerOfflineReason_ACCOUNT_CANCEL_BIND = 1000007; PlayerOfflineReason_MSG_RATE_LIMIT = 1000008; PlayerOfflineReason_RECONNECT_LOGIN = 1000009; } enum OperateTargetType { OperateTargetType_NONE = 0; OperateTargetType_GLOBAL = 1; OperateTargetType_PLAYER = 2; OperateTargetType_SYSTEM = 3; } enum OperateCmdType { OperateCmdType_NONE = 0; OperateCmdType_GM_CODE = 1; OperateCmdType_ACTION = 4; } enum MailState { MailState_UNREAD = 0; MailState_READED = 1; MailState_UNCLAIM = 2; MailState_CLAIMED = 3; } enum MailType { MailType_NONE = 0; MailType_GLOBAL = 1; MailType_PLAYER = 2; } enum MailContentType { MailContentType_NONE = 0; MailContentType_TEXT = 1; MailContentType_TEXT_ID = 2; } message CachePlayerData { string curr_role_name = 1; uint32 today_favor = 3; repeated CacheRoleData roles = 15; } message CacheRoleData { uint32 cur_stamina = 2; uint32 vaginal_dilation_exp = 6; uint32 vaginal_dilation_lv = 7; uint32 anal_dilation_exp = 8; uint32 anal_dilation_lv = 9; int64 vaginal_dilation_last_calc_at = 10; int64 anal_dilation_last_calc_at = 11; bool is_h_card = 13; map attrs = 20; } message PacketHead { uint32 packet_id = 1; uint32 msg_id = 2; uint32 flag = 3; uint32 body_len = 4; uint32 total_pack_count = 5; uint32 seq_id = 6; } message GenericParam { repeated int32 int32s = 1; repeated uint32 uint32s = 2; repeated int64 int64s = 3; repeated uint64 uint64s = 4; repeated string strings = 5; repeated float floats = 6; repeated double doubles = 7; } message ClientInfo { string lang = 1; string client_version = 2; string resource_version = 3; string device_uuid = 4; string device_model = 5; string analysis_distinct_id = 6; string network = 7; string ip = 8; string ipv6 = 9; string os_name = 10; string os_ver = 11; } message OperateCmdData { string trace_id = 1; OperateCmdType cmd_type = 2; string gm_code = 3; bytes data = 6; } message MailAttachment { repeated BaseItem items = 2; } message MailData { uint32 mail_id = 1; MailState state = 2; MailType mail_type = 3; map sender = 4; MailContentType content_type = 5; uint32 sys_id = 6; map title = 7; map content = 8; repeated string content_params = 9; MailAttachment attachment = 10; int64 send_time = 11; int64 expire_time = 12; uint32 keep_days = 13; int64 start_time = 14; int64 end_time = 15; uint32 condition_create_time = 16; repeated uint32 target_ids = 18; bool patreon_item = 19; repeated string target_steam_ids = 20; string mail_tag = 21; string traceId = 22; } message BaseItem { uint32 itemId = 1; int64 num = 2; } message PayDeliverData { uint32 seq = 1; string orderId = 2; string sourceOrderId = 3; uint32 amount = 4; string goods_id = 5; string pay_time = 6; uint32 source = 7; uint32 create_time = 8; string pay_type = 9; string currency_type = 10; } message PlayerBriefInfo { uint32 player_id = 1; string nick_name = 2; uint32 level = 3; int64 last_login_time = 5; bool is_online = 9; uint32 create_time = 13; } message PlayerWelfareInfo { bool day_sign_in = 2; } message BattlePassInfo { uint32 id = 1; uint32 lv = 2; uint32 exp = 3; map claimLv = 4; map premium_claim_lv = 5; int64 buy_premium_time = 7; bool premium = 8; } message BattlePassList { uint32 defaultBpId = 3; repeated BattlePassInfo battlePassInfos = 10; } message Color { float r = 1; float g = 2; float b = 3; float a = 4; } message FemaleAppearance { map float_config = 1; map bool_config = 2; map color_config = 3; map socks_custom = 4; } message RoleCell { string name = 1; uint32 cur_stamina = 2; uint32 favor_exp = 4; uint32 favor_lv = 5; uint32 vaginal_dilation_exp = 6; uint32 vaginal_dilation_lv = 7; uint32 anal_dilation_exp = 8; uint32 anal_dilation_lv = 9; bool is_unlock = 10; int64 vaginal_dilation_last_calc_at = 11; int64 anal_dilation_last_calc_at = 12; bool is_h_card = 13; map attrs = 20; repeated ClothesCell worn_clothes = 21; repeated ClothesPreset preset_clothes = 22; FemaleAppearance appearance = 23; ClothesColors clothes_colors = 24; int64 last_stamina_recovered_at = 30; } message ClothesCell { uint32 id = 1; ClothesType type = 2; uint32 stat = 3; } message ClothesColorCell { ClothesType type = 1; repeated uint32 index = 2; repeated Color color = 3; repeated float roughness = 4; } message ClothesColors { repeated ClothesColorCell colors = 1; bool apply_color_to_all = 2; bool apply_glossiness_to_all = 3; bool custom_cloth_color = 4; } message PlayerRoles { string curr_role_name = 1; uint32 today_favor = 3; uint32 week_ext_like_exp = 4; string curr_action_role_name = 5; uint32 today_dance = 6; repeated string today_role_skill_use = 9; uint32 week_cloth_dessert = 10; bool is_preset_fixed = 11; repeated RoleCell roles = 15; } message ClothesPreset { uint32 index = 1; repeated ClothesCell worn_clothes = 2; FemaleAppearance appearance = 3; ClothesColors clothes_colors = 4; } message OneCustomSuitItems { repeated uint32 suits = 1; repeated uint32 cloth_stat = 2; } message CardInventoryInfo { map borrowed_cards = 3; } message BorrowedCardInfo { uint32 card_id = 1; uint32 card_owner_id = 2; int64 out_time = 3; } message PlayerBagInfo { map items = 1; repeated uint32 unreaded_items = 2; repeated uint32 clothes_converted_ids = 14; map pack_guarantee_cnt = 15; map total_guarantee = 16; } message NoConfirmUnComposeCard { repeated uint32 card_ids = 1; } message NewbieCardInfo { bool is_newbie_card = 1; map open_packs = 2; repeated uint32 card_records = 3; } message TaskCell { uint32 task_id = 1; uint32 show_index = 3; uint32 curr_step = 5; string notes = 8; bool is_reward = 10; string target_role_name = 12; } message PlayerTaskList { repeated TaskCell taskList = 1; repeated uint32 history_task = 2; uint32 re_roll_count = 3; int64 last_refresh_time = 4; } message PlayerShop { repeated CommonShopItem parts_shop = 1; repeated uint32 read_shops = 10; repeated uint32 outfit_shop_read_items = 11; repeated CostPrice parts_shop_refresh_cost = 12; repeated CostPrice like_shop_refresh_cost = 13; uint32 likes_shop_refresh_count = 16; repeated uint32 not_interesting_items = 17; repeated PlayerShopBuyList shop_buy_lists = 18; } message CostPrice { uint32 item_id = 1; uint32 price = 2; uint32 discount = 3; uint32 discounted_price = 4; } message CommonShopItem { uint32 goods_id = 1; uint32 item_id = 2; uint32 item_count = 3; uint32 purchasable_count = 5; repeated CostPrice cost_prices = 6; uint32 first_count = 7; } message PlayerShopBuyList { uint32 shop = 1; map buy_infos = 2; } message PlayerShopBuyInfo { uint32 goods_id = 1; uint32 purchased_count = 4; } message CharacterShoot { uint32 player_id = 1; bool isAfk = 2; bool is_man = 3; uint32 card_id = 4; OrgasmsType orgasms_type = 6; uint32 added_tokenCount = 11; uint32 added_process = 12; uint32 added_likeCount = 13; uint32 today_afk_usedTime = 14; bool erika_skill_is_triggered = 15; } message RolePropertyChange { string role_name = 1; map attrs = 2; uint32 add_favor_exp = 3; uint32 sub_stamina = 4; } message TaskEntry { uint32 task_id = 1; uint32 current_progress = 2; string target_role_name = 3; string notes = 4; } message TaskUpdateEntry { uint32 task_id = 1; uint32 progress = 2; string notes = 3; } message GmRewardInfo { uint32 total_count = 1; uint32 guarantee_count = 2; bool is_guarantee_triggered = 3; map rank_distribution = 4; uint32 player_id = 5; string player_name = 6; uint32 bag_id = 7; uint32 pool_id = 8; int32 rank = 9; map item_count = 10; } message AchievementEntry { uint32 achievement_id = 1; repeated uint32 rewardIds = 3; } message AchievementProgress { AchievementRewardType type = 1; uint32 progress = 2; } message PlayerAchievement { repeated AchievementProgress progress = 1; repeated AchievementEntry achievements = 2; }