void HandleProfileInfoResponse(IPacketMsg packetMsg) { var response = new ClientMsgProtobuf <CMsgClientFriendProfileInfoResponse>(packetMsg); var callback = new ProfileInfoCallback(packetMsg.TargetJobID, response.Body); Client.PostCallback(callback); }
void HandleProfileInfoResponse(IPacketMsg packetMsg) { var response = new ClientMsgProtobuf <CMsgClientFriendProfileInfoResponse>(packetMsg); #if STATIC_CALLBACKS var innerCallback = new ProfileInfoCallback(Client, response.Body); var callback = new SteamClient.JobCallback <ProfileInfoCallback>(Client, packetMsg.TargetJobID, innerCallback); SteamClient.PostCallback(callback); #else var innerCallback = new ProfileInfoCallback(response.Body); var callback = new SteamClient.JobCallback <ProfileInfoCallback>(packetMsg.TargetJobID, innerCallback); Client.PostCallback(callback); #endif }
void HandleProfileInfoResponse( IPacketMsg packetMsg ) { var response = new ClientMsgProtobuf<CMsgClientFriendProfileInfoResponse>( packetMsg ); var callback = new ProfileInfoCallback( packetMsg.TargetJobID, response.Body ); Client.PostCallback( callback ); }