Esempio n. 1
0
 public CompressedVec2Binding(
     GhostPriority p,
     string field,
     int range       = 2147483647,
     bool isvelocity = false,
     bool doLerp     = false)
     : base(field, -1, false, isvelocity)
 {
     this._range    = range;
     this._priority = p;
     this._lerp     = doLerp;
 }
Esempio n. 2
0
 public CompressedFloatBinding(
     GhostPriority p,
     string field,
     float range = 1f,
     int bits    = 16,
     bool isRot  = false,
     bool doLerp = false)
     : base(field, bits, isRot)
 {
     this._range = range;
     if (isRot)
     {
         this._range = 6.283185f;
     }
     this._priority = p;
     this._lerp     = doLerp;
 }
 public StateFlagBinding(GhostPriority p, params string[] fields)
     : base("multiple")
 {
     this._fields   = fields;
     this._priority = p;
 }
Esempio n. 4
0
 public AMMeleeFlagBinding(GhostPriority p = GhostPriority.Normal)
     : base(p, 5)
 {
 }