/// <summary> /// Creates an procedure called by a remote client that can be polled by the server /// </summary> /// <remarks> /// Note that this can only be called by a server. /// </remarks> /// <param name="name">The name for this Rpc</param> /// <param name="def">The definition for this Rpc</param> public static void CreatePolledRpc(string name, IList <byte> def) { #if CORE CoreMethods.CreatePolledRpc(name, def); #else Storage.Instance.CreatePolledRpc(name, def); #endif }