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
<?php | |
error_reporting(E_ALL | E_STRICT); | |
ini_set('display_errors', 'On'); | |
DEFINE("COMMIT_BASED_COLOURS", True); | |
$json = file_get_contents('php://input'); | |
$action = json_decode($json, true); |
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
class DebugLogger : DiscordRPC.Logging.ILogger | |
{ | |
public LogLevel Level { get; set; } | |
public void Info(string message, params object[] args) | |
{ | |
if (Level != LogLevel.Info) return; | |
Debug.Log("[DRPC] " + string.Format(message, args)); | |
} |
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
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.IO; | |
using UnityEditor; | |
using UnityEngine; | |
[InitializeOnLoad] | |
public class DiscordNativeInstall { | |
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 Packet | |
{ | |
public int ID { get; set; } | |
public string Body { get; set; } | |
public PacketType Type { get; set; } | |
public enum PacketType | |
{ | |
ServerdataAuth = 3, | |
ServerdataAuthResponse = 2, | |
ServerdataExecuteCommand = 2, |
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
using UnityEngine; | |
using Vuforia; | |
[RequireComponent(typeof(AudioSource))] | |
public class ImageTargetAudioSource : MonoBehaviour, ITrackableEventHandler | |
{ | |
[Tooltip("The AudioSource to be activated when the object becomes tracked.")] | |
public AudioSource audioSource; | |
private TrackableBehaviour mTrackableBehaviour; | |
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
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Linq; | |
using System.Text; | |
using System.Text.RegularExpressions; | |
using System.Threading.Tasks; | |
namespace ApkRun | |
{ |
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
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
namespace Lachee.Collections | |
{ | |
/// <summary> | |
/// A randomised list. It will store a collection of values with specified weights and provide functionallity to select randomly from the list. | |
/// </summary> | |
/// <typeparam name="T">Type to store as the value.</typeparam> |
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
using UnityEngine; | |
namespace Mirror | |
{ | |
[DisallowMultipleComponent] | |
[AddComponentMenu("Network/NetworkRigidbody2D")] | |
[RequireComponent(typeof(Rigidbody2D))] | |
public class NetworkRigidbody2D : NetworkBehaviour | |
{ | |
private const int BUFFER_SIZE = 50; |
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
using Lachee.IO.Exceptions; | |
using System; | |
using System.IO; | |
using System.Runtime.InteropServices; | |
namespace Lachee.IO | |
{ | |
public class NamedPipeClientStream : System.IO.Stream | |
{ | |
private IntPtr ptr; |
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
using Starwatch.Logging; | |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Security.Cryptography.X509Certificates; | |
using System.Text; | |
namespace Starwatch.API | |
{ | |
class CertificateFactory |
OlderNewer