Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] how do you make "cout" to send its output to console?

[DiscordArchive] how do you make "cout" to send its output to console?

[DiscordArchive] how do you make "cout" to send its output to console?

rektbyfaith
Administrator
0
04-24-2023, 12:34 PM
#1
Archived author: jovitbaldovino555 • Posted: 2023-04-24T12:34:03.358000+00:00
Original source

how do you make "cout" to send its output to console?
rektbyfaith
04-24-2023, 12:34 PM #1

Archived author: jovitbaldovino555 • Posted: 2023-04-24T12:34:03.358000+00:00
Original source

how do you make "cout" to send its output to console?

rektbyfaith
Administrator
0
04-24-2023, 12:34 PM
#2
Archived author: jovitbaldovino555 • Posted: 2023-04-24T12:34:28.431000+00:00
Original source

For example
``` void SetData(uint32 type, uint32 value) override
{
std::cout << type;
std::cout << DATA_SET_INSANITY_PHASE;
if (type == DATA_SET_INSANITY_PHASE)
{
insanityPhase = (value != 0);
}
}```
rektbyfaith
04-24-2023, 12:34 PM #2

Archived author: jovitbaldovino555 • Posted: 2023-04-24T12:34:28.431000+00:00
Original source

For example
``` void SetData(uint32 type, uint32 value) override
{
std::cout << type;
std::cout << DATA_SET_INSANITY_PHASE;
if (type == DATA_SET_INSANITY_PHASE)
{
insanityPhase = (value != 0);
}
}```

rektbyfaith
Administrator
0
04-24-2023, 12:35 PM
#3
Archived author: jovitbaldovino555 • Posted: 2023-04-24T12:35:06.398000+00:00
Original source

I'd like to get the value of insanityPhase.
rektbyfaith
04-24-2023, 12:35 PM #3

Archived author: jovitbaldovino555 • Posted: 2023-04-24T12:35:06.398000+00:00
Original source

I'd like to get the value of insanityPhase.

rektbyfaith
Administrator
0
04-24-2023, 12:39 PM
#4
Archived author: Rymercyble • Posted: 2023-04-24T12:39:31.794000+00:00
Original source

`LOG_ERROR("key", "whatever")`
rektbyfaith
04-24-2023, 12:39 PM #4

Archived author: Rymercyble • Posted: 2023-04-24T12:39:31.794000+00:00
Original source

`LOG_ERROR("key", "whatever")`

rektbyfaith
Administrator
0
04-24-2023, 12:44 PM
#5
Archived author: Nyeriah • Posted: 2023-04-24T12:44:16.077000+00:00
Original source

LOG_ERROR(“server”, “type {} INSANITY {}”, type, insanityPhase);
rektbyfaith
04-24-2023, 12:44 PM #5

Archived author: Nyeriah • Posted: 2023-04-24T12:44:16.077000+00:00
Original source

LOG_ERROR(“server”, “type {} INSANITY {}”, type, insanityPhase);

rektbyfaith
Administrator
0
04-24-2023, 01:15 PM
#6
Archived author: jovitbaldovino555 • Posted: 2023-04-24T13:15:12.363000+00:00
Original source

thank you guys.
rektbyfaith
04-24-2023, 01:15 PM #6

Archived author: jovitbaldovino555 • Posted: 2023-04-24T13:15:12.363000+00:00
Original source

thank you guys.

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