33 lines
1.0 KiB
C#
33 lines
1.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics.Contracts;
|
|
using BITKit;
|
|
using Unity.Mathematics;
|
|
|
|
namespace Project.B.CharacterController
|
|
{
|
|
public interface IPlayerCharacterController
|
|
{
|
|
float3 MoveInput { get; }
|
|
float2 InputView { get; set; }
|
|
event Func<float2, float2> OnInputViewFactor;
|
|
ICharacterController CharacterController { get; }
|
|
IDictionary<int,quaternion> AdditiveCameraQuaternion { get; }
|
|
IDictionary<int,float> ZoomFactor { get; }
|
|
ValidHandle AllowTpsCamera { get; }
|
|
ValidHandle AllowRun { get; }
|
|
ValidHandle AllowSprint { get; }
|
|
ValidHandle DisableModel { get; }
|
|
ValidHandle ForceRootMotion { get; }
|
|
ValidHandle DisableStateTransition { get; }
|
|
ValidHandle DisableCollision { get; }
|
|
ValidHandle AllowOverride { get; }
|
|
void CancelRun();
|
|
void CancelSprint();
|
|
|
|
int Stamina { get; set; }
|
|
event Action<int, int> OnStaminaChanged;
|
|
}
|
|
}
|
|
|