Advertisement
Guest User

Untitled

a guest
Apr 21st, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 2.28 KB | None | 0 0
  1. using System;
  2.  
  3. namespace EsfLibrary {
  4.     public enum EsfType {
  5.         // marker type
  6.         INVALID = 0x00,
  7.        
  8.         // Primitives
  9.         BOOL = 0x01,
  10.         INT8 = 0x02,
  11.         INT16 = 0x03,
  12.         INT32 = 0x04,
  13.         INT64 = 0x05,
  14.         UINT8 = 0x06,
  15.         UINT16 = 0x07,
  16.         UINT32 = 0x08,
  17.         UINT64 = 0x09,
  18.         SINGLE = 0x0a,
  19.         DOUBLE = 0x0b,
  20.         COORD2D = 0x0c,
  21.         COORD3D = 0x0d,
  22.         UTF16 = 0x0e,
  23.         ASCII = 0x0f,
  24.         ANGLE = 0x10,
  25.  
  26.         // RoninX: TW Warhammer, ASCII?
  27.         ASCII_W21 = 0x21,
  28.         ASCII_W25 = 0x25,
  29.  
  30.         UNKNOWN_23 = 0x23,
  31.         UNKNOWN_24 = 0x24,
  32.  
  33.         // Arrays
  34.         BOOL_ARRAY = 0x41,
  35.         INT8_ARRAY = 0x42,
  36.         INT16_ARRAY = 0x43,
  37.         INT32_ARRAY = 0x44,
  38.         INT64_ARRAY = 0x45,
  39.         UINT8_ARRAY = 0x46,
  40.         UINT16_ARRAY = 0x47,
  41.         UINT32_ARRAY = 0x48,
  42.         UINT64_ARRAY = 0x49,
  43.         SINGLE_ARRAY = 0x4a,
  44.         DOUBLE_ARRAY = 0x4b,
  45.         COORD2D_ARRAY = 0x4c,
  46.         COORD3D_ARRAY = 0x4d,
  47.         UTF16_ARRAY = 0x4e,
  48.         ASCII_ARRAY = 0x4f,
  49.         ANGLE_ARRAY = 0x50,
  50.        
  51.         // Records and Blocks
  52.         RECORD = 0x80,
  53.         RECORD_BLOCK = 0x81,
  54.         RECORD_BLOCK_ENTRY = -1,
  55.        
  56.         // Optimized Primitives
  57.         BOOL_TRUE = 0x12,
  58.         BOOL_FALSE = 0x13,
  59.         UINT32_ZERO = 0x14,
  60.         UINT32_ONE = 0x15,
  61.         UINT32_BYTE = 0x16,
  62.         UINT32_SHORT = 0x17,
  63.         UINT32_24BIT = 0x18,
  64.         INT32_ZERO = 0x19,
  65.         INT32_BYTE = 0x1a,
  66.         INT32_SHORT = 0x1b,
  67.         INT32_24BIT = 0x1c,
  68.         SINGLE_ZERO = 0x1d,
  69.        
  70.         // Optimized Arrays
  71.         BOOL_TRUE_ARRAY = 0x52, // makes no sense
  72.         BOOL_FALSE_ARRAY = 0x53, // makes no sense
  73.         UINT_ZERO_ARRAY = 0x54, // makes no sense
  74.         UINT_ONE_ARRAY = 0x55, // makes no sense
  75.         UINT32_BYTE_ARRAY = 0x56,
  76.         UINT32_SHORT_ARRAY = 0x57,
  77.         UINT32_24BIT_ARRAY = 0x58,
  78.         INT32_ZERO_ARRAY = 0x59, // makes no sense
  79.         INT32_BYTE_ARRAY = 0x5a,
  80.         INT32_SHORT_ARRAY = 0x5b,
  81.         INT32_24BIT_ARRAY = 0x5c,
  82.         SINGLE_ZERO_ARRAY = 0x5d,  // makes no sense
  83.        
  84.         LONG_RECORD = 0xa0,
  85.         LONG_RECORD_BLOCK = 0xe0
  86.     }
  87. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement