63 lines
1.8 KiB
C#
63 lines
1.8 KiB
C#
using System;
|
|
using BlueWater.Items;
|
|
using BlueWater.Npcs.Customers;
|
|
using UnityEngine;
|
|
|
|
namespace BlueWater
|
|
{
|
|
public static class EventManager
|
|
{
|
|
// Global events
|
|
#region Global events
|
|
|
|
// Ui
|
|
public static Action<float, float, Color?, float> FadeInOut;
|
|
|
|
// Player
|
|
public static Action<int, int> OnMaxHealthChanged;
|
|
public static Action<int> OnHealthChanged;
|
|
public static Action OnDead;
|
|
|
|
// 상호작용
|
|
public static Action<string> OnShowInteractionUi;
|
|
public static Action OnHideInteractionUi;
|
|
|
|
#endregion
|
|
|
|
// Tycoon events
|
|
#region Tycoon events
|
|
|
|
// 플레이어
|
|
public static Action<LevelData> OnLevelUp;
|
|
public static Action<int> OnChangeGold;
|
|
public static Action<ExpData> OnChangeExp;
|
|
|
|
// Npc
|
|
public static Action OnCreateCustomer;
|
|
public static Action<Customer> OnOrderedCocktail;
|
|
public static Action<Customer, bool> OnOrderResult;
|
|
|
|
// 음료
|
|
// public static Action<string> OnDrinkRecipeAcquired;
|
|
// public static Action<LiquidData> OnDrinkRecipeSelected;
|
|
|
|
public static Action OnTycoonGameStarted;
|
|
public static Action OnTycoonGameOvered;
|
|
|
|
public static Action OnCocktailStarted;
|
|
public static Action<CocktailData> OnCocktailCompleted;
|
|
public static Action OnCocktailDiscarded;
|
|
|
|
public static Action OnPlaceOnServingTable;
|
|
public static Action OnTakeFromServingTable;
|
|
|
|
public static Action<CocktailData> OnCocktailServedToCustomer;
|
|
|
|
public static Action<float> OnInteracting;
|
|
|
|
// 요리
|
|
//public static Action<string> OnFoodRecipeAcquired;
|
|
|
|
#endregion
|
|
}
|
|
} |