Dumpers.java 592 Bytes
Newer Older
Melledy's avatar
Melledy committed
1
2
3
4
5
6
7
8
9
package emu.grasscutter.tools;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

import emu.grasscutter.net.proto.GetGachaInfoRspOuterClass.GetGachaInfoRsp;
import emu.grasscutter.net.proto.GetShopRspOuterClass.GetShopRsp;

KingRainbow44's avatar
KingRainbow44 committed
10
public final class Dumpers {
Melledy's avatar
Melledy committed
11
12
13
14
15
16
17
18
19
20
	public static void extractBanner(byte[] data) throws Exception {
		GetGachaInfoRsp proto = GetGachaInfoRsp.parseFrom(data);
		System.out.println(proto);
	}
	
	public static void extractShop(byte[] data) throws Exception {
		GetShopRsp proto = GetShopRsp.parseFrom(data);
		System.out.println(proto);
	}
}