diff --git a/317-Item-action-1.mediawiki b/317-Item-action-1.mediawiki new file mode 100644 index 0000000..d286779 --- /dev/null +++ b/317-Item-action-1.mediawiki @@ -0,0 +1,24 @@ +[[Category Packet]] +[[Category Packet 317]] +{{packet|name=Item action 1|description=Sent when the player clicks the first option of an item.|opcode=122|type=Fixed|length=6|revision=317}} +== Item Action 1 == + +=== Description === + +This packet is sent when a player clicks the first option of an item, such as "Bury" for bones or "Eat" for food. + +=== Packet Structure === +{|border=2 +! Data Type +! Description +|- +| [[Data Types#Little Endian|Little Endian]] [[Data Types#Standard data types|Short]] [[Data Types#Non Standard Data Types|Special A]] +| The frame ID. +|- +| [[Data Types#Standard data types|Short]] [[Data Types#Non Standard Data Types|Special A]] +| The slot the item is in. +|- +| [[Data Types#Big Endian|Big Endian]] [[Data Types#Standard data types|Short]] +| The ID of the item. +|- +|} \ No newline at end of file diff --git a/Categories.mediawiki b/Categories.mediawiki index c24dd47..96b140d 100644 --- a/Categories.mediawiki +++ b/Categories.mediawiki @@ -1,9 +1,9 @@ The following categories contain pages or media. * [[Category Data Type]] (3 members) -* [[Category Packet]] (53 members) +* [[Category Packet]] (54 members) * [[Category Packet 194]] (1 members) -* [[Category Packet 317]] (50 members) +* [[Category Packet 317]] (51 members) * [[Category Packet 474]] (1 members) * [[Category Packet {{{revision}}}]] (1 members) * [[Category RS2]] (4 members) diff --git a/Category-Packet-317.mediawiki b/Category-Packet-317.mediawiki index db19cd9..9a9e77b 100644 --- a/Category-Packet-317.mediawiki +++ b/Category-Packet-317.mediawiki @@ -1,6 +1,6 @@ == '''Pages in category "Packet 317"''' == -The following 50 pages are in this category. +The following 51 pages are in this category. * [[317 Animation reset]] * [[317 Attack (NPC)]] * [[317 Bank 10 items]] @@ -23,6 +23,7 @@ The following 50 pages are in this category. * [[317 Interface color]] * [[317 Interface item]] * [[317 Inventory overlay]] +* [[317 Item action 1]] * [[317 Item on floor]] * [[317 Item on item]] * [[317 Item on player]] diff --git a/Category-Packet.mediawiki b/Category-Packet.mediawiki index 7fda472..bda6bea 100644 --- a/Category-Packet.mediawiki +++ b/Category-Packet.mediawiki @@ -1,6 +1,6 @@ == '''Pages in category "Packet"''' == -The following 53 pages are in this category. +The following 54 pages are in this category. * [[194 Protocol]] * [[317 Animation reset]] * [[317 Attack (NPC)]] @@ -24,6 +24,7 @@ The following 53 pages are in this category. * [[317 Interface color]] * [[317 Interface item]] * [[317 Inventory overlay]] +* [[317 Item action 1]] * [[317 Item on floor]] * [[317 Item on item]] * [[317 Item on player]]