示例#1
0
 public override void UpdatePlayerRotation(ICameraMotorInput input, ICameraMotorState state, PlayerEntity player)
 {
 }
示例#2
0
 public override void CalcOutput(PlayerEntity player, ICameraMotorInput input, ICameraMotorState state, SubCameraMotorState subState,
                                 DummyCameraMotorOutput output, ICameraNewMotor last, int clientTime)
 {
 }
示例#3
0
 public override void PreProcessInput(PlayerEntity player, ICameraMotorInput input, ICameraMotorState state)
 {
 }
示例#4
0
 public bool IsActive(ICameraMotorInput input, ICameraMotorState state)
 {
     return(input.CurrentPostureState == PostureInConfig.Climb);
 }
示例#5
0
 public override bool IsActive(ICameraMotorInput input, ICameraMotorState state)
 {
     return(true);
 }
示例#6
0
 public bool IsActive(ICameraMotorInput input, ICameraMotorState state)
 {
     return(input.ActionState == ActionInConfig.Gliding);
 }
示例#7
0
 public bool IsActive(ICameraMotorInput input, ICameraMotorState state)
 {
     return(input.ActionState == ActionInConfig.Parachuting && !input.IsParachuteAttached);
 }
示例#8
0
 public bool IsActive(ICameraMotorInput input, ICameraMotorState state)
 {
     return(input.NextPostureState == PostureInConfig.Dying ||
            input.NextPostureState == PostureInConfig.DyingTransition);
 }
示例#9
0
 public bool IsActive(ICameraMotorInput input, ICameraMotorState state)
 {
     return(input.IsDead);
 }
示例#10
0
 public bool IsActive(ICameraMotorInput input, ICameraMotorState state)
 {
     return(input.NextPostureState == PostureInConfig.Prone ||
            input.NextPostureState == PostureInConfig.ProneTransit);
 }
示例#11
0
 public bool IsActive(ICameraMotorInput input, ICameraMotorState state)
 {
     return(input.NextPostureState == PostureInConfig.Swim || input.NextPostureState == PostureInConfig.Dive);
 }
示例#12
0
 public override void PreProcessInput(PlayerEntity player, ICameraMotorInput input, ICameraMotorState state)
 {
     UpdatePlayerRotation(input, state, player);
 }
示例#13
0
 public override bool IsActive(ICameraMotorInput input, ICameraMotorState state)
 {
     return(_active.IsActive(input, state));
 }
示例#14
0
 public bool IsActive(ICameraMotorInput input, ICameraMotorState state)
 {
     return(input.ActionKeepState == ActionKeepInConfig.Rescue);
 }
示例#15
0
 public override void CalcOutput(PlayerEntity player, ICameraMotorInput input, ICameraMotorState state, SubCameraMotorState subState,
                                 DummyCameraMotorOutput output, ICameraNewMotor last, int clientTime)
 {
     _finalRotation = _config.Roatation;
     base.CalcOutput(player, input, state, subState, output, last, clientTime);
 }
示例#16
0
 private bool CanChangeViewMotor(ICameraMotorInput input)
 {
     return(input.ChangeCamera);
 }