Advertisement
Guest User

Untitled

a guest
Sep 6th, 2011
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. package DFHackMessaging;
  2.  
  3. message DFMessage {
  4. optional string uuid = 1;
  5.  
  6. optional DFMap dfmap = 2;
  7. optional DFBlock dfblock = 3;
  8. optional DFTile dftile = 4;
  9. optional SubscribeToZLevel subtozlevel = 5;
  10. optional UnsubscribeToZLevel unsubtozlevel = 6;
  11. }
  12.  
  13. message DFMap {
  14. repeated DFBlock dfblock = 1;
  15. }
  16.  
  17. message DFBlock {
  18. repeated DFTile dftile = 1;
  19. }
  20.  
  21. message DFTile {
  22. required int32 xGCoord = 1;
  23. required int32 yGCoord = 2;
  24. required int32 zGCoord = 3;
  25.  
  26. optional int32 direction = 4;
  27. optional int32 shape = 5;
  28. optional int32 baseMaterial = 6;
  29. optional int32 layerMaterial = 7;
  30. }
  31.  
  32. message SubscribeToZLevel {
  33. required int32 zlevel = 1;
  34. }
  35.  
  36. message UnsubscribeToZLevel {
  37. required int32 zlevel = 1;
  38. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement