2020-05-31 17:07:22 +00:00
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
namespace SanAndreasUnity.Behaviours.Peds.States
|
|
|
|
{
|
|
|
|
|
|
|
|
public interface IPedState : Utilities.IState {
|
|
|
|
|
|
|
|
/// <summary> Called at the end of Update(). </summary>
|
|
|
|
void PostUpdateState ();
|
|
|
|
|
|
|
|
//void OnCollision(Collision info);
|
|
|
|
void OnDamaged(DamageInfo info);
|
|
|
|
|
|
|
|
void OnFireButtonPressed();
|
|
|
|
void OnAimButtonPressed();
|
|
|
|
void OnSubmitPressed ();
|
|
|
|
void OnJumpPressed ();
|
|
|
|
void OnCrouchButtonPressed ();
|
|
|
|
void OnNextWeaponButtonPressed();
|
|
|
|
void OnPreviousWeaponButtonPressed();
|
|
|
|
void OnFlyButtonPressed();
|
|
|
|
void OnFlyThroughButtonPressed();
|
|
|
|
|
2019-04-30 21:55:31 +00:00
|
|
|
/// <summary> Called when server sends a message that ped state has changed. </summary>
|
|
|
|
void OnSwitchedStateByServer();
|
|
|
|
|
2020-05-31 17:07:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|