private void RegisterMessageParsers() { using (ILogMethod method = Log.LogMethod("", ".cctor()")) { try { IFFParser parser1 = new FFParser_Msg_MC300_H2G_1(this) { TargetParser = this.TargetParser }; IFFParser parser2 = new FFParser_Msg_MC300_H2G_2(this) { TargetParser = this.TargetParser }; IFFParser parser3 = new FFParser_Msg_MC300_H2G_3(this) { TargetParser = this.TargetParser }; this.AddBufferEntityParser((int)-1, -1, parser1); this.AddBufferEntityParser((int)FF_GmuId_H2G_PollCodes._RESERVED, (int)FF_AppId_H2G_PollCodes._RESERVED, parser1); this.AddBufferEntityParser((int)FF_GmuId_H2G_PollCodes.BonusPointMultiplier, (int)FF_AppId_H2G_PollCodes.BonusPointMultiplier, parser1); this.AddBufferEntityParser((int)FF_GmuId_H2G_PollCodes.ConditionalDisplay, (int)FF_AppId_H2G_PollCodes.ConditionalDisplay, parser1); this.AddBufferEntityParser((int)FF_GmuId_H2G_PollCodes.ConditionalForcedExceptionCode, (int)FF_AppId_H2G_PollCodes.ConditionalForcedExceptionCode, parser1); this.AddBufferEntityParser((int)FF_GmuId_H2G_PollCodes.ECash, (int)FF_AppId_H2G_PollCodes.ECash, parser1); this.AddBufferEntityParser((int)FF_GmuId_H2G_PollCodes.ECashEnable, (int)FF_AppId_H2G_PollCodes.ECashEnable, parser1); this.AddBufferEntityParser((int)FF_GmuId_H2G_PollCodes.ForcedPeriodic, (int)FF_AppId_H2G_PollCodes.ForcedPeriodic, parser1); this.AddBufferEntityParser((int)FF_GmuId_H2G_PollCodes.Freeform2, (int)FF_AppId_H2G_PollCodes.Freeform2, parser2); this.AddBufferEntityParser((int)FF_GmuId_H2G_PollCodes.Freeform2Poll, (int)FF_AppId_H2G_PollCodes.Freeform2Poll, parser2); this.AddBufferEntityParser((int)FF_GmuId_H2G_PollCodes.Freeform2Resend, (int)FF_AppId_H2G_PollCodes.Freeform2Resend, parser2); this.AddBufferEntityParser((int)FF_GmuId_H2G_PollCodes.Freeform3NoResponse, (int)FF_AppId_H2G_PollCodes.Freeform3NoResponse, parser3); this.AddBufferEntityParser((int)FF_GmuId_H2G_PollCodes.Freeform3Response, (int)FF_AppId_H2G_PollCodes.Freeform3Response, parser3); this.AddBufferEntityParser((int)FF_GmuId_H2G_PollCodes.FreeformNoResponse, (int)FF_AppId_H2G_PollCodes.FreeformNoResponse, parser1); this.AddBufferEntityParser((int)FF_GmuId_H2G_PollCodes.FreeformResponse, (int)FF_AppId_H2G_PollCodes.FreeformResponse, parser1); this.AddBufferEntityParser((int)FF_GmuId_H2G_PollCodes.JackpotResponse, (int)FF_AppId_H2G_PollCodes.JackpotResponse, parser1); this.AddBufferEntityParser((int)FF_GmuId_H2G_PollCodes.None, (int)FF_AppId_H2G_PollCodes.None, parser1); this.AddBufferEntityParser((int)FF_GmuId_H2G_PollCodes.Poll, (int)FF_AppId_H2G_PollCodes.Poll, parser1); this.AddBufferEntityParser((int)FF_GmuId_H2G_PollCodes.PollNews, (int)FF_AppId_H2G_PollCodes.PollNews, parser1); this.AddBufferEntityParser((int)FF_GmuId_H2G_PollCodes.Promo, (int)FF_AppId_H2G_PollCodes.Promo, parser1); this.AddBufferEntityParser((int)FF_GmuId_H2G_PollCodes.TransportACK, (int)FF_AppId_H2G_PollCodes.TransportACK, parser1); this.AddBufferEntityParser((int)FF_GmuId_H2G_PollCodes.TransportACKDelayedOrPlayerInfo, (int)FF_AppId_H2G_PollCodes.TransportACKDelayedOrPlayerInfo, parser1); this.AddBufferEntityParser((int)FF_GmuId_H2G_PollCodes.TransportNACK, (int)FF_AppId_H2G_PollCodes.TransportNACK, parser1); } catch (Exception ex) { method.Exception(ex); } } }