0.2.0-dev Download ZIP
23 lines ·605 B Raw
| 1 | using EvilEngine.Formats.Maps; |
| 2 | using EvilEngine.Host.Views; |
| 3 | |
| 4 | namespace EvilEngine.Host.Sessions; |
| 5 | |
| 6 | public sealed record ServerFlashlight |
| 7 | { |
| 8 | public static readonly ServerFlashlight Default = new(); |
| 9 | |
| 10 | public double Range { get; init; } = Flashlight.Reach; |
| 11 | |
| 12 | public double Angle { get; init; } = Flashlight.Cone; |
| 13 | |
| 14 | public double Intensity { get; init; } = Flashlight.Intensity; |
| 15 | |
| 16 | public double Falloff { get; init; } = Flashlight.Falloff; |
| 17 | |
| 18 | public MapVector Colour { get; init; } = new(1, 1, 1); |
| 19 | |
| 20 | public bool Cookie { get; init; } = true; |
| 21 | |
| 22 | public bool Click { get; init; } = true; |
| 23 | } |