void HandleDepotKeyResponse(IPacketMsg packetMsg) { var keyResponse = new ClientMsgProtobuf <CMsgClientGetDepotDecryptionKeyResponse>(packetMsg); var callback = new DepotKeyCallback(keyResponse.TargetJobID, keyResponse.Body); this.Client.PostCallback(callback); }
void HandleDepotKeyResponse(IPacketMsg packetMsg) { var keyResponse = new ClientMsgProtobuf <CMsgClientGetDepotDecryptionKeyResponse>(packetMsg); #if STATIC_CALLBACKS var innerCallback = new DepotKeyCallback(Client, keyResponse.Body); var callback = new SteamClient.JobCallback <DepotKeyCallback>(Client, keyResponse.TargetJobID, innerCallback); SteamClient.PostCallback(callback); #else var innerCallback = new DepotKeyCallback(keyResponse.Body); var callback = new SteamClient.JobCallback <DepotKeyCallback>(keyResponse.TargetJobID, innerCallback); this.Client.PostCallback(callback); #endif }
void HandleDepotKeyResponse( IPacketMsg packetMsg ) { var keyResponse = new ClientMsgProtobuf<CMsgClientGetDepotDecryptionKeyResponse>( packetMsg ); #if STATIC_CALLBACKS var innerCallback = new DepotKeyCallback( Client, keyResponse.Body ); var callback = new SteamClient.JobCallback<DepotKeyCallback>( Client, keyResponse.TargetJobID, innerCallback ); SteamClient.PostCallback( callback ); #else var innerCallback = new DepotKeyCallback( keyResponse.Body ); var callback = new SteamClient.JobCallback<DepotKeyCallback>( keyResponse.TargetJobID, innerCallback ); this.Client.PostCallback( callback ); #endif }
void HandleDepotKeyResponse( IPacketMsg packetMsg ) { var keyResponse = new ClientMsgProtobuf<CMsgClientGetDepotDecryptionKeyResponse>( packetMsg ); var callback = new DepotKeyCallback(keyResponse.TargetJobID, keyResponse.Body); this.Client.PostCallback( callback ); }