view CastSpellInfo.h @ 1281:21a46b38ca24

m
author Ritor1
date Sat, 15 Jun 2013 09:55:07 +0600
parents 0dbf6c4dd029
children bfe342ae0c1f
line wrap: on
line source

#pragma once
#include <array>


/*  271 */
#pragma pack(push, 1)
struct CastSpellInfo
{
  //----- (00426987) --------------------------------------------------------
  inline CastSpellInfo()
  {
    field_8 = 0;
    spellnum = 0;
    field_6 = 0;
    uPlayerID_2 = 0;
    uPlayerID = 0;
    sound_id = 0;
  }

  void _427D48(unsigned int uPlayerID);
  unsigned int PushCastSpellInfo(__int16 a2, __int16 uPlayerID, __int16 skill_level, __int16 a5, int sound_id);
  struct GUIWindow *sub_4219BE();
  void _427E01_cast_spell();

  __int16 spellnum;
  unsigned __int16 uPlayerID;
  __int16 uPlayerID_2;
  __int16 field_6;
  __int16 field_8;
  __int16 forced_spell_skill_level;
  int spell_target_pid;
  int sound_id;
};
#pragma pack(pop)


extern std::array<CastSpellInfo, 10> pCastSpellInfo;
extern CastSpellInfo stru_50CDB4; // idb