Skip to content

Instantly share code, notes, and snippets.

@ItsSpyce
Last active August 29, 2015 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ItsSpyce/0bda77cdea3dc1cc3322 to your computer and use it in GitHub Desktop.
Save ItsSpyce/0bda77cdea3dc1cc3322 to your computer and use it in GitHub Desktop.
stream.WriteUByte(WindowId);
stream.WriteString(InventoryType);
stream.WriteString(new Chat(WindowTitle).ToString());
stream.WriteUByte(SlotCount);
if (InventoryType == "EntityHorse")
stream.WriteInt(EntityId.GetValueOrDefault());
return mode;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment