XJ music engine  1.9.6
In-game runtime engine for XJ music.
ContentEntity.h
Go to the documentation of this file.
1 // Copyright (c) XJ Music Inc. (https://xjmusic.com) All Rights Reserved.
2 
3 #ifndef CONTENT_ENTITY_H
4 #define CONTENT_ENTITY_H
5 
6 #include <string>
7 
9 
10 namespace XJ {
11 
12  class ContentEntity {
13  public:
14 
15  ContentEntity() = default;
16 
18 
25  friend bool operator<(const ContentEntity &lhs, const ContentEntity &rhs) {
26  return lhs.id < rhs.id;
27  }
28 
29  };
30 
31 }// namespace XJ
32 
33 #endif//CONTENT_ENTITY_H
Definition: ContentEntity.h:12
UUID id
Definition: ContentEntity.h:17
friend bool operator<(const ContentEntity &lhs, const ContentEntity &rhs)
Definition: ContentEntity.h:25
ContentEntity()=default
Definition: ActiveAudio.h:11
std::string UUID
Definition: EntityUtils.h:28