psu_proto: Parse and then ignore command 080d.
This commit is contained in:
parent
753d3e843c
commit
d07b6c7cff
@ -248,6 +248,22 @@ parse(Size, 16#0807, Channel, Data) ->
|
|||||||
?ASSERT_EQ(VarJ, 16#ffffffff),
|
?ASSERT_EQ(VarJ, 16#ffffffff),
|
||||||
{area_change, QuestID, ZoneID, MapID, EntryID};
|
{area_change, QuestID, ZoneID, MapID, EntryID};
|
||||||
|
|
||||||
|
%% @doc This command should be safely ignored. Probably indicates that a non-mission area change was successful.
|
||||||
|
parse(Size, 16#080d, Channel, Data) ->
|
||||||
|
<< _LID:16/little, VarA:16/little, VarB:32/little, VarC:32/little, VarD:32/little, VarE:32/little, VarF:32/little, VarG:32/little, VarH:32/little, VarI:32/little >> = Data,
|
||||||
|
?ASSERT_EQ(Size, 44),
|
||||||
|
?ASSERT_EQ(Channel, 2),
|
||||||
|
?ASSERT_EQ(VarA, 0),
|
||||||
|
?ASSERT_EQ(VarB, 0),
|
||||||
|
?ASSERT_EQ(VarC, 0),
|
||||||
|
?ASSERT_EQ(VarD, 0),
|
||||||
|
?ASSERT_EQ(VarE, 0),
|
||||||
|
?ASSERT_EQ(VarF, 0),
|
||||||
|
?ASSERT_EQ(VarG, 0),
|
||||||
|
?ASSERT_EQ(VarH, 0),
|
||||||
|
?ASSERT_EQ(VarI, 0),
|
||||||
|
ignore;
|
||||||
|
|
||||||
parse(Size, 16#0811, Channel, Data) ->
|
parse(Size, 16#0811, Channel, Data) ->
|
||||||
<< _LID:16/little, VarA:16/little, VarB:32/little, VarC:32/little, VarD:32/little, VarE:32/little, VarF:32/little, VarG:32/little, VarH:32/little, VarI:32/little,
|
<< _LID:16/little, VarA:16/little, VarB:32/little, VarC:32/little, VarD:32/little, VarE:32/little, VarF:32/little, VarG:32/little, VarH:32/little, VarI:32/little,
|
||||||
_CounterType:8, VarJ:8, FromZoneID:16/little, FromMapID:16/little, FromEntryID:16/little, CounterID:32/little, VarK:32/little >> = Data,
|
_CounterType:8, VarJ:8, FromZoneID:16/little, FromMapID:16/little, FromEntryID:16/little, CounterID:32/little, VarK:32/little >> = Data,
|
||||||
|
Loading…
Reference in New Issue
Block a user