23 lines
869 B
TypeScript
23 lines
869 B
TypeScript
// Content/UE/EnhancedInputLocalPlayerSubsystem.ts
|
|
|
|
import type { InputMappingContext } from '/Content/UE/InputMappingContext.ts';
|
|
import type { Integer } from '/Content/UE/Integer.ts';
|
|
import { LocalPlayerSubsystem } from '/Content/UE/LocalPlayerSubsystem.ts';
|
|
import { ModifyContextOptions } from '/Content/UE/ModifyContextOptions.ts';
|
|
import { Name } from '/Content/UE/Name.ts';
|
|
import { UEObject } from '/Content/UE/UEObject.ts';
|
|
|
|
export class EnhancedInputLocalPlayerSubsystem extends LocalPlayerSubsystem {
|
|
constructor(outer: UEObject | null = null, name: Name | string = Name.NONE) {
|
|
super(outer, name);
|
|
}
|
|
|
|
public AddMappingContext(
|
|
mappingContent: InputMappingContext,
|
|
priority: Integer = 0,
|
|
options: ModifyContextOptions = new ModifyContextOptions(true, false, false)
|
|
): void {
|
|
console.log(mappingContent, priority, options);
|
|
}
|
|
}
|