view CastSpellInfo.h @ 1874:a6276dda8804

Actor::AddBloodsplatOnDamageOverlay cleaned up
author Grumpy7
date Thu, 17 Oct 2013 07:57:01 +0200
parents 4c787c28ddce
children 70b63fe6587c
line wrap: on
line source

#pragma once

#include <cstdint>

#include <array>

namespace CastSpellInfoHelpers
{
  void _427D48();
  void _427E01_cast_spell();
};

/*  271 */
#pragma pack(push, 1)
struct CastSpellInfo
{
  //----- (00426987) --------------------------------------------------------
  inline CastSpellInfo()
  {
    memset(this, 0, sizeof(this));
  }

  struct GUIWindow *GetCastSpellInInventoryWindow();

  uint16_t uSpellID;
  uint16_t uPlayerID;
  uint16_t uPlayerID_2;
  __int16 field_6;
  uint16_t uFlags;
  __int16 forced_spell_skill_level;
  int spell_target_pid;
  int sound_id;
};
#pragma pack(pop)