[DiscordArchive] so just uint32*?
[DiscordArchive] so just uint32*?
Archived author: Peacy • Posted: 2022-02-19T23:31:54.712000+00:00
Original source
so just uint32*?
Archived author: Hutchy • Posted: 2022-02-19T23:32:00.484000+00:00
Original source
yeah
Archived author: Hutchy • Posted: 2022-02-19T23:32:41.032000+00:00
Original source
i prefer to pass an "out" pointer and "out" length into the method
Archived author: Hutchy • Posted: 2022-02-19T23:34:20.192000+00:00
Original source
```
void Player::test(uint32* spells, uint32* spellsCount)
{
spells = new uint32[3];
spellsCount = 3;
}
```
Archived author: Hutchy • Posted: 2022-02-19T23:35:19.784000+00:00
Original source
dont forget to ```delete spells[]``` when you're done with it
Archived author: Peacy • Posted: 2022-02-19T23:37:50.954000+00:00
Original source
Okay, thanks!