From f240a8c22e8fdb3bb991e0d5caba66ed2865fb94 Mon Sep 17 00:00:00 2001 From: sirjonasxx <36828922+sirjonasxx@users.noreply.github.com> Date: Wed, 2 Jan 2019 18:49:20 +0100 Subject: [PATCH] Updated Extensions (markdown) --- Extensions.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Extensions.md b/Extensions.md index a53ba77..190c0bb 100644 --- a/Extensions.md +++ b/Extensions.md @@ -148,6 +148,10 @@ protected void onStartConnection() { } ``` +### Minimalistic interaction; onClick + +If the _onClick_ method is overridden by your extension, G-Earth will display a green "Start" button next to your extension and the function will get called on-click. For form extensions, this option is automatically used to open the GUI. For non-gui extensions, this is an additional feature you could use. + ### HashSupport _HashSupport_ allows us to use hashes/names in order to intercept and send packets, using the aforementioned methods.