def METHOD_NAME(self):
    # Object fields.
    self.set_uint64(ObjectFields.OBJECT_FIELD_GUID, self.guid)
    self.set_uint32(ObjectFields.OBJECT_FIELD_TYPE, self.get_type_mask())
    self.set_float(ObjectFields.OBJECT_FIELD_SCALE_X, self.current_scale)
    self.set_uint32(ObjectFields.OBJECT_FIELD_PADDING, 0)
    # Corpse fields.
    self.set_uint64(CorpseFields.CORPSE_FIELD_OWNER, self.owner.guid)
    self.set_float(CorpseFields.CORPSE_FIELD_POS_X, self.location.x)
    self.set_float(CorpseFields.CORPSE_FIELD_POS_Y, self.location.y)
    self.set_float(CorpseFields.CORPSE_FIELD_POS_Z, self.location.z)
    self.set_float(CorpseFields.CORPSE_FIELD_FACING, self.location.o)
    self.set_uint32(CorpseFields.CORPSE_FIELD_DISPLAY_ID, self.native_display_id)
    for slot in range(InventorySlots.SLOT_HEAD, InventorySlots.SLOT_BAG1):
        item_mngr = self.owner.inventory.get_item(InventorySlots.SLOT_INBACKPACK, slot)
        if item_mngr and item_mngr.item_template:
            field_item = item_mngr.item_template.display_id | (item_mngr.item_template.inventory_type << 24)
            self.set_uint32(CorpseFields.CORPSE_FIELD_ITEM + slot, field_item)
    self.set_uint32(CorpseFields.CORPSE_FIELD_BYTES_1, self.get_bytes_1())
    self.set_uint32(CorpseFields.CORPSE_FIELD_BYTES_2, self.get_bytes_2())
    self.set_uint32(CorpseFields.CORPSE_FIELD_GUILD, self.guild_id)
    self.set_uint32(CorpseFields.CORPSE_FIELD_LEVEL, self.owner.level)
    self.initialized = True