Did you read this?
http://wowpedia.org/Saving_variables..._game_sessions
/edit: saved variables work this exact same way in ESO, too - no need to use their wrapper API for it.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff,
The Tao of Pooh