[DiscordArchive] Question for anyone that may know. I made a function in C++ that returns a table (unordered_map to b
[DiscordArchive] Question for anyone that may know. I made a function in C++ that returns a table (unordered_map to b
Archived author: Peacy • Posted: 2022-12-24T20:13:53.691000+00:00
Original source
Question for anyone that may know. I made a function in C++ that returns a table (unordered_map to be exact). I do a check in the function to see if the player has data in the table, if they do, I return the data.
However, if the player data is not found, I need to return something or core won't compile typically I'll return nullptr but in this case it's not working. Anyone know that is an acceptable thing for me to return in this case? I made a variable for an empty unordered_map and returned that and it worked, but seems kinda pointless and redundant. Is there anything else I can do?
Archived author: Peacy • Posted: 2022-12-24T20:14:47.304000+00:00
Original source
I've been searching for around 9 hours now, I'm pretty sure it's in the client. Maybe there is a function somewhere that checks your level. Master <@285139092516372480> might know more?