Ejemplo n.º 1
0
    public void SendUpdateFriendList()
    {
        FriendOperationReq req = new FriendOperationReq();

        req.type = FriendOperationType.FOT_QUERY;
        GameSystem.Instance.mNetworkManager.m_platConn.SendPack <FriendOperationReq>(0, req, MsgID.FriendOperationReqID);
    }
Ejemplo n.º 2
0
    private void RequestAllListData()
    {
        SendUpdateFriendList();

        FriendOperationReq req = new FriendOperationReq();

        req      = new FriendOperationReq();
        req.type = FriendOperationType.FOT_QUERY_APPLY;
        GameSystem.Instance.mNetworkManager.m_platConn.SendPack <FriendOperationReq>(0, req, MsgID.FriendOperationReqID);

        req      = new FriendOperationReq();
        req.type = FriendOperationType.FOT_QUERY_BLACK;
        GameSystem.Instance.mNetworkManager.m_platConn.SendPack <FriendOperationReq>(0, req, MsgID.FriendOperationReqID);

        req      = new FriendOperationReq();
        req.type = FriendOperationType.FOT_QUERY_GIFT;
        GameSystem.Instance.mNetworkManager.m_platConn.SendPack <FriendOperationReq>(0, req, MsgID.FriendOperationReqID);
    }