mirror of
https://github.com/overte-org/overte.git
synced 2025-07-30 06:30:22 +02:00
34 lines
922 B
C++
34 lines
922 B
C++
//
|
|
// EntityNodeData.h
|
|
// assignment-client/src/entities
|
|
//
|
|
// Created by Brad Hefta-Gaub on 4/29/14
|
|
// Copyright 2014 High Fidelity, Inc.
|
|
//
|
|
// Distributed under the Apache License, Version 2.0.
|
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
//
|
|
|
|
#ifndef hifi_EntityNodeData_h
|
|
#define hifi_EntityNodeData_h
|
|
|
|
#include <PacketHeaders.h>
|
|
|
|
#include "../octree/OctreeQueryNode.h"
|
|
|
|
class EntityNodeData : public OctreeQueryNode {
|
|
public:
|
|
EntityNodeData() :
|
|
OctreeQueryNode(),
|
|
_lastDeletedEntitiesSentAt(0) { }
|
|
|
|
virtual PacketType getMyPacketType() const { return PacketTypeEntityData; }
|
|
|
|
quint64 getLastDeletedEntitiesSentAt() const { return _lastDeletedEntitiesSentAt; }
|
|
void setLastDeletedEntitiesSentAt(quint64 sentAt) { _lastDeletedEntitiesSentAt = sentAt; }
|
|
|
|
private:
|
|
quint64 _lastDeletedEntitiesSentAt;
|
|
};
|
|
|
|
#endif // hifi_EntityNodeData_h
|