First commit for private source control. Older commits available on Github.
This commit is contained in:
BIN
Assets/Scripts/Framework/Events/.DS_Store
vendored
Normal file
BIN
Assets/Scripts/Framework/Events/.DS_Store
vendored
Normal file
Binary file not shown.
8
Assets/Scripts/Framework/Events/Audio.meta
Normal file
8
Assets/Scripts/Framework/Events/Audio.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 83fb6ea2b08724af2bfa88da928ff310
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,7 @@
|
||||
using BriarQueen.Framework.Events.System;
|
||||
using BriarQueen.Framework.Managers.Audio.Data;
|
||||
|
||||
namespace BriarQueen.Framework.Events.Audio
|
||||
{
|
||||
public record MusicTrackChangedEvent(AudioFileSo Track) : IEvent;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f3b589adbdecc410faad1a94d0e92943
|
||||
@@ -0,0 +1,6 @@
|
||||
using BriarQueen.Framework.Events.System;
|
||||
|
||||
namespace BriarQueen.Framework.Events.Audio
|
||||
{
|
||||
public record VoiceLineFinishedEvent(string VoiceLineID) : IEvent;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 86ad67d94ae87497a867a22b24fcab54
|
||||
@@ -0,0 +1,6 @@
|
||||
using BriarQueen.Framework.Events.System;
|
||||
|
||||
namespace BriarQueen.Framework.Events.Audio
|
||||
{
|
||||
public record VoiceLineStartedEvent(string VoiceLineID) : IEvent;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8f19b51fb48104a5eae452ff3261ce05
|
||||
8
Assets/Scripts/Framework/Events/Gameplay.meta
Normal file
8
Assets/Scripts/Framework/Events/Gameplay.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3eca027f79f05492da343f57bf23ec94
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,6 @@
|
||||
using BriarQueen.Framework.Events.System;
|
||||
|
||||
namespace BriarQueen.Framework.Events.Gameplay
|
||||
{
|
||||
public record InventoryChangedEvent : IEvent;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cdfd706f6f29d43ab80578bd9c9906b8
|
||||
@@ -0,0 +1,7 @@
|
||||
using BriarQueen.Framework.Events.System;
|
||||
using BriarQueen.Framework.Managers.Levels.Data;
|
||||
|
||||
namespace BriarQueen.Framework.Events.Gameplay
|
||||
{
|
||||
public record LevelChangedEvent(BaseLevel Level) : IEvent;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 54697a2ce8b80480cb269432c0402bc8
|
||||
@@ -0,0 +1,7 @@
|
||||
using BriarQueen.Framework.Events.System;
|
||||
using BriarQueen.Framework.Managers.Player.Data;
|
||||
|
||||
namespace BriarQueen.Framework.Events.Gameplay
|
||||
{
|
||||
public record OnNextItemClickedEvent() : IEvent;
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b741224892c24b6f899614e541f0bebd
|
||||
timeCreated: 1774433570
|
||||
@@ -0,0 +1,6 @@
|
||||
using BriarQueen.Framework.Events.System;
|
||||
|
||||
namespace BriarQueen.Framework.Events.Gameplay
|
||||
{
|
||||
public record OnNextToolChangedEvent() : IEvent;
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 720ded31a3f945e1b5a11c64099e370a
|
||||
timeCreated: 1774128263
|
||||
@@ -0,0 +1,7 @@
|
||||
using BriarQueen.Framework.Events.System;
|
||||
using BriarQueen.Framework.Managers.Player.Data;
|
||||
|
||||
namespace BriarQueen.Framework.Events.Gameplay
|
||||
{
|
||||
public record OnPreviousItemClickedEvent() : IEvent;
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9270b837f3004e398c669ccfefa92a19
|
||||
timeCreated: 1774433570
|
||||
@@ -0,0 +1,6 @@
|
||||
using BriarQueen.Framework.Events.System;
|
||||
|
||||
namespace BriarQueen.Framework.Events.Gameplay
|
||||
{
|
||||
public record OnPreviousToolChangedEvent : IEvent;
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b80f1fbcb15a41e3867489439e6d26f7
|
||||
timeCreated: 1774433570
|
||||
@@ -0,0 +1,9 @@
|
||||
using BriarQueen.Framework.Events.System;
|
||||
using BriarQueen.Framework.Services.Puzzles.Base;
|
||||
|
||||
namespace BriarQueen.Framework.Events.Gameplay
|
||||
{
|
||||
public record PuzzleLoadedEvent(BasePuzzle basePuzzle) : IEvent;
|
||||
|
||||
public record PuzzleExitingEvent(BasePuzzle basePuzzle) : IEvent;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f7289507c2df14ada856928e761d3483
|
||||
@@ -0,0 +1,7 @@
|
||||
using BriarQueen.Framework.Events.System;
|
||||
using BriarQueen.Framework.Managers.Player.Data;
|
||||
|
||||
namespace BriarQueen.Framework.Events.Gameplay
|
||||
{
|
||||
public record SelectedItemChangedEvent(ItemDataSo Item) : IEvent;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a7da6a11febc84309a2c2f9f116cf9e6
|
||||
@@ -0,0 +1,7 @@
|
||||
using BriarQueen.Data.Identifiers;
|
||||
using BriarQueen.Framework.Events.System;
|
||||
|
||||
namespace BriarQueen.Framework.Events.Gameplay
|
||||
{
|
||||
public record SelectedToolChangedEvent(ToolID SelectedTool, int Direction) : IEvent;
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0e7d90518ac24b439fdf81af933dfb14
|
||||
timeCreated: 1774433570
|
||||
8
Assets/Scripts/Framework/Events/Input.meta
Normal file
8
Assets/Scripts/Framework/Events/Input.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ace25c77b0d084b4284c01b91953da40
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,7 @@
|
||||
using BriarQueen.Framework.Events.System;
|
||||
using BriarQueen.Framework.Managers.Interaction.Data;
|
||||
|
||||
namespace BriarQueen.Framework.Events.Input
|
||||
{
|
||||
public record HoverInteractableChangedEvent(IInteractable Interactable) : IEvent;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 79c4ab5f2e5d94222b53ccd1be70ef62
|
||||
7
Assets/Scripts/Framework/Events/Input/OnClickEvent.cs
Normal file
7
Assets/Scripts/Framework/Events/Input/OnClickEvent.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
using BriarQueen.Framework.Events.System;
|
||||
using UnityEngine.InputSystem;
|
||||
|
||||
namespace BriarQueen.Framework.Events.Input
|
||||
{
|
||||
public record OnClickEvent(InputAction.CallbackContext Context) : IEvent;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c98806c8fba3342a6933df43ae70d00b
|
||||
@@ -0,0 +1,7 @@
|
||||
using BriarQueen.Framework.Events.System;
|
||||
using UnityEngine.InputSystem;
|
||||
|
||||
namespace BriarQueen.Framework.Events.Input
|
||||
{
|
||||
public record OnRightClickEvent(InputAction.CallbackContext Context) : IEvent;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 644d5788a3d51426eb7d034671028341
|
||||
8
Assets/Scripts/Framework/Events/Progression.meta
Normal file
8
Assets/Scripts/Framework/Events/Progression.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 59834fdf53a7c4ede88eb875b056cd6f
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,6 @@
|
||||
using BriarQueen.Framework.Events.System;
|
||||
|
||||
namespace BriarQueen.Framework.Events.Progression
|
||||
{
|
||||
public record RequestHintEvent : IEvent;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f29d9c01dd271423fb5af8762762f660
|
||||
@@ -0,0 +1,7 @@
|
||||
using BriarQueen.Data.Identifiers;
|
||||
using BriarQueen.Framework.Events.System;
|
||||
|
||||
namespace BriarQueen.Framework.Events.Progression
|
||||
{
|
||||
public record UnlockAchievementEvent(AchievementID AchievementID) : IEvent;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4f61d9f22b1f542a1b89c0c257ac065f
|
||||
@@ -0,0 +1,15 @@
|
||||
// ==============================
|
||||
// UpdateHintProgressEvent.cs
|
||||
// ==============================
|
||||
|
||||
using BriarQueen.Framework.Events.System;
|
||||
|
||||
namespace BriarQueen.Framework.Events.Progression
|
||||
{
|
||||
/// <summary>
|
||||
/// Updates the hint stage for a specific level.
|
||||
/// By default stages are monotonic (only increase).
|
||||
/// Set Force=true to allow decreasing (e.g., reset/override).
|
||||
/// </summary>
|
||||
public record UpdateHintProgressEvent(string LevelID, int Stage, bool Force = false) : IEvent;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 982411ceab4384178a326bb478c1f097
|
||||
8
Assets/Scripts/Framework/Events/Save.meta
Normal file
8
Assets/Scripts/Framework/Events/Save.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bf38f926f3fc34b69a0798bafcfc214b
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,6 @@
|
||||
using BriarQueen.Framework.Events.System;
|
||||
|
||||
namespace BriarQueen.Framework.Events.Save
|
||||
{
|
||||
public record RequestGameSaveEvent : IEvent;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0a27f3f62cc9d4d21b332fe9b68554ab
|
||||
@@ -0,0 +1,6 @@
|
||||
using BriarQueen.Framework.Events.System;
|
||||
|
||||
namespace BriarQueen.Framework.Events.Save
|
||||
{
|
||||
public record SettingsChangedEvent : IEvent;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b4561f86857c748ff905ab37dfa4fed0
|
||||
8
Assets/Scripts/Framework/Events/System.meta
Normal file
8
Assets/Scripts/Framework/Events/System.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d60b66e863cb74fb5ad43808bdf50a84
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
6
Assets/Scripts/Framework/Events/System/IEvent.cs
Normal file
6
Assets/Scripts/Framework/Events/System/IEvent.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace BriarQueen.Framework.Events.System
|
||||
{
|
||||
public interface IEvent
|
||||
{
|
||||
}
|
||||
}
|
||||
2
Assets/Scripts/Framework/Events/System/IEvent.cs.meta
Normal file
2
Assets/Scripts/Framework/Events/System/IEvent.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7c871ae02ed7344f1858d7cf1b2c1a7e
|
||||
8
Assets/Scripts/Framework/Events/UI.meta
Normal file
8
Assets/Scripts/Framework/Events/UI.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 587622cedaf7043dd956bdde1f2c8c67
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
7
Assets/Scripts/Framework/Events/UI/CodexChangedEvent.cs
Normal file
7
Assets/Scripts/Framework/Events/UI/CodexChangedEvent.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
using BriarQueen.Data.Identifiers;
|
||||
using BriarQueen.Framework.Events.System;
|
||||
|
||||
namespace BriarQueen.Framework.Events.UI
|
||||
{
|
||||
public record CodexChangedEvent(CodexType EntryType) : IEvent;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a25c6ac2d479a43c3b2bef6bb401636d
|
||||
@@ -0,0 +1,8 @@
|
||||
using BriarQueen.Framework.Events.System;
|
||||
using BriarQueen.Framework.Managers.UI;
|
||||
|
||||
namespace BriarQueen.Framework.Events.UI
|
||||
{
|
||||
public record CursorStyleChangeEvent(UICursorService.CursorStyle Style) : IEvent;
|
||||
public record OverrideCursorStyleChangeEvent(UICursorService.CursorStyle Style) : IEvent;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 01441a1e59f1c4dedb7d6ec150d50488
|
||||
@@ -0,0 +1,6 @@
|
||||
using BriarQueen.Framework.Events.System;
|
||||
|
||||
namespace BriarQueen.Framework.Events.UI
|
||||
{
|
||||
public record DisplayInteractEvent(string Message, object Payload = null) : IEvent;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b67c3e24810a746c3a83c09cd0f531cd
|
||||
@@ -0,0 +1,7 @@
|
||||
using BriarQueen.Framework.Events.System;
|
||||
using BriarQueen.Framework.Managers.Player.Data;
|
||||
|
||||
namespace BriarQueen.Framework.Events.UI
|
||||
{
|
||||
public record DisplayItemDescriptionEvent(ItemDataSo Item) : IEvent;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9120aa2b44db9462aa770ca558cffd21
|
||||
@@ -0,0 +1,7 @@
|
||||
using BriarQueen.Data.Identifiers;
|
||||
using BriarQueen.Framework.Events.System;
|
||||
|
||||
namespace BriarQueen.Framework.Events.UI
|
||||
{
|
||||
public record DisplayTutorialPopupEvent(TutorialPopupID TutorialID) : IEvent;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: dac94e23408444ce69318e396ddbfa71
|
||||
6
Assets/Scripts/Framework/Events/UI/FadeCompletedEvent.cs
Normal file
6
Assets/Scripts/Framework/Events/UI/FadeCompletedEvent.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
using BriarQueen.Framework.Events.System;
|
||||
|
||||
namespace BriarQueen.Framework.Events.UI
|
||||
{
|
||||
public record FadeCompletedEvent : IEvent;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8ef3cc035479441b3b0f9dbac770ac3e
|
||||
16
Assets/Scripts/Framework/Events/UI/FadeEvent.cs
Normal file
16
Assets/Scripts/Framework/Events/UI/FadeEvent.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using BriarQueen.Framework.Events.System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace BriarQueen.Framework.Events.UI
|
||||
{
|
||||
public enum FadeStyle
|
||||
{
|
||||
SolidColor = 0, // Left for Compat.
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Publish with color != Color.clear to fade in.
|
||||
/// Publish with color == Color.clear to fade out (uses last active style).
|
||||
/// </summary>
|
||||
public record FadeEvent(bool Hidden, float Duration = 0.25f) : IEvent;
|
||||
}
|
||||
2
Assets/Scripts/Framework/Events/UI/FadeEvent.cs.meta
Normal file
2
Assets/Scripts/Framework/Events/UI/FadeEvent.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8eefea4ba4b1c45b6b563954853ab6ce
|
||||
@@ -0,0 +1,6 @@
|
||||
using BriarQueen.Framework.Events.System;
|
||||
|
||||
namespace BriarQueen.Framework.Events.UI
|
||||
{
|
||||
public record PauseButtonClickedEvent : IEvent;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d2e0a379205874cfc94af8621971fd64
|
||||
@@ -0,0 +1,6 @@
|
||||
using BriarQueen.Framework.Events.System;
|
||||
|
||||
namespace BriarQueen.Framework.Events.UI
|
||||
{
|
||||
public record RequestUIOverrideEvent(bool Enabled) : IEvent;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: aae38c023197e4b49a7c231a5a3fe6c6
|
||||
6
Assets/Scripts/Framework/Events/UI/ToggleCodexEvent.cs
Normal file
6
Assets/Scripts/Framework/Events/UI/ToggleCodexEvent.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
using BriarQueen.Framework.Events.System;
|
||||
|
||||
namespace BriarQueen.Framework.Events.UI
|
||||
{
|
||||
public record ToggleCodexEvent(bool Shown) : IEvent;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 028e68008f1754fe98d0fc180dea0fc1
|
||||
@@ -0,0 +1,6 @@
|
||||
using BriarQueen.Framework.Events.System;
|
||||
|
||||
namespace BriarQueen.Framework.Events.UI
|
||||
{
|
||||
public record ToggleToolScreenEvent(bool Shown) : IEvent;
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 87ffac4f399a4fe0aad98d7be48a752c
|
||||
timeCreated: 1773958329
|
||||
@@ -0,0 +1,7 @@
|
||||
using BriarQueen.Data.Identifiers;
|
||||
using BriarQueen.Framework.Events.System;
|
||||
|
||||
namespace BriarQueen.Framework.Events.UI
|
||||
{
|
||||
public record ToolbeltChangedEvent(ToolID ToolID, bool Lost) : IEvent;
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3af4618967b4408190e758a13137ed3c
|
||||
timeCreated: 1773955658
|
||||
@@ -0,0 +1,6 @@
|
||||
using BriarQueen.Framework.Events.System;
|
||||
|
||||
namespace BriarQueen.Framework.Events.UI
|
||||
{
|
||||
public record UIStackChangedEvent(bool AnyUIOpen) : IEvent;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0d12dbbf29d274869a717b92ba55f5e6
|
||||
6
Assets/Scripts/Framework/Events/UI/UIToggleHudEvent.cs
Normal file
6
Assets/Scripts/Framework/Events/UI/UIToggleHudEvent.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
using BriarQueen.Framework.Events.System;
|
||||
|
||||
namespace BriarQueen.Framework.Events.UI
|
||||
{
|
||||
public record UIToggleHudEvent(bool Show) : IEvent;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 31d06fbeccf8341acb2c899963d5624e
|
||||
Reference in New Issue
Block a user