Exemplo n.º 1
0
 public GameWaymarks(GamePreset preset)
 {
     A     = new GameWaymark(preset.A, preset.ActiveMarkers[0]);
     B     = new GameWaymark(preset.B, preset.ActiveMarkers[1]);
     C     = new GameWaymark(preset.C, preset.ActiveMarkers[2]);
     D     = new GameWaymark(preset.D, preset.ActiveMarkers[3]);
     One   = new GameWaymark(preset.One, preset.ActiveMarkers[4]);
     Two   = new GameWaymark(preset.Two, preset.ActiveMarkers[5]);
     Three = new GameWaymark(preset.Three, preset.ActiveMarkers[6]);
     Four  = new GameWaymark(preset.Four, preset.ActiveMarkers[7]);
 }
Exemplo n.º 2
0
 public GamePresetPoint(GameWaymark waymark, bool useClientVals = true)
 {
     if (useClientVals)
     {
         X = (int)(waymark.X_Float * 1000.0f);
         Y = (int)(waymark.Y_Float * 1000.0f);
         Z = (int)(waymark.Z_Float * 1000.0f);
     }
     else
     {
         X = waymark.X_Int;
         Y = waymark.Y_Int;
         Z = waymark.Z_Int;
     }
 }