Guest User

Untitled

a guest
Apr 22nd, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. public UInt16 Body
  2. {
  3. get
  4. {
  5. return body;
  6. }
  7. set
  8. {
  9. int VALUE = TransformationID * 10000000 + Face * 10000 + value;
  10. Packet.Set(4);
  11. Packet.Write(Convert.ToUInt32(TransformationID * 10000000 + Face * 10000 + value));
  12. body = value;
  13. if (EntityFlag == EntityFlag.Player)
  14. {
  15. }
  16. }
  17. }
  18. public UInt16 TransformationID
  19. {
  20. get
  21. {
  22. return transformationid;
  23. }
  24. set
  25. {
  26. transformationid = value;
  27. Packet.Set(4);
  28. Packet.Write(Convert.ToUInt32(value * 10000000 + Face * 10000 + Body));
  29. //if (EntityFlag == EntityFlag.Player)
  30. // Update(Network.GamePackets.Update.Mesh, Mesh, true);
  31. }
  32. }
  33. public UInt16 Face
  34. {
  35. get
  36. {
  37. return face;
  38. }
  39. set
  40. {
  41. Packet.Set(4);
  42. Packet.Write(Convert.ToUInt32(TransformationID * 10000000 + value * 10000 + Body));
  43. face = value;
  44. if (EntityFlag == EntityFlag.Player)
  45. {
  46. }
  47. }
  48. }
  49. public UInt32 Mesh
  50. {
  51. get
  52. {
  53. return Packet.TellUInt32(4);
  54. }
  55. }
Add Comment
Please, Sign In to add comment