[DiscordArchive] how can i see value of variable ?
[DiscordArchive] how can i see value of variable ?
Archived author: Nyeriah • Posted: 2022-10-10T18:55:09.048000+00:00
Original source
You’re trying to output a non literal
Archived author: Nyeriah • Posted: 2022-10-10T18:55:36.338000+00:00
Original source
Can’t tell without seeing your code
Archived author: Rymercyble • Posted: 2022-10-10T18:55:51.060000+00:00
Original source
im just trying to output player
Archived author: Rymercyble • Posted: 2022-10-10T18:55:58.128000+00:00
Original source
`Player const* player = ToPlayer()`
Archived author: Nyeriah • Posted: 2022-10-10T19:00:19.815000+00:00
Original source
Yeah you can’t output objects. You have to specify the member you need
Archived author: Nyeriah • Posted: 2022-10-10T19:00:41.697000+00:00
Original source
So it must be a cpp literal (int, string, etc)
Archived author: Nyeriah • Posted: 2022-10-10T19:00:55.032000+00:00
Original source
É.g player name, level, current mana
Archived author: Rymercyble • Posted: 2022-10-10T19:01:58.419000+00:00
Original source
cant i serialize it ? or somehow transform it into json ?
Archived author: Kitzunu • Posted: 2022-10-10T19:13:59.755000+00:00
Original source
Why would you want to output the object? It doesnt tell you anything
Archived author: Rymercyble • Posted: 2022-10-10T19:16:42.290000+00:00
Original source
i personally need to see what im working with if i dont my brain refuses to work with it