public static void HandleRequest(FireFrame fireframe) { switch (fireframe.GetCommand()) { case 0x1: HandleGetServerInstanceRequest(fireframe); break; default: Log.Warn(string.Format("Received an unhandled request: {0}::{1}.", fireframe.GetComponent(), fireframe.GetCommand())); break; } }
private static void HandleRequest(FireFrame fireframe) { switch (fireframe.GetComponent()) { case 0x5: RedirectorComponent.HandleRequest(fireframe); break; default: Log.Warn(string.Format("Received an unhandled request: {0}::{1}.", fireframe.GetComponent(), fireframe.GetCommand())); break; } }