Skip to content

Instantly share code, notes, and snippets.

@zhaojunmeng
zhaojunmeng / GAME_MASTER_v0_1.protobuf
Created July 20, 2016 09:03 — forked from anonymous/GAME_MASTER_v0_1.protobuf
Pokemon Go decoded GAME_MASTER protobuf file v0.1
Result: 1
Items {
TemplateId: "BADGE_BATTLE_ATTACK_WON"
Badge {
BadgeType: BADGE_BATTLE_ATTACK_WON
BadgeRanks: 4
Targets: "\nd\350\007"
}
}
Items {
@zhaojunmeng
zhaojunmeng / DownloadHandlerFileRange
Created December 23, 2021 11:53 — forked from TouiSoraHe/DownloadHandlerFileRange
UnityWebRequest实现断点续传下载
using UnityEngine.Networking;
using System.IO;
using System;
/// <summary>
/// 使用方式:
/// UnityWebRequest unityWebRequest = new UnityWebRequest("url");
/// unityWebRequest.downloadHandler = new DownloadHandlerFileRange("文件保存的路径", unityWebRequest);
/// unityWebRequest.SendWebRequest();
/// </summary>