psu_proto: Move send_1216 to psu_proto without reviewing it.
This commit is contained in:
parent
8c95aab709
commit
f8524ca9c4
@ -180,10 +180,10 @@ raw(16#1112, << _:352, Data/bits >>, Client) ->
|
||||
psu_proto:send_1113(Data, Client);
|
||||
|
||||
%% @todo Not sure yet. Value is probably a TargetID. Used in Airboard Rally. Replying with the same value starts the race.
|
||||
raw(16#1216, << _:352, Data/bits >>, _Client) ->
|
||||
raw(16#1216, << _:352, Data/bits >>, Client) ->
|
||||
<< Value:32/little >> = Data,
|
||||
log("command 1216 with value ~b", [Value]),
|
||||
psu_game:send_1216(Value);
|
||||
psu_proto:send_1216(Value, Client);
|
||||
|
||||
%% @doc Dismiss all unknown raw commands with a log notice.
|
||||
%% @todo Have a log event handler instead.
|
||||
|
@ -332,11 +332,6 @@ send_1016(PartyPos) ->
|
||||
GID = get(gid),
|
||||
send(<< 16#10160300:32, 16#ffff0000:32, 0:128, 16#00011300:32, GID:32/little, 0:64, PartyPos:32/little >>).
|
||||
|
||||
%% @todo Not sure yet. Value is probably a TargetID. Used in Airboard Rally. Replying with the same value starts the race.
|
||||
send_1216(Value) ->
|
||||
GID = get(gid),
|
||||
send(<< 16#12160300:32, 0:32, 16#00011300:32, GID:32/little, 0:64, 16#00011300:32, GID:32/little, 0:64, Value:32/little >>).
|
||||
|
||||
%% @todo Figure out this room packet.
|
||||
send_1309() ->
|
||||
{ok, << _Size:32, Packet/bits >>} = file:read_file("p/packet1309.bin"),
|
||||
|
@ -1622,6 +1622,11 @@ send_1213(A, B, #client{socket=Socket, gid=DestGID}) ->
|
||||
send_1215(A, B, #client{socket=Socket, gid=DestGID}) ->
|
||||
packet_send(Socket, << 16#12150300:32, 16#ffff:16, 0:144, 16#00011300:32, DestGID:32/little, 0:64, A:32/little, 0:16, B:16/little >>).
|
||||
|
||||
%% @todo Not sure yet. Value is probably a TargetID. Used in Airboard Rally. Replying with the same value starts the race.
|
||||
%% @todo This packet hasn't been reviewed at all yet.
|
||||
send_1216(Value, #client{socket=Socket, gid=DestGID}) ->
|
||||
packet_send(Socket, << 16#12160300:32, 0:32, 16#00011300:32, DestGID:32/little, 0:64, 16#00011300:32, DestGID:32/little, 0:64, Value:32/little >>).
|
||||
|
||||
%% @doc Send the player's partner card.
|
||||
%% @todo Handle the LID and comment properly.
|
||||
send_1500(Character, #client{socket=Socket, gid=DestGID}) ->
|
||||
|
Loading…
Reference in New Issue
Block a user