ChatPlexSDK-BS
1.0.1-v6.2.0
C++ ChatPlex BeatSaber SDK
Loading...
Searching...
No Matches
shared
CP_SDK_BS
UI
GameFont.hpp
1
#pragma once
2
3
#include "../../CP_SDK/Utils/Il2cpp.hpp"
4
#include "../../CP_SDK/Utils/MonoPtr.hpp"
5
6
#include <UnityEngine/Material.hpp>
7
#include <TMPro/TMP_FontAsset.hpp>
8
9
namespace
CP_SDK_BS::UI
{
10
11
namespace
_u
12
{
13
using namespace
UnityEngine;
14
using namespace
TMPro;
15
}
16
18
class
GameFont
19
{
20
CP_SDK_NO_DEF_CTORS(
GameFont
);
21
22
private
:
23
static
CP_SDK::Utils::MonoPtr<_u::TMP_FontAsset>
m_BaseGameFont;
24
static
CP_SDK::Utils::MonoPtr<_u::Material>
m_BaseGameFontSharedMaterial;
25
26
public
:
28
static
_u::TMP_FontAsset*
GetGameFont
();
30
static
_u::Material*
GetGameFontSharedMaterial
();
31
32
};
33
34
}
CP_SDK::Utils::MonoPtr
Definition
MonoPtr.hpp:11
CP_SDK_BS::UI::GameFont
Helpers for game font.
Definition
GameFont.hpp:19
CP_SDK_BS::UI::GameFont::GetGameFontSharedMaterial
static _u::Material * GetGameFontSharedMaterial()
Get main game font curved material.
CP_SDK_BS::UI::GameFont::GetGameFont
static _u::TMP_FontAsset * GetGameFont()
Get main game font.
CP_SDK_BS::UI
BeatSaber specific UI compoenents and utilities.
Definition
CP_SDK_UI_IViewControllerBridge.hpp:8
Generated by
1.9.8