4#include "../ext/emote/include/iemote.h"
6#include "base/FixedSizeString.h"
7#include "NativeTextureRenderer.h"
9namespace XXSharpKmyGfx {
11 ref class SpriteBatch;
12 ref class InternalCommandBuffer;
13 ref class Framebuffer;
19 kmyBase::FixedSizePath path =
"";
20 IEmotePlayer* m_basePlayer =
nullptr;
25 private ref class EmoteInstance
28 EmoteInstance(System::String^ path);
30 void draw(u32 framebufferWidth, u32 framebufferHeight);
31 void drawToSpriteBatch(SpriteBatch^ sb,
int zorder);
32 void progress(
int frames);
34 void setCoord(
float x,
float y);
35 void setColor(u32 rgba);
36 void setScale(
float s);
37 void playTimeLine(System::String^ label);
38 array<System::String^>^ getMainTimeLineLabels();
46 private ref class EmoteTexture
49 EmoteTexture(System::String^ path, GameView^ gv,
int width,
int height);
51 void createCommand(InternalCommandBuffer^ icb);
53 EmoteInstance^ emo =
nullptr;
54 Framebuffer^ fb =
nullptr;