All Packages Class Hierarchy This Package Previous Next Index
Class blackmane.quake2.pak.Quake2PakHeader
java.lang.Object
|
+----blackmane.quake2.pak.Quake2PakHeader
- public class Quake2PakHeader
- extends Object
-
directory_length
-
-
directory_offset
-
-
magic
-
-
MAGIC
-
-
directoryLength()
- Returns the length of the directory information.
-
directoryOffset()
- Returns the offset of the directory information.
-
magic()
-
-
validPak()
- To determine whether this is a valid Pak file, using
the magic number.
MAGIC
public static final int MAGIC
magic
protected int magic
directory_offset
protected int directory_offset
directory_length
protected int directory_length
validPak
public boolean validPak()
- To determine whether this is a valid Pak file, using
the magic number.
- Returns:
-
true
if the magic number is correct;
false
otherwise.
directoryOffset
public int directoryOffset()
- Returns the offset of the directory information.
- Returns:
- the offset of the directory.
directoryLength
public int directoryLength()
- Returns the length of the directory information.
- Returns:
- the length of the directory
magic
public int magic()
- Returns:
- the magic number
All Packages Class Hierarchy This Package Previous Next Index