Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] What type is it?

[DiscordArchive] What type is it?

[DiscordArchive] What type is it?

rektbyfaith
Administrator
0
01-15-2024, 10:57 AM
#1
Archived author: Nyeriah • Posted: 2024-01-15T10:57:58.330000+00:00
Original source

What type is it?
rektbyfaith
01-15-2024, 10:57 AM #1

Archived author: Nyeriah • Posted: 2024-01-15T10:57:58.330000+00:00
Original source

What type is it?

rektbyfaith
Administrator
0
01-15-2024, 10:59 AM
#2
Archived author: Rymercyble • Posted: 2024-01-15T10:59:24.397000+00:00
Original source

string
rektbyfaith
01-15-2024, 10:59 AM #2

Archived author: Rymercyble • Posted: 2024-01-15T10:59:24.397000+00:00
Original source

string

rektbyfaith
Administrator
0
01-15-2024, 10:59 AM
#3
Archived author: Rymercyble • Posted: 2024-01-15T10:59:52.847000+00:00
Original source

```cpp
std:Confusedtring result{};

result.append("{");

for (const auto &[id, preset]: *player->getPresets()) {
result.append("[");
result.append(std::to_string(id));
result.append("]={id=");
result.append(std::to_string(id));
result.append(",name=\"");
result.append(preset.name);
result.append("\"},");
}

result.append("}");
```
rektbyfaith
01-15-2024, 10:59 AM #3

Archived author: Rymercyble • Posted: 2024-01-15T10:59:52.847000+00:00
Original source

```cpp
std:Confusedtring result{};

result.append("{");

for (const auto &[id, preset]: *player->getPresets()) {
result.append("[");
result.append(std::to_string(id));
result.append("]={id=");
result.append(std::to_string(id));
result.append(",name=\"");
result.append(preset.name);
result.append("\"},");
}

result.append("}");
```

rektbyfaith
Administrator
0
01-15-2024, 11:01 AM
#4
Archived author: Rymercyble • Posted: 2024-01-15T11:01:32.971000+00:00
Original source

anyway i also tried `LOG_ERROR("test", "{}", "{}")` and thats same error so its bug of that parsing dependency
rektbyfaith
01-15-2024, 11:01 AM #4

Archived author: Rymercyble • Posted: 2024-01-15T11:01:32.971000+00:00
Original source

anyway i also tried `LOG_ERROR("test", "{}", "{}")` and thats same error so its bug of that parsing dependency

rektbyfaith
Administrator
0
01-15-2024, 11:21 AM
#5
Archived author: Nyeriah • Posted: 2024-01-15T11:21:14.472000+00:00
Original source

Odd never experienced that
rektbyfaith
01-15-2024, 11:21 AM #5

Archived author: Nyeriah • Posted: 2024-01-15T11:21:14.472000+00:00
Original source

Odd never experienced that

rektbyfaith
Administrator
0
01-15-2024, 11:21 AM
#6
Archived author: Nyeriah • Posted: 2024-01-15T11:21:30.649000+00:00
Original source

I thought it was trying to print the string as an array
rektbyfaith
01-15-2024, 11:21 AM #6

Archived author: Nyeriah • Posted: 2024-01-15T11:21:30.649000+00:00
Original source

I thought it was trying to print the string as an array

rektbyfaith
Administrator
0
01-15-2024, 11:22 AM
#7
Archived author: Nyeriah • Posted: 2024-01-15T11:22:32.410000+00:00
Original source

But yeah probably has to do with using {} within the payload
rektbyfaith
01-15-2024, 11:22 AM #7

Archived author: Nyeriah • Posted: 2024-01-15T11:22:32.410000+00:00
Original source

But yeah probably has to do with using {} within the payload

rektbyfaith
Administrator
0
01-15-2024, 11:22 AM
#8
Archived author: Nyeriah • Posted: 2024-01-15T11:22:47.282000+00:00
Original source

I don’t think we use that anywhere
rektbyfaith
01-15-2024, 11:22 AM #8

Archived author: Nyeriah • Posted: 2024-01-15T11:22:47.282000+00:00
Original source

I don’t think we use that anywhere

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