Example #1
0
        void HandleEnumUserPublishedFiles(IPacketMsg packetMsg)
        {
            var response = new ClientMsgProtobuf <CMsgClientUCMEnumerateUserPublishedFilesResponse>(packetMsg);

            var callback = new UserPublishedFilesCallback(response.TargetJobID, response.Body);

            Client.PostCallback(callback);
        }
Example #2
0
        void HandleEnumUserPublishedFiles(IPacketMsg packetMsg)
        {
            var response = new ClientMsgProtobuf <CMsgClientUCMEnumerateUserPublishedFilesResponse>(packetMsg);

#if STATIC_CALLBACKS
            var innerCallback = new UserPublishedFilesCallback(Client, response.Body);
            var callback      = new SteamClient.JobCallback <UserPublishedFilesCallback>(Client, response.TargetJobID, innerCallback);
            SteamClient.PostCallback(callback);
#else
            var innerCallback = new UserPublishedFilesCallback(response.Body);
            var callback      = new SteamClient.JobCallback <UserPublishedFilesCallback>(response.TargetJobID, innerCallback);
            Client.PostCallback(callback);
#endif
        }
Example #3
0
        void HandleEnumUserPublishedFiles( IPacketMsg packetMsg )
        {
            var response = new ClientMsgProtobuf<CMsgClientUCMEnumerateUserPublishedFilesResponse>( packetMsg );

            var innerCallback = new UserPublishedFilesCallback( response.Body );
            var callback = new SteamClient.JobCallback<UserPublishedFilesCallback>( response.TargetJobID, innerCallback );
            Client.PostCallback( callback );
        }