Exemplo n.º 1
0
        // Token: 0x06000689 RID: 1673 RVA: 0x0001FEB4 File Offset: 0x0001E0B4
        public static void Send(string message, params object[] args)
        {
            global::SteamVR_Utils.Event.Handler handler = global::SteamVR_Utils.Event.listeners[message] as global::SteamVR_Utils.Event.Handler;
            bool flag = handler != null;

            if (flag)
            {
                handler(args);
            }
        }
Exemplo n.º 2
0
        // Token: 0x06000688 RID: 1672 RVA: 0x0001FE70 File Offset: 0x0001E070
        public static void Remove(string message, global::SteamVR_Utils.Event.Handler action)
        {
            global::SteamVR_Utils.Event.Handler handler = global::SteamVR_Utils.Event.listeners[message] as global::SteamVR_Utils.Event.Handler;
            bool flag = handler != null;

            if (flag)
            {
                global::SteamVR_Utils.Event.listeners[message] = (global::SteamVR_Utils.Event.Handler)global::System.Delegate.Remove(handler, action);
            }
        }