示例#1
0
            // ReSharper disable once InconsistentNaming
            private static void Postfix(Minimap __instance)
            {
                if (LatestClosestPin == null)
                {
                    return;
                }

                var clientPin = UtilityPin.GetClientPin(LatestClosestPin);

                if (clientPin == null)
                {
                    return;
                }

                RemovePinFromServer(clientPin);
            }
示例#2
0
            // ReSharper disable once InconsistentNaming
            private static void Postfix(Minimap __instance)
            {
                if (LatestClosestPin == null)
                {
                    return;
                }

                var clientPin = UtilityPin.GetClientPin(LatestClosestPin);

                if (clientPin == null)
                {
                    return;
                }

                clientPin.Checked = LatestClosestPin.m_checked;

                CheckPinOnServer(clientPin, clientPin.Checked);
            }