proto: Remove parse_character_select.

This commit is contained in:
Loïc Hoguin 2010-06-04 12:03:37 +02:00
parent 6d98ce6d73
commit e151343737
2 changed files with 1 additions and 7 deletions

View File

@ -128,7 +128,7 @@ char_select(CSocket, GID, Version) ->
char_select_handle(16#020b, CSocket, GID, Version, Orig) ->
log(GID, "character selection"),
[{number, Number}] = egs_proto:parse_character_select(Orig),
<< _:352, Number:32/little-unsigned-integer, _/bits >> = Orig,
char_select_load(CSocket, GID, Version, Number);
%% @doc Character creation handler.

View File

@ -119,12 +119,6 @@ packet_split(Packet, Result) ->
end
end.
%% @doc Parse a character selection command. Return the selected character's number.
parse_character_select(Packet) ->
<< _:352, Number:32/little-unsigned-integer, _/bits >> = Packet,
[{number, Number}].
%% @doc Parse a chat command. AOTI v2.000 version of the command.
parse_chat(0, Packet) ->