Guest User

Untitled

a guest
Jun 20th, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.12 KB | None | 0 0
  1. @protocol MHPacketDecoderDelegate
  2.  
  3. - (void)didDecodeKeepAlive;
  4. - (void)didDecodeLoginRequest:(int32_t)protocolVersion username:(NSString *)username password:(NSString *)password mapseed:(int64_t)mapseed dimension:(int8_t)dimension;
  5. - (void)didDecodeHandshake:(NSString*)username;
  6. - (void)didDecodeChatMessage:(NSString*)message;
  7. - (void)didDecodeTimeUpdate:(int64_t)time;
  8. - (void)didDecodePlayerInventory:(int32_t)type count:(int16_t)count payload:(NSArray*)payload;
  9. - (void)didDecodeSpawnPosition:(int32_t)x y:(int32_t)y z:(int32_t)z;
  10. - (void)didDecodeClientState:(BOOL)onGround;
  11. - (void)didDecodePlayerMove:(double)x y:(double)y stance:(double)stance z:(double)z onGround:(BOOL)onGround;
  12. - (void)didDecodePlayerLook:(float)yaw pitch:(float)pitch onGround:(BOOL)onGround;
  13. - (void)didDecodePlayerMoveAndLook:(double)x y:(double)y stance:(double)stance z:(double)z yaw:(float)yaw pitch:(float)pitch onGround:(BOOL)onGround;
  14. - (void)didDecodePlayerDigging:(int8_t)status x:(int32_t)x y:(int8_t)y z:(int32_t) face:(int8_t)face;
  15. - (void)didDecodePlayerBlockPlacement:(int16_t)itemid x:(int32_t)x y:(int8_t)y z:(int32_t) direction:(int8_t)direction;
  16. - (void)didDecodeHeldItemChange:(int32_t)unused itemid:(int16_t)itemid;
  17. - (void)didDecodeAddToInventory:(int16_t)itemid count:(int8_t)count life:(int16_t)life;
  18. - (void)didDecodeArmAnimation:(int32_t)eid animate:(BOOL)animate;
  19. - (void)didDecodeNamedEntitySpawn:(int32_t)eid name:(NSString*)name x:(int32_t)x y:(int32_t)y z:(int32_t)z rotation:(int8_t)rotation pitch:(int8_t)pitch currentItem:(int16_t)currentItem;
  20. - (void)didDecodePickupEntitySpawn:(int32_t)eid item:(int16_t)itemid count:(int8_t)count x:(int32_t)x y:(int32_t)y z:(int32_t)z rotation:(int8_t)rotation pitch:(int8_t)pitch roll:(int8_t)roll;
  21. - (void)didDecodeCollectItem:(int32_t)collected_eid collector:(int32_t)collector_eid;
  22. - (void)didDecodeAddObject:(int32_t)eid type:(int8_t)type x:(int32_t)x y:(int32_t)y z:(int32_t)z;
  23. - (void)didDecodeMobSpawn:(int32_t)eid type:(int8_t)type x:(int32_t)x y:(int32_t)y z:(int32_t)z yaw:(int8_t)yaw pitch:(int8_t)pitch;
  24. - (void)didDecodeDestroyEntity:(int32_t)eid;
  25. - (void)didDecodeEntity:(int32_t)eid;
  26. - (void)didDecodeEntityRelativeMove:(int32_t)eid x:(int8_t)x y:(int8_t)y z:(int8_t)z;
  27. - (void)didDecodeEntityLook:(int32_t)eid yaw:(int8_t)yaw pitch:(int8_t)pitch;
  28. - (void)didDecodeEntityLookAndRelativeMove:(int32_t)eid x:(int8_t)x y:(int8_t)y z:(int8_t)z yaw:(int8_t)yaw pitch:(int8_t)pitch;
  29. - (void)didDecodeEntityTeleport:(int32_t)eid x:(int32_t)x y:(int32_t)y z:(int32_t)z yaw:(int8_t)yaw pitch:(int8_t)pitch;
  30. - (void)didDecodePreChunk:(int32_t)x z:(int32_t)z mode:(BOOL)mode;
  31. - (void)didDecodeMapChunk:(int32_t)x y:(int16_t)y z:(int32_t)z sizeX:(int8_t)sizeX sizeY:(int8_t)sizeY sizeZ:(int8_t)sizeZ compressedSize:(int32_t)compressedSize compressedData:(NSData *)compressedData;
  32. - (void)didDecodeMultiBlockChange:(int32_t)chunkX chunkZ:(int32_t)chunkZ arraySize:(int16_t)arraySize coordArray:(int16_t *)coordArray typeArray:(int8_t *)typeArray metaArray:(int8_t *)metaArray;
  33. - (void)didDecodeBlockChange:(int32_t)x y:(int8_t)y z:(int32_t)z blockType:(int8_t)type metadata:(int8_t)metadata;
  34. - (void)didDecodeKick:(NSString *)reason;
  35. @end
Add Comment
Please, Sign In to add comment