ClientToServerConnectionData.inl 1022 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. namespace Multiplayer
  9. {
  10. inline bool ClientToServerConnectionData::CanSendUpdates() const
  11. {
  12. return m_canSendUpdates;
  13. }
  14. inline void ClientToServerConnectionData::SetCanSendUpdates(bool canSendUpdates)
  15. {
  16. m_canSendUpdates = canSendUpdates;
  17. }
  18. inline const AZStd::string& ClientToServerConnectionData::GetProviderTicket() const
  19. {
  20. return m_providerTicket;
  21. }
  22. inline void ClientToServerConnectionData::SetProviderTicket(const AZStd::string& ticket)
  23. {
  24. m_providerTicket = ticket;
  25. }
  26. inline bool ClientToServerConnectionData::DidHandshake() const
  27. {
  28. return m_didHandshake;
  29. }
  30. inline void ClientToServerConnectionData::SetDidHandshake(bool didHandshake)
  31. {
  32. m_didHandshake = didHandshake;
  33. }
  34. }