PixelBullet
0.0.1
A C++ game engine
Loading...
Searching...
No Matches
engine
include
pixelbullet
audio
audio_playback_handle.h
1
#pragma once
2
3
#include <cstdint>
4
5
namespace
pixelbullet
6
{
7
struct
AudioPlaybackHandle
8
{
9
using
ValueType = std::uint64_t;
10
11
ValueType value = 0;
12
13
[[nodiscard]]
explicit
operator
bool()
const
noexcept
14
{
15
return
value != 0;
16
}
17
18
[[nodiscard]]
bool
operator==(
const
AudioPlaybackHandle
&)
const
noexcept
=
default
;
19
};
20
}
// namespace pixelbullet
pixelbullet::AudioPlaybackHandle
Definition
audio_playback_handle.h:8
Generated by
1.16.1