Where should I store EXP tables?

I was wondering for a turn-based RPG I am working on, where should I store the level/XP/NL data?
Also, can I think of DataTables as an SQL like structure? Where I can place things like character attack and statistics variables, and multipliers etc in them with the ability to call to an entry and modify it as a string/float etc?

I’m like ahh, where does everything go? LOL. If anybody knows of a good tutorial for this then I’m down to watch or read it! Thanks!!

This is something that just takes time to understand, i remember being unsure of where things should go in the beginning. Even though some things make sense to put in certain places, it eventually comes down to your philosophy, game design, and ease of access.

If it is multiplayer then it is going to be a lot more important where things go. Exp could go on the character, controller, or even player state.

You should do some research on game framework, this is a good start turotial by epic: Blueprint Game Framework Basics | Live Training | Unreal Engine - YouTube

Here is another good article by Tom Looman:

A proper answer would depend a lot on the design on your game. I personally do a lot of multiplayer stuff, so i might store this on an actor component that handles levels and exp and attaches to the character and auto updates the information in the playerstate in case of a disconnect, and so if the character is destroyed the information can be pulled in to reinitialize the player. and now a days im even doing more of this stuff with epics ability system.

a datatable doesnt quite work like your describing its more of a read only type of thing. for your case i would use a array of structs possibly, depending on the situation. the array of structs variable will have closer to the functionality your mentioning where you can read and write the values.

in any event you will want to create a struct which contains the needed fields. i cant speak for multiplayer but for single player you may want to store your stats in the game instance since it persists between levels and its convenient place to have things stored for when you go to save the game.