package net.swordie.ms.client.friend;

/**
 * Created on 3/31/2018.
 * Thanks to PacketBakery for these
 */
public enum FriendType {
    FriendReq_LoadFriend(0),
    FriendReq_SetFriend(1),
    FriendReq_AcceptFriend(2),
    FriendReq_AcceptAccountFriend(3),
    FriendReq_DeleteFriend(4),
    FriendReq_DeleteAccountFriend(5),
    FriendReq_RefuseFriend(6),
    FriendReq_RefuseAccountFriend(7),
    FriendReq_NotifyLogin(8),
    FriendReq_NotifyLogout(9),
    FriendReq_IncMaxCount(10),
    FriendReq_ConvertAccountFriend(11),
    FriendReq_ModifyFriend(12),
    FriendReq_ModifyFriendGroup(13),
    FriendReq_ModifyAccountFriendGroup(14),
    FriendReq_SetOffline(15),
    FriendReq_SetOnline(16),
    FriendReq_SetBlackList(17),
    FriendReq_DeleteBlackList(18),
    FriendReq_LoadFriendPointInfo(19),
    FriendReq_LoadFriendChatN(20),
    FriendReq_InviteEventBestFriend(21),
    FriendReq_AcceptEventBestFriend(22),
    FriendReq_RefuseEventBestFriend(23),

    FriendRes_LoadFriend_Done(23),
    FriendRes_LoadAccountIDOfCharacterFriend_Done(24),
    FriendRes_NotifyChange_FriendInfo(25),
    FriendRes_Invite(26),
    FriendRes_SetFriend_Done(27),
    FriendRes_SetFriend_FullMe(28),
    FriendRes_SetFriend_FullOther(29),
    FriendRes_SetFriend_AlreadySet(30),
    FriendRes_SetFriend_AlreadyRequested(31),
    FriendRes_SetFriend_Ready(32),
    FriendRes_SetFriend_CantSelf(33),
    FriendRes_SetFriend_Master(34),
    FriendRes_SetFriend_UnknownUser(35),
    FriendRes_SetFriend_Unknown(36),
    FriendRes_SetFriend_RemainCharacterFriend(37),
    FriendRes_SetMessengerMode(38),
    FriendRes_SendSingleFriendInfo(39),
    FriendRes_AcceptFriend_Unknown(40),
    FriendRes_DeleteFriend_Done(41),
    FriendRes_DeleteFriend_Unknown(42),
    FriendRes_Notify(43),
    FriendRes_NotifyNewFriend(44),
    FriendRes_IncMaxCount_Done(45),
    FriendRes_IncMaxCount_Unknown(46),

    FriendRes_SetFriend_Done_ForFarm(47),
    FriendRes_Invite_ForFarm(48),
    FriendRes_Accept_ForFarm(49),
    FriendRes_SetFriend_BlockedBehavior(50),
    FriendRes_Notice_Deleted(51),
    FriendRes_InviteEventBestFriend(52),
    FriendRes_RefuseEventBestFriend(53),
    // Star planet after this, not interesting
    ;

    private int val;

    FriendType(int val) {
        this.val = val;
    }

    public int getVal() {
        return val;
    }
}
