Unity Quiz Server
A Quiz content server and client, to ease the creation and sharing of quiz content.
 All Classes Namespaces
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes | Properties | List of all members
Noizoo.QuizServer.Content.Quiz.QuizPackageLoaderV1 Class Reference
Inheritance diagram for Noizoo.QuizServer.Content.Quiz.QuizPackageLoaderV1:
Noizoo.QuizServer.Content.Quiz.QuizPackageLoaderBase

Public Member Functions

override bool LoadAndCheckHeader (BigEndianReader reader)
 
override void PreloadQuizPackage (BigEndianReader reader)
 
- Public Member Functions inherited from Noizoo.QuizServer.Content.Quiz.QuizPackageLoaderBase
void LoadQuizPackage (BigEndianReader reader, QuizPackage quizpackage, string temporaryPath)
 

Static Public Member Functions

static bool CheckByteArray (byte[] bytes)
 
static byte[] Decompress (BigEndianReader reader)
 

Public Attributes

int _cardCount
 
List< string > _attributes
 

Protected Member Functions

override void LoadQuizPackage (BigEndianReader reader)
 
void FinalizePackage ()
 
void FinalizePackageFormatTexts ()
 
void ReadTextDataBlock (BigEndianReader reader)
 
void ReadTextDataBlockSub (BigEndianReader reader)
 
void ReadTextRefDataBlock (BigEndianReader reader, List< string > texts)
 
void ReadTextRefDataBlockSub (BigEndianReader reader, List< string > texts)
 
int ReadMarkerAndChunkPosition (BigEndianReader reader, int position, out string name)
 
void SeekToEndOfUnknown (BigEndianReader reader, ref int position, string unkownMarker)
 
void ReadCardDataBlock (BigEndianReader reader)
 
void ReadAudioDataBlock (BigEndianReader reader)
 
string ReadAudioData (BigEndianReader reader, int index)
 
void ReadImageDataBlock (BigEndianReader reader)
 
void ReadTagCombinationDataBlock (BigEndianReader reader)
 
void ReadPackageContent (BigEndianReader reader, ref string text)
 
- Protected Member Functions inherited from Noizoo.QuizServer.Content.Quiz.QuizPackageLoaderBase
void ReadTagStrings (BigEndianReader reader, string msg, string comparemarker, int compareindex)
 
void ReadMarkerString (BigEndianReader reader, string msg, string compare, int compareindex)
 
void ReadMarkerString (BigEndianReader reader, string msg, string compare)
 
string IndexToFilename (int index)
 
void GetIndexAndType (int value, out int index, out int type)
 
string ReadAudioData (BigEndianReader reader, out int index)
 
string ReadAudioDataInternal (BigEndianReader reader, int index, int type)
 
string ReadImageData (BigEndianReader reader, int index)
 
string ReadImageDataInternal (BigEndianReader reader, int index, int type)
 

Protected Attributes

List< int > _indexFormat = new List<int> ()
 
List< string > _formats = new List<string> ()
 
List< string > _topics = new List<string> ()
 
string _name = ""
 
- Protected Attributes inherited from Noizoo.QuizServer.Content.Quiz.QuizPackageLoaderBase
string _tempPath
 
string _tempImgPath
 
bool _hasAudio
 
bool _hasImage
 
QuizPackage _package
 
ushort _versionMajor
 
ushort _versionMinor
 
List< string > _audioClips = new List<string> ()
 
List< string > _images = new List<string> ()
 

Static Protected Attributes

static System.UInt32 check0 = 0xef4e5150
 
static System.UInt32 check1 = 0x0d0a1a0a
 

Properties

static new ushort VersionMajorHeader [get]
 
bool Compressed [get]
 
- Properties inherited from Noizoo.QuizServer.Content.Quiz.QuizPackageLoaderBase
static ushort VersionMajorHeader [get]
 
List< string > AudioClips [get]
 
List< string > Images [get]
 
QuizPackage Package [get]
 
string Path [get]
 
string ImgPath [get]
 

The documentation for this class was generated from the following file: