[DiscordArchive] What type is it?
[DiscordArchive] What type is it?
Archived author: Nyeriah • Posted: 2024-01-15T10:57:58.330000+00:00
Original source
What type is it?
Archived author: Rymercyble • Posted: 2024-01-15T10:59:24.397000+00:00
Original source
string
tring result{};Archived author: Rymercyble • Posted: 2024-01-15T10:59:52.847000+00:00
Original source
```cpp
std:
tring 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("}");
```
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
Archived author: Nyeriah • Posted: 2024-01-15T11:21:14.472000+00:00
Original source
Odd never experienced that
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
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
Archived author: Nyeriah • Posted: 2024-01-15T11:22:47.282000+00:00
Original source
I don’t think we use that anywhere