protected override void SendRequestOrObservation(string destCh, ApianMessage msg) { if ((msg.MsgType == ApianMessage.CliObservation) && (ApianGroup?.GroupCreatorId != GameNet.LocalP2pId())) { Logger.Debug($"SendRequestOrObservation() We are not server, so don't send observations."); return; } base.SendRequestOrObservation(destCh, msg); // let this filter it too }
public static string GetSubType(ApianMessage msg) { return(subTypeExtractor[msg.MsgType](msg)); }