void HandlePICSProductInfoResponse(IPacketMsg packetMsg) { var productResponse = new ClientMsgProtobuf <CMsgClientPICSProductInfoResponse>(packetMsg); var callback = new PICSProductInfoCallback(productResponse.TargetJobID, productResponse.Body); this.Client.PostCallback(callback); }
void HandlePICSProductInfoResponse(IPacketMsg packetMsg) { var productResponse = new ClientMsgProtobuf <CMsgPICSProductInfoResponse>(packetMsg); #if STATIC_CALLBACKS var innerCallback = new PICSProductInfoCallback(Client, productResponse.Body); var callback = new SteamClient.JobCallback <PICSProductInfoCallback>(Client, productResponse.TargetJobID, innerCallback); SteamClient.PostCallback(callback); #else var innerCallback = new PICSProductInfoCallback(productResponse.Body); var callback = new SteamClient.JobCallback <PICSProductInfoCallback>(productResponse.TargetJobID, innerCallback); this.Client.PostCallback(callback); #endif }
void HandlePICSProductInfoResponse( IPacketMsg packetMsg ) { var productResponse = new ClientMsgProtobuf<CMsgPICSProductInfoResponse>( packetMsg ); #if STATIC_CALLBACKS var innerCallback = new PICSProductInfoCallback( Client, productResponse.Body ); var callback = new SteamClient.JobCallback<PICSProductInfoCallback>( Client, productResponse.TargetJobID, innerCallback ); SteamClient.PostCallback( callback ); #else var innerCallback = new PICSProductInfoCallback( productResponse.Body ); var callback = new SteamClient.JobCallback<PICSProductInfoCallback>( productResponse.TargetJobID, innerCallback ); this.Client.PostCallback( callback ); #endif }
void HandlePICSProductInfoResponse( IPacketMsg packetMsg ) { var productResponse = new ClientMsgProtobuf<CMsgClientPICSProductInfoResponse>( packetMsg ); var callback = new PICSProductInfoCallback( productResponse.TargetJobID, productResponse.Body ); this.Client.PostCallback( callback ); }