Skip to content

Instantly share code, notes, and snippets.

//You can set a static image on the touchpad like this
//This
SharpBladeHelper.Manager.Touchpad.DrawBitmap(new Bitmap(@".\Resources\seantouchpad.png"));
//Example of setting a basic dynamic key
SharpBladeHelper.Manager.EnableDynamicKey(RazerAPI.DynamicKeyType.DK1, @".\Resources\seandynamickeyone.png");
//You can listen to all dynamic key events like this
SharpBladeHelper.Manager.DynamicKeyEvent += OnDynamicKeyEvent;
public class GeneralPersonaStats
{
public object timeDead { get; set; }
public KitMaxMeleeKillsInRound kitMaxMeleeKillsInRound { get; set; }
public int skill { get; set; }
public int elo { get; set; }
public int sc_award { get; set; }
public int revives { get; set; }
public KitLosses kitLosses { get; set; }
public object rushWlr { get; set; }
#if RAZER
using System.Windows;
using Sharparam.SharpBlade.Razer;
using Sharparam.SharpBlade.Native;
namespace BrandonScott.Razer.Battlefield.Lib
{
public static class SharpBladeHelper
{
private static RazerManager _manager;
void LOL_CALLBACK on_game_info(const lol_summoner_array *teammates, unsigned int teammates_array_size,
const lol_summoner_array *opponents, unsigned int opponents_array_size,
const lol_champion_array *team_banned_champions, unsigned int team_banned_champions_size,
const lol_champion_array *opponent_banned_champions, unsigned int opponent_banned_champions_size,
const char *adhoc_group_id)
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
public delegate void lol_services_callback_on_game_info(
ref lol_summoner_array teammates, uint teammates_array_size, ref lol_summoner_array opponents,
uint opponents_array_size, ref lol_champion_array team_banned_champions, uint team_banned_champions_size,
DateTime dt = new DateTime(1970,1,1,0,0,0,0);
dt = dt.AddSeconds(timestamp).ToDateFormatOfYourChoice();
{"privilege_id": , "password":, "email":, "first_name":, "last_name":, "mobile_number":}
What is the JDK and what is the JRE, what is the difference?
What does "static" mean?
What is overriding?
What is overloading?
What is a constructor?
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url
sourceApplication:(NSString *)sourceApplication annotation:(id)annotation
{
NabuDataManager *ndm = [NabuDataManager sharedDataManager];
[ndm validateURLResponse:url withBlock:^(NSDictionary *cb) {
NSLog([cb description]);
}];
return YES;
}
NabuNotification *nabuNotification = [[NabuNotification alloc] init];
nabuNotification.text = @"This is for testing only.";
nabuNotification.text1 = @"This line is for your eyes only.";
nabuNotification.text2 = @"The quick brown fox jumps over the lazy dog.";
nabuNotification.iconResId = @"smiley";
[[NabuDataManager sharedDataManager] sendNotificationToBand:nabuNotification withBlock:^(NSDictionary *cb) {
//code
NSLog(@"%@", [cb description]);
{"membershipType":"1","characterId":"2305843009215890708","itemId":"6917529040445857937"}