Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] spell-> pointing to what?

[DiscordArchive] spell-> pointing to what?

[DiscordArchive] spell-> pointing to what?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
05-29-2024, 01:54 PM
#1
Archived author: nixxi • Posted: 2024-05-29T13:54:55.920000+00:00
Original source

spell-> pointing to what?
rektbyfaith
05-29-2024, 01:54 PM #1

Archived author: nixxi • Posted: 2024-05-29T13:54:55.920000+00:00
Original source

spell-> pointing to what?

rektbyfaith
Administrator
0
05-29-2024, 01:55 PM
#2
Archived author: Thulz • Posted: 2024-05-29T13:55:04.041000+00:00
Original source

spell is a pointer to Spell class
rektbyfaith
05-29-2024, 01:55 PM #2

Archived author: Thulz • Posted: 2024-05-29T13:55:04.041000+00:00
Original source

spell is a pointer to Spell class

rektbyfaith
Administrator
0
05-29-2024, 01:55 PM
#3
Archived author: Thulz • Posted: 2024-05-29T13:55:22.359000+00:00
Original source

So if you want to get the spell ID you must access it's SpellInfo
rektbyfaith
05-29-2024, 01:55 PM #3

Archived author: Thulz • Posted: 2024-05-29T13:55:22.359000+00:00
Original source

So if you want to get the spell ID you must access it's SpellInfo

rektbyfaith
Administrator
0
05-29-2024, 01:55 PM
#4
Archived author: Thulz • Posted: 2024-05-29T13:55:34.927000+00:00
Original source

it will require you to include the header to be able to access that class
rektbyfaith
05-29-2024, 01:55 PM #4

Archived author: Thulz • Posted: 2024-05-29T13:55:34.927000+00:00
Original source

it will require you to include the header to be able to access that class

rektbyfaith
Administrator
0
05-29-2024, 01:55 PM
#5
Archived author: Thulz • Posted: 2024-05-29T13:55:40.179000+00:00
Original source

so it will be some like this
rektbyfaith
05-29-2024, 01:55 PM #5

Archived author: Thulz • Posted: 2024-05-29T13:55:40.179000+00:00
Original source

so it will be some like this

rektbyfaith
Administrator
0
05-29-2024, 01:56 PM
#6
Archived author: Thulz • Posted: 2024-05-29T13:56:06.178000+00:00
Original source

```
#include "SpellInfo.h"
spell->spellInfo->ID
```
rektbyfaith
05-29-2024, 01:56 PM #6

Archived author: Thulz • Posted: 2024-05-29T13:56:06.178000+00:00
Original source

```
#include "SpellInfo.h"
spell->spellInfo->ID
```

rektbyfaith
Administrator
0
05-29-2024, 01:56 PM
#7
Archived author: Thulz • Posted: 2024-05-29T13:56:26.391000+00:00
Original source

Be sure to check for spellInfo not being a nullptr
rektbyfaith
05-29-2024, 01:56 PM #7

Archived author: Thulz • Posted: 2024-05-29T13:56:26.391000+00:00
Original source

Be sure to check for spellInfo not being a nullptr

rektbyfaith
Administrator
0
05-29-2024, 01:57 PM
#8
Archived author: nixxi • Posted: 2024-05-29T13:57:06.282000+00:00
Original source

thanks a lot i tried to search in trinitycore website but if u put ID it will show a million objects
rektbyfaith
05-29-2024, 01:57 PM #8

Archived author: nixxi • Posted: 2024-05-29T13:57:06.282000+00:00
Original source

thanks a lot i tried to search in trinitycore website but if u put ID it will show a million objects

rektbyfaith
Administrator
0
05-29-2024, 02:05 PM
#9
Archived author: Thulz • Posted: 2024-05-29T14:05:26.296000+00:00
Original source

Feel free to ask me
rektbyfaith
05-29-2024, 02:05 PM #9

Archived author: Thulz • Posted: 2024-05-29T14:05:26.296000+00:00
Original source

Feel free to ask me

rektbyfaith
Administrator
0
05-29-2024, 02:30 PM
#10
Archived author: nixxi • Posted: 2024-05-29T14:30:04.445000+00:00
Original source

just a question is saying again theres no member it shouldnt be like GetSpellInfo? or something like that? theres a member in the Spell called GetSpellInfo, sorry to sound like a noob but I not used to do cpp scripts
rektbyfaith
05-29-2024, 02:30 PM #10

Archived author: nixxi • Posted: 2024-05-29T14:30:04.445000+00:00
Original source

just a question is saying again theres no member it shouldnt be like GetSpellInfo? or something like that? theres a member in the Spell called GetSpellInfo, sorry to sound like a noob but I not used to do cpp scripts

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)