Factory method while saving player state, yes or no?
#1

Hey guys!
I have a specific include for database handling and I'm wondering if I should save each field (position, including x pos, z, y, a, interior, vw; maybe another method for the money, and so on) so I could re-use the code or if I should use one or two queries to do that.

Pros of factory:
- I can reuse code whenever I want
- Easy to read and mantain code

Cons:
- Too many queries?
Reply


Messages In This Thread
Factory method while saving player state, yes or no? - by nikotragedy - 02.12.2018, 16:25

Forum Jump:


Users browsing this thread: 1 Guest(s)