C# Class tdsm.core.Messages.MessageDispatcher

Afficher le fichier Open project: DeathCradle/Terraria-s-Dedicated-Server-Mod

Méthodes publiques

Méthode Description
Dispatch ( ClientConnection conn, byte readBuffer, int start, int length ) : void

Private Methods

Méthode Description
GetMessageArray ( ) : tdsm.core.Messages.MessageHandler[]

Load all IMessage types into an indexed array at application start. This should allow us to process Events extremely quickly while cutting down on how much code we have to hold in our head to understand each Event.

Method Details

Dispatch() public static méthode

public static Dispatch ( ClientConnection conn, byte readBuffer, int start, int length ) : void
conn ClientConnection
readBuffer byte
start int
length int
Résultat void