Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
GMNoteUtils.h
Go to the documentation of this file.
1/*
2* This file is part of Project SkyFire https://www.projectskyfire.org.
3* See LICENSE.md file for Copyright information
4*/
5
6#ifndef SKYFIRE_GM_NOTE_UTILS_H
7#define SKYFIRE_GM_NOTE_UTILS_H
8
9#include "Define.h"
10
11#include <string>
12
13namespace Skyfire
14{
16 {
17 bool IsValid = false;
18 char const* Message = "";
19 };
20
22 {
26 float X = 0.0f;
27 float Y = 0.0f;
28 float Z = 0.0f;
29 float Orientation = 0.0f;
30 };
31
32 constexpr size_t GMNoteMaxLength = 255;
33
34 GMNoteValidation ValidateGMNoteText(std::string const& note);
35 std::string FormatGMNoteLocation(GMNoteLocation const& location);
36}
37
38#endif
std::uint32_t uint32
Definition Define.h:77
std::string FormatGMNoteLocation(GMNoteLocation const &location)
GMNoteValidation ValidateGMNoteText(std::string const &note)
constexpr size_t GMNoteMaxLength
Definition GMNoteUtils.h:32