Logo
ResourceServer.h
1#pragma once
2
3#include "Types.h"
4#include "base/ResourceServer.h"
5#include "io/FS.h"
6
7namespace XXSharpKmyBase
8{
9 private ref class StdResourceServer
10 {
11 public:
12 static void CheckData(array<unsigned char>^ buffer, bool p);
13 static void CheckData(unsigned char* buffer, u32 size);
14 static int GetDataVersion();
15 static void SetDataVersion(int version);
16
17 kmyBase::StdResourceServer *svr;
18 kmyIO::FS *fs;
19 StdResourceServer();
20 void Release();
21 void addTexturePath(System::String ^path);
22 void addShaderPath(System::String ^path);
23 void bringToFront(System::String ^path);
24 array<System::String^>^ getShaderList();
25 array<System::String^>^ getTextureList();
26 };
27}