proto: Remove parse_character_select.
This commit is contained in:
parent
6d98ce6d73
commit
e151343737
@ -128,7 +128,7 @@ char_select(CSocket, GID, Version) ->
|
|||||||
|
|
||||||
char_select_handle(16#020b, CSocket, GID, Version, Orig) ->
|
char_select_handle(16#020b, CSocket, GID, Version, Orig) ->
|
||||||
log(GID, "character selection"),
|
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);
|
char_select_load(CSocket, GID, Version, Number);
|
||||||
|
|
||||||
%% @doc Character creation handler.
|
%% @doc Character creation handler.
|
||||||
|
@ -119,12 +119,6 @@ packet_split(Packet, Result) ->
|
|||||||
end
|
end
|
||||||
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.
|
%% @doc Parse a chat command. AOTI v2.000 version of the command.
|
||||||
|
|
||||||
parse_chat(0, Packet) ->
|
parse_chat(0, Packet) ->
|
||||||
|
Loading…
Reference in New Issue
Block a user