Logo
ResourceServer.h
1#pragma once
2
3#include "Types.h"
4#include "base/ResourceServer.h"
5#include "io/FS.h"
6
7namespace SharpKmyBase
8{
9 public 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;
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}
Definition: ResourceServer.h:10
void bringToFront(System::String ^path)
Definition: ResourceServer.cpp:55
void Release()
Definition: ResourceServer.cpp:36
static int GetDataVersion()
Definition: ResourceServer.cpp:19
static void SetDataVersion(int version)
Definition: ResourceServer.cpp:24
StdResourceServer()
Definition: ResourceServer.cpp:29
static void CheckData(array< unsigned char >^ buffer, bool p)
Definition: ResourceServer.cpp:7
kmyBase::StdResourceServer * svr
Definition: ResourceServer.h:17
void addTexturePath(System::String ^path)
Definition: ResourceServer.cpp:43
void addShaderPath(System::String ^path)
Definition: ResourceServer.cpp:49
array< System::String^> getShaderList()
Definition: ResourceServer.cpp:62
array< System::String^> getTextureList()
Definition: ResourceServer.cpp:77
kmyIO::FS * fs
Definition: ResourceServer.h:18
Definition: Guid.cpp:4