Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] I think `GetTemplate` providing a `const` makes sense. Is there no function, such as `SetTemplate` o

[DiscordArchive] I think `GetTemplate` providing a `const` makes sense. Is there no function, such as `SetTemplate` o

[DiscordArchive] I think `GetTemplate` providing a `const` makes sense. Is there no function, such as `SetTemplate` o

rektbyfaith
Administrator
0
11-24-2022, 08:47 AM
#1
Archived author: Michael Crilly • Posted: 2022-11-24T08:47:04.075000+00:00
Original source

I think `GetTemplate` providing a `const` makes sense. Is there no function, such as `SetTemplate` or `UpdateTemplate`, that can update the template? If you make a copy of the `const` value, one you can edit, you can then feed the `Set/Update*` function that object?
rektbyfaith
11-24-2022, 08:47 AM #1

Archived author: Michael Crilly • Posted: 2022-11-24T08:47:04.075000+00:00
Original source

I think `GetTemplate` providing a `const` makes sense. Is there no function, such as `SetTemplate` or `UpdateTemplate`, that can update the template? If you make a copy of the `const` value, one you can edit, you can then feed the `Set/Update*` function that object?

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