From dcddb32c1d73cfd6499c1f994b952e81c8dda1bd Mon Sep 17 00:00:00 2001 From: Pure_ Date: Tue, 24 Jun 2014 12:41:18 +0000 Subject: [PATCH] Update MediaWiki page '317 Update item container' --- 317-Update-item-container.mediawiki | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/317-Update-item-container.mediawiki b/317-Update-item-container.mediawiki index a4ffdd4..a6c6e2c 100644 --- a/317-Update-item-container.mediawiki +++ b/317-Update-item-container.mediawiki @@ -23,12 +23,13 @@ Updates the items in a given interface component. The rest in pseudo-code: - for (int i = 0; i < amt_of_items; i++) { item_amount = read_u_byte(); // Item Amount: U Byte - if (item_amount == 255) { + if (item_amount == 255) item_amount = read_int_me_b(); // Item Amount (if entered as 255 previously - to allow bigger amounts than 254): Integer Middle-Endian Big (Inverse middle) - } + item_id = read_u_short_le_a(); // Item ID: U Short Little Endian Special A -} \ No newline at end of file +} + +* Someone please fix the code block's syntax, thank you :-) \ No newline at end of file