예제 #1
0
        public void InvokePlayerLocalReport(PlayerLocalReportEvent ev, NPServer server)
        {
            PlayerLocalReport.InvokeSafely(ev);

            if (!AddonInstances.TryGetValue(server, out IAddonDedicated <IConfig, IConfig> addon))
            {
                return;
            }

            addon.InvokePlayerLocalReport(ev);
        }
 public void InvokePlayerLocalReport(PlayerLocalReportEvent ev) => PlayerLocalReport.InvokeSafely(ev);