void RecvSetChatDialogPage(IIPSocket conn, BitStream r) { var pageID = r.ReadNPCChatDialogItemID(); var skipCount = r.ReadByte(); var responsesToSkip = new byte[skipCount]; for (var i = 0; i < skipCount; i++) { responsesToSkip[i] = r.ReadByte(); } GameplayScreen.ChatDialogForm.SetPageIndex(pageID, responsesToSkip); }