ChatPlexSDK-BS 1.0.1-v6.2.0
C++ ChatPlex BeatSaber SDK
Loading...
Searching...
No Matches
AnimationInfo.hpp
1#pragma once
2
3#include "../Utils/Il2cpp.hpp"
4
5#include <beatsaber-hook/shared/utils/typedefs-array.hpp>
6#include <UnityEngine/Color32.hpp>
7
8#include <memory>
9#include <vector>
10#include <stdint.h>
11
12namespace CP_SDK::Animation {
13
14 namespace _u
15 {
16 using namespace UnityEngine;
17 }
18
21 {
22 CP_SDK_NO_COPYMOVE_CTORS(AnimationInfo);
23 CP_SDK_PRIV_TAG();
24
25 public:
26 using Ptr = std::shared_ptr<AnimationInfo>;
27
28 public:
29 int32_t Width;
30 int32_t Height;
31 std::vector<_u::Color32*> Frames;
32 std::vector<uint16_t> Delays;
33
34 public:
39 AnimationInfo(CP_SDK_PRIV_TAG_ARG(), int p_Width, int p_Height, uint32_t p_FrameCount);
42
43 public:
48 static Ptr Make(int p_Width, int p_Height, uint32_t p_FrameCount);
49
50 };
51
52}
AnimationInfo(CP_SDK_PRIV_TAG_ARG(), int p_Width, int p_Height, uint32_t p_FrameCount)
Constructor.
static Ptr Make(int p_Width, int p_Height, uint32_t p_FrameCount)
Constructor.
Animated image loading and processing.