BfmeFoundationProject.OnlineKit
1.9.0
dotnet add package BfmeFoundationProject.OnlineKit --version 1.9.0
NuGet\Install-Package BfmeFoundationProject.OnlineKit -Version 1.9.0
<PackageReference Include="BfmeFoundationProject.OnlineKit" Version="1.9.0" />
paket add BfmeFoundationProject.OnlineKit --version 1.9.0
#r "nuget: BfmeFoundationProject.OnlineKit, 1.9.0"
// Install BfmeFoundationProject.OnlineKit as a Cake Addin #addin nuget:?package=BfmeFoundationProject.OnlineKit&version=1.9.0 // Install BfmeFoundationProject.OnlineKit as a Cake Tool #tool nuget:?package=BfmeFoundationProject.OnlineKit&version=1.9.0
OnlineKit by Online Battle Arena Team
This project is part of the Bfme Foundation Project!
<a href="https://github.com/MarcellVokk/bfme-foundation-project"> <img src="https://img.shields.io/badge/GitHub-Foundation Project-lime"/> </a>
Welcome
Welcome to the official github repository of OnlineKit! This package provides everything you need to implement Online Battle Arena into your own project.
Get on NuGet
<a href="https://www.nuget.org/packages/BfmeFoundationProject.OnlineKit"> <img src="https://img.shields.io/nuget/v/BfmeFoundationProject.OnlineKit"/> </a>
Usage
- Install the
BfmeFoundationProject.OnlineKit
NuGet Package. - Reference the namespace in the desired XAML file (
xmlns:onlineKit="clr-namespace:BfmeFoundationProject.OnlineKit;assembly=BfmeFoundationProject.OnlineKit"
) - Add the
OnlineMenu
element to your design (<onlineKit:OnlineMenu x:Name="onlineMenu" AccessToken="{YOUR_APPLICATION_ACCESS_TOKEN}"/>
) - Enter your applications access token in the
AccessToken
field - Load Arena by calling the
Load()
function. You can optionaly pass in aBfmeGame game
as an argument. When Arena loads, this will be the initial game selected. - You can also unload Arena by calling the
Unload()
function
Updates
- Arena itself has an automatic update system, you don't have to worry about that
- Ensuring Online Kit is always up to date in your projects is your responsibility as a developer, but we will always try to reach out if an update is available!
- In the
UpdateBranch
field of the OnlineMenu element, you can specify which branch Arena should pull it's updates from. This is curently not used, we only have the main branch, but might be used to deliver experimental versions of Online Arena to users who opt in.
Access Tokens
- In order for your app to connect to our services and for Arena to work, you have to specify a valid Access Token in the
AccessToken
field of the OnlineMenu element. - You can obtain an Access Token by sending us an email at
bfme109team@gmail.com
. In your email, please include the name of your application, the name and contact info of the developer (or someone from your team who we can contact), and all other information about your application you can provide (screenshots, github links, project website, or even a build of your app). Every serious request will be reviewed individualy by us, and if we approve your request, we will send a followup email containing your Access Token. One Access Token is only allowed to be used by one application! - Every Access Token is associated with one specific application, and can be revoked - without any notice or explanation - by us at any time.
- Sharing your Access Token with someone, or using an Access Token that is not for your application, will result in your Access Token being revoked.
Examples
You can find a simple example made using WPF in this repository. Note: The example does not have a valid access token, so you won't be able to connect to the servers. This is normal.
Developed by the Online Battle Arena Team (Beterwell, MarcellVokk)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0-windows7.0 is compatible. |
-
net8.0-windows7.0
- BfmeFoundationProject.HttpInstruments (>= 1.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.9.0 | 76 | 11/6/2024 |
1.8.4 | 97 | 11/2/2024 |
1.8.3 | 79 | 11/2/2024 |
1.8.2 | 76 | 11/1/2024 |
1.8.1 | 79 | 10/23/2024 |
1.8.0 | 82 | 10/23/2024 |
1.7.9 | 97 | 10/20/2024 |
1.7.8 | 92 | 10/20/2024 |
1.7.7 | 96 | 10/20/2024 |
1.7.6 | 112 | 8/29/2024 |
1.7.5 | 241 | 8/10/2024 |
1.7.4 | 106 | 8/10/2024 |
1.7.3 | 116 | 8/10/2024 |
1.7.2 | 119 | 8/10/2024 |
1.7.1 | 118 | 8/10/2024 |