figuring a way of having a clean internal interface for the data and other stuff I reckon. I forgot
This commit is contained in:
@@ -45,7 +45,21 @@ type UIWindow struct {
|
||||
Title FString32 `yaml:"Title"`
|
||||
}
|
||||
|
||||
type DesktopUIWindow struct {
|
||||
UIWindow
|
||||
UIData DesktopUIData
|
||||
}
|
||||
|
||||
type DesktopUIData struct {
|
||||
IDX int16 `yaml:"WID"`
|
||||
TelemetryField string `yaml:"TelemetryField"`
|
||||
}
|
||||
|
||||
type UIWindowUpdatePacket struct {
|
||||
WinID int16
|
||||
Window UIWindow
|
||||
}
|
||||
|
||||
// func getUIWindowDTO(w *DesktopWindowData) *UIWindow {
|
||||
//
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user