| | 1 | |
|
| | 2 | | // AUTOGENERATED, DO NOT EDIT |
| | 3 | | // Type definitions for server implementations of ports. |
| | 4 | | // package: decentraland.bff |
| | 5 | | // file: decentraland/bff/comms_director_service.proto |
| | 6 | | using Cysharp.Threading.Tasks; |
| | 7 | | using rpc_csharp; |
| | 8 | | using Google.Protobuf.WellKnownTypes; |
| | 9 | |
|
| | 10 | | namespace Decentraland.Bff { |
| | 11 | | public class ClientCommsDirectorService |
| | 12 | | { |
| | 13 | | private readonly RpcClientModule module; |
| | 14 | |
|
| 0 | 15 | | public ClientCommsDirectorService(RpcClientModule module) |
| | 16 | | { |
| 0 | 17 | | this.module = module; |
| 0 | 18 | | } |
| | 19 | |
|
| | 20 | | public UniTask<Empty> SendHeartbeat(Heartbeat request) |
| | 21 | | { |
| 0 | 22 | | return module.CallUnaryProcedure<Empty>("SendHeartbeat", request); |
| | 23 | | } |
| | 24 | |
|
| | 25 | | public IUniTaskAsyncEnumerable<WorldCommand> GetCommsCommands(Empty request) |
| | 26 | | { |
| 0 | 27 | | return module.CallServerStream<WorldCommand>("GetCommsCommands", request); |
| | 28 | | } |
| | 29 | | } |
| | 30 | | } |