Ejemplo n.º 1
0
 private GameStructs.Decoration[] GetDecorationsFromGear(Int64 BaseAddress, int GearIndex)
 {
     GameStructs.Decoration[] Decorations = new GameStructs.Decoration[3];
     for (int DecorationIndex = 0; DecorationIndex < 3; DecorationIndex++)
     {
         GameStructs.Decoration dummy = new GameStructs.Decoration()
         {
             ID = GameStructs.ConvertToMax(Scanner.READ_UINT(BaseAddress + 0x30 + (0x3 * GearIndex * 0x4) + (0x4 * DecorationIndex)))
         };
         Decorations[DecorationIndex] = dummy;
     }
     return(Decorations);
 }
Ejemplo n.º 2
0
 private GameStructs.Decoration[] GetMantleDecorations(Int64 BaseAddress)
 {
     GameStructs.Decoration[] Decorations = new GameStructs.Decoration[2];
     for (int DecorationIndex = 0; DecorationIndex < 2; DecorationIndex++)
     {
         GameStructs.Decoration dummy = new GameStructs.Decoration()
         {
             ID = GameStructs.ConvertToMax(Scanner.READ_UINT(BaseAddress + (DecorationIndex * 0x4)))
         };
         Decorations[DecorationIndex] = dummy;
     }
     return(Decorations);
 }
Ejemplo n.º 3
0
 private GameStructs.BowgunMod[] GetBowgunMods(Int64 BaseAddress)
 {
     GameStructs.BowgunMod[] bowgunMods = new GameStructs.BowgunMod[5];
     for (int i = 0; i < 5; i++)
     {
         GameStructs.BowgunMod dummy = new GameStructs.BowgunMod()
         {
             ID = GameStructs.ConvertToMax(Scanner.READ_UINT(BaseAddress + 0x10 + (i * 4)))
         };
         bowgunMods[i] = dummy;
     }
     return(bowgunMods);
 }