Updated Extensions (markdown)

This commit is contained in:
sirjonasxx 2019-01-02 18:50:46 +01:00
parent f240a8c22e
commit f8406849bd

View File

@ -152,6 +152,14 @@ protected void onStartConnection() {
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.
```java
@Override
protected void onClick() {
// the user clicked this extension! I must do something relevant here
}
```
### HashSupport
_HashSupport_ allows us to use hashes/names in order to intercept and send packets, using the aforementioned methods.