mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 05:36:23 +00:00
Directory Structure [step 1]: moving files
working on #672 NOTE: This commit can't be compiled!!
This commit is contained in:
27
src/tools/mesh_extractor/Chunk.h
Normal file
27
src/tools/mesh_extractor/Chunk.h
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* Copyright (C)
|
||||
*
|
||||
* Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
|
||||
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
|
||||
*/
|
||||
|
||||
#ifndef CHUNK_H
|
||||
#define CHUNK_H
|
||||
#include "Define.h"
|
||||
#include <string>
|
||||
class ChunkedData;
|
||||
|
||||
class Chunk
|
||||
{
|
||||
public:
|
||||
Chunk(const char* name, uint32 length, uint32 offset, FILE* stream) : Name(name), Length(length), Offset(offset), Stream(stream) {}
|
||||
|
||||
int32 FindSubChunkOffset(std::string name);
|
||||
FILE* GetStream();
|
||||
std::string Name;
|
||||
uint32 Length;
|
||||
uint32 Offset;
|
||||
FILE* Stream;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user