Data storage for game items

I come into game dev, after few years in web-development and I didn’t found the idea of… how to save players items and players properties state after player turn off the game.
In web we have different ORM systems and a lot of data bases, but it’s not possible to setup full data base for one game… I think.

Also, I review how one guy did it through TArray<UObject*>, but this is not ok… because he didn’t map this to any other external storage. Lifecycle of items in scope while game is online.

So, my question is. How you implement the “data base” for players inventories and properties states. For example in online game like, Lineage 2 or World Of Warcraft?
Thanks.

well you have many ways to do so. But for online games such as MMOs with persistent worlds mostly you would create a sql server along side your main server.
For games that do not require to be online you can choose some xml, ini dat or even sqlite storage. It’s mostly a personal choice and how protected you want the data to be (mainly do you want the player to be able to modify items or not)

Ok. I got the idea. Ty.