Handle forge handshake up to mod list sending.

This commit is contained in:
Pokechu22 2015-10-24 13:31:43 -07:00
parent 7cc87d8e71
commit b154639a6b
4 changed files with 234 additions and 83 deletions

View file

@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MinecraftClient.Protocol.Handlers.Forge
{
/// <summary>
/// Copy of the forge enum for client states.
/// https://github.com/MinecraftForge/MinecraftForge/blob/ebe9b6d4cbc4a5281c386994f1fbda04df5d2e1f/src/main/java/net/minecraftforge/fml/common/network/handshake/FMLHandshakeClientState.java
/// </summary>
enum FMLHandshakeClientState : byte
{
START,
HELLO,
WAITINGSERVERDATA,
WAITINGSERVERCOMPLETE,
PENDINGCOMPLETE,
COMPLETE,
DONE,
ERROR
}
}