mirror of
https://github.com/0x7c13/Pal3.Unity.git
synced 2026-11-26 17:38:10 +08:00
31 lines
1.1 KiB
C#
31 lines
1.1 KiB
C#
// ---------------------------------------------------------------------------------------------
|
|
// Copyright (c) 2021-2024, Jiaqi (0x7c13) Liu. All rights reserved.
|
|
// See LICENSE file in the project root for license information.
|
|
// ---------------------------------------------------------------------------------------------
|
|
|
|
namespace Pal3.Game.Command.Extensions
|
|
{
|
|
#if PAL3A
|
|
using Core.Command;
|
|
|
|
public sealed class ThreePhaseSwitchStateChangedNotification : ICommand
|
|
{
|
|
public ThreePhaseSwitchStateChangedNotification(
|
|
int objectId,
|
|
int previousState,
|
|
int currentState,
|
|
bool isBridgeMovingAlongYAxis)
|
|
{
|
|
ObjectId = objectId;
|
|
PreviousState = previousState;
|
|
CurrentState = currentState;
|
|
IsBridgeMovingAlongYAxis = isBridgeMovingAlongYAxis;
|
|
}
|
|
|
|
public int ObjectId { get; }
|
|
public int PreviousState { get; }
|
|
public int CurrentState { get; }
|
|
public bool IsBridgeMovingAlongYAxis { get; }
|
|
}
|
|
#endif
|
|
} |