use godot::prelude::*; mod ui; struct MyExtension; #[gdextension] unsafe impl ExtensionLibrary for MyExtension {} #[derive(GodotClass)] #[class(base=Node)] struct NetworkManager { base: Base, } #[godot_api] impl INode for NetworkManager { fn init(base: Base) -> Self { NetworkManager { base } } }