void HandleEnumUserPublishedFiles(IPacketMsg packetMsg) { var response = new ClientMsgProtobuf <CMsgClientUCMEnumerateUserPublishedFilesResponse>(packetMsg); var callback = new UserPublishedFilesCallback(response.TargetJobID, response.Body); Client.PostCallback(callback); }
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 }
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 ); }