34 lines
833 B
C#
34 lines
833 B
C#
namespace SepCore.InputModule
|
|
{
|
|
public readonly struct RebindResult
|
|
{
|
|
public RebindResult(
|
|
RebindStatus status,
|
|
InputContextId contextId,
|
|
InputActionId actionId,
|
|
int bindingIndex,
|
|
string path,
|
|
string previousPath)
|
|
{
|
|
Status = status;
|
|
ContextId = contextId;
|
|
ActionId = actionId;
|
|
BindingIndex = bindingIndex;
|
|
Path = path ?? string.Empty;
|
|
PreviousPath = previousPath ?? string.Empty;
|
|
}
|
|
|
|
public RebindStatus Status { get; }
|
|
|
|
public InputContextId ContextId { get; }
|
|
|
|
public InputActionId ActionId { get; }
|
|
|
|
public int BindingIndex { get; }
|
|
|
|
public string Path { get; }
|
|
|
|
public string PreviousPath { get; }
|
|
}
|
|
}
|