summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornsensfel <SpamShield0@noot-noot.org>2018-09-10 17:27:16 +0200
committernsensfel <SpamShield0@noot-noot.org>2018-09-10 17:27:16 +0200
commitff5dd0eb5df2aa55dc5306eefbd851da8e8e6f4c (patch)
treec7c70e24aa6b19dd12609d1a3eec1987918558cd /src/character/chr_handler.erl
parent936f186b6b767273fdc3c01f17311981c46e102c (diff)
character -> roster
Diffstat (limited to 'src/character/chr_handler.erl')
-rw-r--r--src/character/chr_handler.erl40
1 files changed, 0 insertions, 40 deletions
diff --git a/src/character/chr_handler.erl b/src/character/chr_handler.erl
deleted file mode 100644
index 7697bcd..0000000
--- a/src/character/chr_handler.erl
+++ /dev/null
@@ -1,40 +0,0 @@
--module(chr_handler).
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% TYPES %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% EXPORTS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
--export([start/1]).
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% LOCAL FUNCTIONS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% EXPORTED FUNCTIONS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
--spec start (pid()) -> 'ok'.
-start (TimedCachesManagerPid) ->
- case shr_database:fetch(char_roster_db, <<"0">>, admin) of
- {ok, _} -> ok;
- not_found ->
- shr_database:insert_at
- (
- char_roster_db,
- <<"0">>,
- any,
- any,
- chr_shim:generate_random_character_roster()
- )
- end,
- shr_timed_caches_manager:new_cache
- (
- TimedCachesManagerPid,
- char_roster_db,
- none
- ),
-
- ok.