Fix inconsistent naming and cover edge case

This commit is contained in:
puvvadar
2021-06-08 22:56:53 -07:00
parent da7870bb2a
commit 59d0a8817e
5 changed files with 16 additions and 5 deletions
@@ -42,7 +42,7 @@ namespace Multiplayer
NetworkEntityHandle GetPrimaryPlayerEntity();
const NetworkEntityHandle& GetPrimaryPlayerEntity() const;
const AZStd::string& GetProviderTicket() const;
void SetProviderTicket(AZStd::string);
void SetProviderTicket(const AZStd::string&);
private:
void OnControlledEntityRemove();
@@ -53,7 +53,7 @@ namespace Multiplayer
NetworkEntityHandle m_controlledEntity;
EntityStopEvent::Handler m_controlledEntityRemovedHandler;
EntityServerMigrationEvent::Handler m_controlledEntityMigrationHandler;
AZStd::string m_ticket;
AZStd::string m_providerTicket;
AzNetworking::IConnection* m_connection = nullptr;
bool m_canSendUpdates = false;
};