Ejemplo n.º 1
0
 public WantMovementCr(CombatRoutine undecoratedCr, CapabilityFlags supportedCapabilities)
 {
     if (undecoratedCr == null) return;
     Log.Info("Storing Combat Routine");
     _undecoratedCr = undecoratedCr;
     SupportedCapabilities = supportedCapabilities;
 }
 internal void __MarshalFrom(ref Capabilities.__Native @ref)
 {
     this.Type    = @ref.Type;
     this.SubType = @ref.SubType;
     this.Flags   = @ref.Flags;
     this.Gamepad = @ref.Gamepad;
     this.Vibration.__MarshalFrom(ref @ref.Vibration);
 }
Ejemplo n.º 3
0
 public WantMovementCr(CombatRoutine undecoratedCr, CapabilityFlags supportedCapabilities)
 {
     if (undecoratedCr == null)
     {
         return;
     }
     Log.Info("Storing Combat Routine");
     _undecoratedCr        = undecoratedCr;
     SupportedCapabilities = supportedCapabilities;
 }
Ejemplo n.º 4
0
 public static bool IsAllowed( CapabilityFlags flags)
 {
     return RoutineManager.GetCapabilityState(flags) == CapabilityState.DontCare;
 }
Ejemplo n.º 5
0
 public static bool IsAllowed(CapabilityFlags flags)
 {
     return(RoutineManager.GetCapabilityState(flags) == CapabilityState.DontCare);
 }
 public StreamCapabilities(StreamCapabilities capabilities)
 {
     this.flags = capabilities.flags;
 }