Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] only for typing Player->Method in case like player:GiveXP, he grabs the reference to the player by i

[DiscordArchive] only for typing Player->Method in case like player:GiveXP, he grabs the reference to the player by i

[DiscordArchive] only for typing Player->Method in case like player:GiveXP, he grabs the reference to the player by i

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
05-11-2024, 07:05 PM
#1
Archived author: DevSoon • Posted: 2024-05-11T19:05:06.248000+00:00
Original source

only for typing Player->Method in case like player:GiveXP, he grabs the reference to the player by itself ?
rektbyfaith
05-11-2024, 07:05 PM #1

Archived author: DevSoon • Posted: 2024-05-11T19:05:06.248000+00:00
Original source

only for typing Player->Method in case like player:GiveXP, he grabs the reference to the player by itself ?

rektbyfaith
Administrator
0
05-11-2024, 07:05 PM
#2
Archived author: DevSoon • Posted: 2024-05-11T19:05:11.182000+00:00
Original source

and thanks for your help. ^^
rektbyfaith
05-11-2024, 07:05 PM #2

Archived author: DevSoon • Posted: 2024-05-11T19:05:11.182000+00:00
Original source

and thanks for your help. ^^

rektbyfaith
Administrator
0
05-11-2024, 07:06 PM
#3
Archived author: Honey • Posted: 2024-05-11T19:06:02.793000+00:00
Original source

it uses the player object, which was passed on by the event to the function
rektbyfaith
05-11-2024, 07:06 PM #3

Archived author: Honey • Posted: 2024-05-11T19:06:02.793000+00:00
Original source

it uses the player object, which was passed on by the event to the function

rektbyfaith
Administrator
0
05-11-2024, 07:06 PM
#4
Archived author: Honey • Posted: 2024-05-11T19:06:25.208000+00:00
Original source

The arguments and their order are given for each event.
[Image: image.png?ex=690c48f1&is=690af771&hm=4dd...dfe3a39c5&]
rektbyfaith
05-11-2024, 07:06 PM #4

Archived author: Honey • Posted: 2024-05-11T19:06:25.208000+00:00
Original source

The arguments and their order are given for each event.
[Image: image.png?ex=690c48f1&is=690af771&hm=4dd...dfe3a39c5&]

rektbyfaith
Administrator
0
05-11-2024, 07:06 PM
#5
Archived author: Honey • Posted: 2024-05-11T19:06:36.097000+00:00
Original source

See <https://www.azerothcore.org/pages/eluna/Global/RegisterGameObjectEvent.html>
rektbyfaith
05-11-2024, 07:06 PM #5

Archived author: Honey • Posted: 2024-05-11T19:06:36.097000+00:00
Original source

See <https://www.azerothcore.org/pages/eluna/Global/RegisterGameObjectEvent.html>

rektbyfaith
Administrator
0
05-11-2024, 07:07 PM
#6
Archived author: DevSoon • Posted: 2024-05-11T19:07:47.822000+00:00
Original source

okay, it looks like 'lua' thinks different like my old baby C#.
But now i understand it.
Thanks a lot.
rektbyfaith
05-11-2024, 07:07 PM #6

Archived author: DevSoon • Posted: 2024-05-11T19:07:47.822000+00:00
Original source

okay, it looks like 'lua' thinks different like my old baby C#.
But now i understand it.
Thanks a lot.

rektbyfaith
Administrator
0
05-11-2024, 07:08 PM
#7
Archived author: Honey • Posted: 2024-05-11T19:08:50.182000+00:00
Original source

Good thinking with the GO events btw. That works around the missing spell events flawlessly.
rektbyfaith
05-11-2024, 07:08 PM #7

Archived author: Honey • Posted: 2024-05-11T19:08:50.182000+00:00
Original source

Good thinking with the GO events btw. That works around the missing spell events flawlessly.

rektbyfaith
Administrator
0
05-11-2024, 07:20 PM
#8
Archived author: DevSoon • Posted: 2024-05-11T19:20:10.014000+00:00
Original source

Thanks, I'm curious to see how I'll implement this in terms of crafting items, but luckily I'm in the process of creating the gatherings first. xD
rektbyfaith
05-11-2024, 07:20 PM #8

Archived author: DevSoon • Posted: 2024-05-11T19:20:10.014000+00:00
Original source

Thanks, I'm curious to see how I'll implement this in terms of crafting items, but luckily I'm in the process of creating the gatherings first. xD

rektbyfaith
Administrator
0
05-11-2024, 07:23 PM
#9
Archived author: Honey • Posted: 2024-05-11T19:23:06.746000+00:00
Original source

For events when crafting items, you will want the spell events. Cherry-picking a PR is probably a good example for an experienced C or C# dev to get a hold of the C codebase in Eluna / C++ codebase of the core.
rektbyfaith
05-11-2024, 07:23 PM #9

Archived author: Honey • Posted: 2024-05-11T19:23:06.746000+00:00
Original source

For events when crafting items, you will want the spell events. Cherry-picking a PR is probably a good example for an experienced C or C# dev to get a hold of the C codebase in Eluna / C++ codebase of the core.

rektbyfaith
Administrator
0
05-11-2024, 07:23 PM
#10
Archived author: Honey • Posted: 2024-05-11T19:23:31.197000+00:00
Original source

Feel free to drop me a message, if you need assistance!
rektbyfaith
05-11-2024, 07:23 PM #10

Archived author: Honey • Posted: 2024-05-11T19:23:31.197000+00:00
Original source

Feel free to drop me a message, if you need assistance!

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