mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-30 15:59:09 +00:00
29 lines
699 B
C#
29 lines
699 B
C#
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();
|
|
|
|
/// <summary> Called when server sends a message that ped state has changed. </summary>
|
|
void OnSwitchedStateByServer();
|
|
|
|
}
|
|
|
|
}
|