Example #1
0
        public static void Request_Entity_SetName(IdPlayfieldName arg, Action callback = null, Action <ErrorInfo> onError = null)
        {
            Action <CmdId, object> wiredCallback = null;

            if (callback != null)
            {
                wiredCallback = (_, val) => callback();
            }

            var apiCmd = new GenericAPICommand(
                CmdId.Request_Entity_SetName,
                arg,
                wiredCallback,
                onError ?? noOpErrorHandler
                );

            Broker.Execute(apiCmd);
        }
Example #2
0
 public async Task <bool> Request_Entity_SetName(IdPlayfieldName arg, CancellationToken ct)
 {
     return(await Broker.SendRequestAsync(CmdId.Request_Entity_SetName, arg, ct));
 }
Example #3
0
 public async Task <bool> Request_Entity_SetName(IdPlayfieldName arg)
 {
     return(await Broker.SendRequestAsync(CmdId.Request_Entity_SetName, arg));
 }
Example #4
0
 public void Request_Entity_SetName(IdPlayfieldName arg, Action callback = null, Action <ErrorInfo> onError = null)
 {
     Broker.Request_Entity_SetName(arg, callback, onError);
 }
Example #5
0
 public static Task <object> Request_Entity_SetName(IdPlayfieldName param)
 {
     return(Broker.CreateCommandWithArgAndReturn <IdPlayfieldName, object>(CmdId.Request_Entity_SetName, param));
 }
Example #6
0
 public static Task <object> Request_Entity_SetName(IdPlayfieldName param, Action callback, Action <ErrorInfo> onError = null)
 {
     return(Broker.CreateCommandWithArgAndReturn <IdPlayfieldName, object>(CmdId.Request_Entity_SetName, param, callback, onError));
 }