mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Handle forge handshake up to mod list sending.
This commit is contained in:
parent
7cc87d8e71
commit
b154639a6b
4 changed files with 234 additions and 83 deletions
23
MinecraftClient/Protocol/Handlers/Forge/FMLHandshakeClientState.cs
Executable file
23
MinecraftClient/Protocol/Handlers/Forge/FMLHandshakeClientState.cs
Executable 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
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue