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); }
public async Task <bool> Request_Entity_SetName(IdPlayfieldName arg, CancellationToken ct) { return(await Broker.SendRequestAsync(CmdId.Request_Entity_SetName, arg, ct)); }
public async Task <bool> Request_Entity_SetName(IdPlayfieldName arg) { return(await Broker.SendRequestAsync(CmdId.Request_Entity_SetName, arg)); }
public void Request_Entity_SetName(IdPlayfieldName arg, Action callback = null, Action <ErrorInfo> onError = null) { Broker.Request_Entity_SetName(arg, callback, onError); }
public static Task <object> Request_Entity_SetName(IdPlayfieldName param) { return(Broker.CreateCommandWithArgAndReturn <IdPlayfieldName, object>(CmdId.Request_Entity_SetName, param)); }
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)); }