Wash the pumpkin thoroughly, remove the seeds, and steam it.
Scoop out the steamed pumpkin flesh and mash it finely.
Add cream cheese and sugar to the pumpkin and mix well.
Add eggs and heavy cream, and mix thoroughly.
Line a baking pan with parchment paper and pour in the batter, smoothing the top.
Bake in a preheated oven at 170°C (338°F) for 40 minutes.
Let it cool completely, then chill in the refrigerator until set.
Cut into desired serving sizes.