Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] What is the int passed by the World Script for OnUpdate? `virtual void OnUpdate(uint32 /*diff*/) { }

[DiscordArchive] What is the int passed by the World Script for OnUpdate? `virtual void OnUpdate(uint32 /*diff*/) { }

[DiscordArchive] What is the int passed by the World Script for OnUpdate? `virtual void OnUpdate(uint32 /*diff*/) { }

rektbyfaith
Administrator
0
03-10-2023, 10:27 PM
#1
Archived author: FiftyTifty • Posted: 2023-03-10T22:27:46.074000+00:00
Original source

What is the int passed by the World Script for OnUpdate? `virtual void OnUpdate(uint32 /*diff*/) { }`
Is it the time in ms between the previous tick and the current tick or something?
rektbyfaith
03-10-2023, 10:27 PM #1

Archived author: FiftyTifty • Posted: 2023-03-10T22:27:46.074000+00:00
Original source

What is the int passed by the World Script for OnUpdate? `virtual void OnUpdate(uint32 /*diff*/) { }`
Is it the time in ms between the previous tick and the current tick or something?

rektbyfaith
Administrator
0
03-10-2023, 10:28 PM
#2
Archived author: Tea • Posted: 2023-03-10T22:28:54.808000+00:00
Original source

correct
rektbyfaith
03-10-2023, 10:28 PM #2

Archived author: Tea • Posted: 2023-03-10T22:28:54.808000+00:00
Original source

correct

rektbyfaith
Administrator
0
03-10-2023, 10:29 PM
#3
Archived author: FiftyTifty • Posted: 2023-03-10T22:29:11.138000+00:00
Original source

Bangin', thanks
rektbyfaith
03-10-2023, 10:29 PM #3

Archived author: FiftyTifty • Posted: 2023-03-10T22:29:11.138000+00:00
Original source

Bangin', thanks

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)