This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DateTime dt = new DateTime(1970,1,1,0,0,0,0); | |
dt = dt.AddSeconds(timestamp).ToDateFormatOfYourChoice(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"privilege_id": , "password":, "email":, "first_name":, "last_name":, "mobile_number":} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (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; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"membershipType":"1","characterId":"2305843009215890708","itemId":"6917529040445857937"} |
OlderNewer