mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2025-01-31 12:52:36 +01:00
Updated Extensions (markdown)
This commit is contained in:
parent
f240a8c22e
commit
f8406849bd
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user