mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-04 20:57:49 +00:00
GEEKING
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
#include "pch.h"
|
||||
#include "UserMeshConnectionPropertyBag.h"
|
||||
|
||||
using namespace Microsoft::Xbox::Samples::NetworkMesh;
|
||||
using namespace Windows::Foundation;
|
||||
|
||||
namespace Microsoft {
|
||||
namespace Xbox {
|
||||
namespace Samples {
|
||||
namespace NetworkMesh {
|
||||
|
||||
UserMeshConnectionPropertyBag::UserMeshConnectionPropertyBag(Platform::String^ xboxUserId) :
|
||||
m_xboxUserid(xboxUserId),
|
||||
m_isUserAckedReceived(false)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bool UserMeshConnectionPropertyBag::IsUserAckedReceived()
|
||||
{
|
||||
Concurrency::critical_section::scoped_lock lock(m_stateLock);
|
||||
return m_isUserAckedReceived;
|
||||
}
|
||||
void UserMeshConnectionPropertyBag::SetUserAckedReceived(bool val)
|
||||
{
|
||||
Concurrency::critical_section::scoped_lock lock(m_stateLock);
|
||||
m_isUserAckedReceived = val;
|
||||
}
|
||||
|
||||
}}}}
|
||||
Reference in New Issue
Block a user