Decompiled by Jad v1 8e Copyright 2001 Pavel Kouznetsov Jad home page

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: packimports(3)
// Source File Name: Message_Screenshot_Response.java
package net.eahraeh.Screener;
import cpw.mods.fml.common.network.simpleimpl.*;
import io.netty.buffer.ByteBuf;
public class Message_Screenshot_Response
implements IMessage
{
public static class Handler
implements IMessageHandler
{
public IMessage onMessage(Message_Screenshot_Response msg, MessageContext ctx)
{
return null;
}
public volatile IMessage onMessage(IMessage imessage, MessageContext messagecontext)
{
return onMessage((Message_Screenshot_Response)imessage, messagecontext);
}
public Handler()
{
}
}
public Message_Screenshot_Response(int totalParts, int partIndex, ByteBuf bytes)
{
this.totalParts = totalParts;
this.partIndex = partIndex;
this.bytes = bytes;
}
public Message_Screenshot_Response()
{
}
public void fromBytes(ByteBuf bytebuf)
{
}
public void toBytes(ByteBuf buf)
{
buf.writeByte(totalParts);
buf.writeByte(partIndex);
buf.writeBytes(bytes);
}
public static final int MAX_PAYLOAD_SIZE = 32763;
private int totalParts;
private int partIndex;
private ByteBuf bytes;
}