2010-05-13 12:34:04 +08:00
|
|
|
% EGS: Erlang Game Server
|
|
|
|
% Copyright (C) 2010 Loic Hoguin
|
|
|
|
%
|
|
|
|
% This file is part of EGS.
|
|
|
|
%
|
|
|
|
% EGS is free software: you can redistribute it and/or modify
|
|
|
|
% it under the terms of the GNU General Public License as published by
|
|
|
|
% the Free Software Foundation, either version 3 of the License, or
|
|
|
|
% (at your option) any later version.
|
|
|
|
%
|
2010-05-15 07:55:23 +08:00
|
|
|
% EGS is distributed in the hope that it will be useful,
|
2010-05-13 12:34:04 +08:00
|
|
|
% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
% GNU General Public License for more details.
|
|
|
|
%
|
|
|
|
% You should have received a copy of the GNU General Public License
|
2010-05-15 07:55:23 +08:00
|
|
|
% along with EGS. If not, see <http://www.gnu.org/licenses/>.
|
2010-05-13 12:34:04 +08:00
|
|
|
|
|
|
|
%% EGS database schema.
|
|
|
|
|
2010-05-15 05:45:03 +08:00
|
|
|
-record(ids, {type, id}).
|
2010-06-11 06:34:55 +08:00
|
|
|
-record(users, {gid, pid, socket, auth, time, folder, charnumber, charname, lid, instanceid, areatype, questid, zoneid, mapid, entryid, savedquestid, savedzoneid, savedmapid, savedentryid, direction, coords}).
|
2010-06-30 08:52:53 +08:00
|
|
|
|
|
|
|
-record(flesh_appearance, {voicetype, voicepitch, jacket, pants, shoes, ears, face, hairstyle, jacketcolor, pantscolor, shoescolor,
|
|
|
|
lineshieldcolor, badge, eyebrows, eyelashes, eyesgroup, eyes, bodysuit, eyescolory, eyescolorx, lipsintensity, lipscolory, lipscolorx,
|
|
|
|
skincolor, hairstylecolory, hairstylecolorx, proportion, proportionboxx, proportionboxy, faceboxx, faceboxy}).
|
|
|
|
-record(metal_appearance, {voicetype, voicepitch, torso, legs, arms, ears, face, headtype, maincolor, lineshieldcolor,
|
|
|
|
eyebrows, eyelashes, eyesgroup, eyes, eyescolory, eyescolorx, bodycolor, subcolor, hairstylecolory, hairstylecolorx,
|
|
|
|
proportion, proportionboxx, proportionboxy, faceboxx, faceboxy}).
|