VoK.Sdk
Doxygen generated documentation for the Dungeon Helper SDK
VoK.Sdk.Extensions Class Reference

Static Public Member Functions

static string GetProcessFolder (this Process process)
 
static string GetProcessName (this GameId game)
 
static ushort ReadHavokNumber (this BinaryReader reader)
 
static string ReadHavokString (this BinaryReader reader)
 
static ushort ReadPackedUShort (this BinaryReader reader)
 
static ushort ReadPackedUShort (this BinaryReader reader, out byte bytesRead)
 
static int ReadPackedInt (this BinaryReader reader)
 
static uint ReadPackedUInt (this BinaryReader reader)
 
static uint ReadPackedUInt (this BinaryReader reader, out byte bytesRead)
 
static uint ReadPackedPropertyID (this BinaryReader reader)
 
static uint ReadPackedEnumMapper (this BinaryReader reader)
 
static ushort ReadNetworkUInt16 (this BinaryReader reader)
 
static uint ReadNetworkUInt32 (this BinaryReader reader)
 
static ulong ReadNetworkUInt64 (this BinaryReader reader)
 
static string ReadUnicodeString (this BinaryReader reader)
 
static string ReadUnicodeString (this BinaryReader reader, int stringLen)
 
static Vector3 ReadVector (this BinaryReader reader)
 
static Polygon ReadPolygon (this BinaryReader reader)
 
static Plane ReadPlane (this BinaryReader reader)
 
static Triangle ReadTriangle (this BinaryReader reader)
 
static Guid ReadGuid (this BinaryReader reader)
 
static Quaternion ReadDatQuaternion (this BinaryReader reader)
 
static Quaternion ReadQuaternion (this BinaryReader reader)
 
static bool HasFlag (this uint value, uint enumFlag)
 
static List< int > IndexOfSequence (byte[] buffer, byte[] pattern, int startIndex=0)
 
static byte[] ReadToEnd (this BinaryReader reader)
 
static string ReadDatString (this BinaryReader reader)
 
static string ReadWslString (this BinaryReader reader)
 
static bool AtEnd (this BinaryReader reader)
 
static List< int > ReadUnpackedIntList (this BinaryReader reader)
 
static List< int > ReadPackedIntList (this BinaryReader reader)
 
static List< T > ReadList< T > (this BinaryReader reader, Func< T > valueFunction, int count)
 
static List< T > ReadList< T > (this BinaryReader reader, Func< T > valueFunction, bool countIsPacked)
 
static List< T > ReadList< T > (this BinaryReader reader, bool countIsPacked)
 Reads a list of T objects from the reader. T MUST have a constructor that accepts a BinaryReader as it's only parameter. More...
 
static List< T > ReadList< T > (this BinaryReader reader, Func< BinaryReader, T > valueFunction, bool countIsPacked)
 
static List< T > ReadList< T > (this BinaryReader reader, Func< BinaryReader, IPropertyMaster, T > valueFunction, IPropertyMaster propertyMaster, bool countIsPacked)
 
static Dictionary< K, V > ReadHashTable< K, V > (this BinaryReader reader, Func< K > keyFunction, Func< V > valueFunction, bool countIsPacked=true)
 
static Dictionary< K, V > ReadHashTable< K, V > (this BinaryReader reader, Func< K > keyFunction, Func< BinaryReader, V > valueFunction, bool countIsPacked=true)
 
static Dictionary< K, V > ReadHashTable< K, V > (this BinaryReader reader, Func< BinaryReader, K > keyFunction, Func< BinaryReader, V > valueFunction, bool countIsPacked=true)
 
static Dictionary< K, V > ReadHashTable< K, V > (this BinaryReader reader, Func< BinaryReader, K > keyFunction, Func< BinaryReader, IPropertyMaster, V > valueFunction, IPropertyMaster propertyMaster, bool countIsPacked=true)
 
static Dictionary< K, V > ReadHashTable< K, V > (this BinaryReader reader, Func< K > keyFunction, Func< BinaryReader, IPropertyMaster, V > valueFunction, IPropertyMaster propertyMaster, bool countIsPacked=true)
 
static Dictionary< K, V > ReadHashTable< K, V > (this BinaryReader reader, Func< K > keyFunction, bool countIsPacked=true)
 Reads a Dictionary of T objects from the reader. T MUST have a constructor that accepts a BinaryReader as it's only parameter. More...
 
static T Read< T > (this BinaryReader reader)
 
static uint ToUInt32 (this IntPtr intPtr)
 
static T GetAttributeOfType< T > (this Enum enumVal)
 
static T GetAttributeOfType< T, T2 > ()
 
static string FixName (string input)
 
static bool IsNumeric (string input)
 
static double GetHeadingDegrees (this Quaternion quaternion)
 gets the DDO heading equivalent for the quaternion. North = 0 | 360, increasing clockwise. More...
 
static double GetHeadingRadians (this Quaternion quaternion)
 gets the DDO heading equivalent for the quaternion. North = 0 | 2*Pi, increasing clockwise. More...
 

Static Public Attributes

static TextInfo TextInfo = new CultureInfo("en-US", false).TextInfo
 

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