summaryrefslogtreecommitdiff |
diff options
author | nsensfel <SpamShield0@noot-noot.org> | 2018-02-27 17:19:59 +0100 |
---|---|---|
committer | nsensfel <SpamShield0@noot-noot.org> | 2018-02-27 17:19:59 +0100 |
commit | 8ed3e625a5576b6f43b966ee77e0f6de282a074e (patch) | |
tree | 0dbd68dc9e49d02861b1c27956b31fcce2bc6677 /src/struct/character.erl | |
parent | 292022649270d36c8ab0c813e4d7e07f3e067231 (diff) |
...
Diffstat (limited to 'src/struct/character.erl')
-rw-r--r-- | src/struct/character.erl | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/struct/character.erl b/src/struct/character.erl index 3ee9a31..bf6e046 100644 --- a/src/struct/character.erl +++ b/src/struct/character.erl @@ -3,7 +3,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% TYPES %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% --opaque id() :: integer(). +-opaque id() :: non_neg_integer(). -record ( @@ -16,7 +16,6 @@ portrait :: binary(), attributes :: attributes:struct(), statistics :: statistics:struct(), - glyphs :: list(glyph:id()), weapon_ids :: {weapon:id(), weapon:id()} } ). @@ -39,7 +38,6 @@ get_attributes/1, get_statistics/1, get_weapon_ids/1, - get_glyphs/1, set_weapon_ids/2, set_statistics/2 @@ -82,9 +80,6 @@ get_attributes (Char) -> Char#character.attributes. -spec get_weapon_ids (struct()) -> {weapon:id(), weapon:id()}. get_weapon_ids (Char) -> Char#character.weapon_ids. --spec get_glyphs (struct()) -> list(glyph:id()). -get_glyphs (Char) -> Char#character.glyphs. - -spec get_statistics (struct()) -> statistics:struct(). get_statistics (Char) -> Char#character.statistics. @@ -134,6 +129,5 @@ random (ID, OwnerID) -> portrait = IDAsBinaryString, attributes = Attributes, weapon_ids = WeaponIDs, - glyphs = [], statistics = Statistics }. |