23 lines
843 B
TypeScript
23 lines
843 B
TypeScript
// UE/EnhancedInputLocalPlayerSubsystem.ts
|
|
|
|
import type { InputMappingContext } from '#root/UE/InputMappingContext.ts';
|
|
import type { Integer } from '#root/UE/Integer.ts';
|
|
import { LocalPlayerSubsystem } from '#root/UE/LocalPlayerSubsystem.ts';
|
|
import { ModifyContextOptions } from '#root/UE/ModifyContextOptions.ts';
|
|
import { Name } from '#root/UE/Name.ts';
|
|
import { UEObject } from '#root/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);
|
|
}
|
|
}
|