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
// 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: MessageRegistry.java
package net.eahraeh.Screener;
import cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper;
import cpw.mods.fml.relauncher.Side;
import java.io.PrintStream;
// Referenced classes of package net.eahraeh.Screener:
// Message_Screenshot_Request, Message_Screenshot_Response, Message_Screenshot_Display
public class MessageRegistry
{
public MessageRegistry()
{
}
public static int getNextPacketID()
{
packetID++;
return packetID;
}
public static void init(SimpleNetworkWrapper givenNetworkWrapper)
{
System.out.println("\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u043C \u043F\u0430\u043A\u0435\u0442\u044B");
givenNetworkWrapper.registerMessage(net/eahraeh/Screener/Message_Screenshot_Request$Handler, net/eahraeh/Screener/Message_Screenshot_Request, getNextPacketID(), Side.CLIENT);
givenNetworkWrapper.registerMessage(net/eahraeh/Screener/Message_Screenshot_Response$Handler, net/eahraeh/Screener/Message_Screenshot_Response, getNextPacketID(), Side.SERVER);
givenNetworkWrapper.registerMessage(net/eahraeh/Screener/Message_Screenshot_Display$Handler, net/eahraeh/Screener/Message_Screenshot_Display, getNextPacketID(), Side.CLIENT);
}
public static int packetID = -1;
}