Advertisement
Guest User

Untitled

a guest
Jan 19th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.24 KB | None | 0 0
  1. /* Callbacks that can be registered. */
  2.       template <typename T> CallbackKey
  3. OnSendComponentUpdate(const SendComponentCallback<T> &, bool);
  4.  
  5. template <typename T> CallbackKey
  6. OnSendCommandRequest(const SendCommandRequestCallback<T> &, bool);
  7.  
  8. template <typename T>
  9. CallbackKey
  10. OnSendCommandResponse(const SendCommandResponseCallback<T> &, bool);
  11.  
  12. CallbackKey
  13. OnSendCreateEntityRequest(const SendCreateEntityRequestCallback &, bool);
  14.  
  15. CallbackKey
  16. OnSendEntityQueryRequest(const SendEntityQueryRequestCallback &, bool);
  17.  
  18. CallbackKey
  19. OnSendReserveEntityIdRequest(const SendReserveEntityIdRequestCallback &, bool);
  20.  
  21. CallbackKey
  22. OnSendReserveEntityIdsRequest(const SendReserveEntityIdsRequestCallback &, bool);
  23.  
  24. CallbackKey
  25. OnSendComponentInterestRequest(const SendComponentInterestRequestCallback &, bool);
  26.  
  27. /* Methods to invoke. */
  28. template <typename T> void SendComponentUpdate(...);
  29. template <typename T> void SendCommandRequest(...);
  30. template <typename T> void SendCommandResponse(...);
  31. void SendCreateEntityRequest(...);
  32. void SendEntityQueryRequest(...);
  33. void SendReserveEntityIdRequest(...);
  34. void SendReserveEntityIdsRequest(...);
  35. void SendComponentInterestRequest(...);
  36.  
  37. /* Uninstall a callback. */
  38. void Remove(CallbackKey);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement