mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-25 12:16:01 +01:00
Updated APIv5 DataExtension API (markdown)
parent
88b37d3c70
commit
2f95021907
@ -39,11 +39,11 @@ There is a lot of functionality in the API so it might feel overwhelming at firs
|
||||
|
||||
<details><summary>3. Create a basic DataExtension</summary>
|
||||
|
||||
3.1. Create a new class that implements `DataExtension` interface.
|
||||
3.2. Add a `@PluginInfo` annotation that tells Plan information about your plugin. [PluginInfo Annotation](https://github.com/Rsl1122/Plan-PlayerAnalytics/wiki/APIv5---DataExtension-API#%E2%84%B9%EF%B8%8F-plugininfo-annotation)
|
||||
3.3. Add a constructor to access everything you need to access your plugin's data.
|
||||
3.4. Add a `@___Provider` annotation and a method that returns data from your plugin. [Provider Annotations](https://github.com/Rsl1122/Plan-PlayerAnalytics/wiki/APIv5---DataExtension-API#-provider-annotations)
|
||||
3.5 (Optional) Override `callExtensionMethodsOn` to choose when Plan calls the methods [More about when Plan calls the methods](https://github.com/plan-player-analytics/Plan/wiki/APIv5---DataExtension-API#-provider-annotations)
|
||||
- Create a new class that implements `DataExtension` interface.
|
||||
- Add a `@PluginInfo` annotation that tells Plan information about your plugin. [PluginInfo Annotation](https://github.com/Rsl1122/Plan-PlayerAnalytics/wiki/APIv5---DataExtension-API#%E2%84%B9%EF%B8%8F-plugininfo-annotation)
|
||||
- Add a constructor to access everything you need to access your plugin's data.
|
||||
- Add a `@___Provider` annotation and a method that returns data from your plugin. [Provider Annotations](https://github.com/Rsl1122/Plan-PlayerAnalytics/wiki/APIv5---DataExtension-API#-provider-annotations)
|
||||
- (Optional) Override `callExtensionMethodsOn` to choose when Plan calls the methods [More about when Plan calls the methods](https://github.com/plan-player-analytics/Plan/wiki/APIv5---DataExtension-API#-provider-annotations)
|
||||
|
||||
</details>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user