ChatPlexSDK-BS
1.0.1-v6.2.0
C++ ChatPlex BeatSaber SDK
Loading...
Searching...
No Matches
shared
CP_SDK
Animation
WEBP
WEBPDecoder.hpp
1
#pragma once
2
3
#include "../AnimationInfo.hpp"
4
#include "../../Utils/Delegate.hpp"
5
#include "../../Utils/Il2cpp.hpp"
6
#include "../../Utils/MonoPtr.hpp"
7
8
#include <UnityEngine/Sprite.hpp>
9
10
#include <memory>
11
#include <vector>
12
#include <stdint.h>
13
14
namespace
CP_SDK::Animation::WEBP
{
15
16
namespace
_v
17
{
18
using namespace
CP_SDK::Utils
;
19
}
20
22
class
WEBPDecoder
23
{
24
CP_SDK_NO_DEF_CTORS(
WEBPDecoder
);
25
26
public
:
31
static
void
Process
(
_v::CMonoPtrRef
<::Array<uint8_t>> p_Raw,
_v::Action<const AnimationInfo::Ptr&>
p_Callback,
_v::Action
<
_v::CMonoPtrRef<UnityEngine::Sprite>
> p_StaticCallback);
32
33
34
};
35
36
}
CP_SDK::Animation::WEBP::WEBPDecoder
WEBP decoder.
Definition
WEBPDecoder.hpp:23
CP_SDK::Animation::WEBP::WEBPDecoder::Process
static void Process(_v::CMonoPtrRef<::Array< uint8_t > > p_Raw, _v::Action< const AnimationInfo::Ptr & > p_Callback, _v::Action< _v::CMonoPtrRef< UnityEngine::Sprite > > p_StaticCallback)
Async decode WEBP image.
CP_SDK::Utils::Delegate< void(t_Args...)>
CP_SDK::Utils::MonoPtr
Definition
MonoPtr.hpp:11
CP_SDK::Animation::WEBP
WEBP specific implementation.
Definition
WEBPDecoder.hpp:14
CP_SDK::Utils
Various platform utils like Delegate/Action/Function/Event system.
Definition
Delegate.hpp:8
Generated by
1.9.8