mirror of
https://github.com/DrPerkyLegit/LCEServerTest.git
synced 2026-05-22 03:25:30 +00:00
removed git history
This commit is contained in:
11
Minecraft.World/InputStream.cpp
Normal file
11
Minecraft.World/InputStream.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#include "stdafx.h"
|
||||
#include "File.h"
|
||||
#include "InputOutputStream.h"
|
||||
#include "InputStream.h"
|
||||
|
||||
InputStream *InputStream::getResourceAsStream(const wstring &fileName)
|
||||
{
|
||||
File file( fileName );
|
||||
|
||||
return file.exists() ? new FileInputStream( file ) : nullptr;
|
||||
}
|
||||
Reference in New Issue
Block a user