-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathObjectsGrpc.cs
More file actions
executable file
·1011 lines (970 loc) · 74.4 KB
/
ObjectsGrpc.cs
File metadata and controls
executable file
·1011 lines (970 loc) · 74.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: objects/objects.proto
// </auto-generated>
#pragma warning disable 0414, 1591
#region Designer generated code
using grpc = global::Grpc.Core;
namespace Mruv.Objects {
/// <summary>
///The MruV objects service provides procedures for game objects.
/// </summary>
public static partial class MruVObjectsService
{
static readonly string __ServiceName = "mruv.objects.MruVObjectsService";
static void __Helper_SerializeMessage(global::Google.Protobuf.IMessage message, grpc::SerializationContext context)
{
#if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION
if (message is global::Google.Protobuf.IBufferMessage)
{
context.SetPayloadLength(message.CalculateSize());
global::Google.Protobuf.MessageExtensions.WriteTo(message, context.GetBufferWriter());
context.Complete();
return;
}
#endif
context.Complete(global::Google.Protobuf.MessageExtensions.ToByteArray(message));
}
static class __Helper_MessageCache<T>
{
public static readonly bool IsBufferMessage = global::System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(global::Google.Protobuf.IBufferMessage)).IsAssignableFrom(typeof(T));
}
static T __Helper_DeserializeMessage<T>(grpc::DeserializationContext context, global::Google.Protobuf.MessageParser<T> parser) where T : global::Google.Protobuf.IMessage<T>
{
#if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION
if (__Helper_MessageCache<T>.IsBufferMessage)
{
return parser.ParseFrom(context.PayloadAsReadOnlySequence());
}
#endif
return parser.ParseFrom(context.PayloadAsNewBuffer());
}
static readonly grpc::Marshaller<global::Mruv.Objects.CreateObjectRequest> __Marshaller_mruv_objects_CreateObjectRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Objects.CreateObjectRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Objects.CreateObjectResponse> __Marshaller_mruv_objects_CreateObjectResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Objects.CreateObjectResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Objects.GetObjectRequest> __Marshaller_mruv_objects_GetObjectRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Objects.GetObjectRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Objects.GetObjectResponse> __Marshaller_mruv_objects_GetObjectResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Objects.GetObjectResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Objects.UpdateObjectRequest> __Marshaller_mruv_objects_UpdateObjectRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Objects.UpdateObjectRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Objects.UpdateObjectResponse> __Marshaller_mruv_objects_UpdateObjectResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Objects.UpdateObjectResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Objects.DeleteObjectRequest> __Marshaller_mruv_objects_DeleteObjectRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Objects.DeleteObjectRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Objects.DeleteObjectResponse> __Marshaller_mruv_objects_DeleteObjectResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Objects.DeleteObjectResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Objects.AddObjectMaterialRequest> __Marshaller_mruv_objects_AddObjectMaterialRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Objects.AddObjectMaterialRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Objects.AddObjectMaterialResponse> __Marshaller_mruv_objects_AddObjectMaterialResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Objects.AddObjectMaterialResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Objects.GetObjectMaterialsRequest> __Marshaller_mruv_objects_GetObjectMaterialsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Objects.GetObjectMaterialsRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Objects.GetObjectMaterialsResponse> __Marshaller_mruv_objects_GetObjectMaterialsResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Objects.GetObjectMaterialsResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Objects.DeleteObjectMaterialRequest> __Marshaller_mruv_objects_DeleteObjectMaterialRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Objects.DeleteObjectMaterialRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Objects.DeleteObjectMaterialResponse> __Marshaller_mruv_objects_DeleteObjectMaterialResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Objects.DeleteObjectMaterialResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Objects.AddObjectMaterialTextRequest> __Marshaller_mruv_objects_AddObjectMaterialTextRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Objects.AddObjectMaterialTextRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Objects.AddObjectMaterialTextResponse> __Marshaller_mruv_objects_AddObjectMaterialTextResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Objects.AddObjectMaterialTextResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Objects.GetObjectMaterialTextsRequest> __Marshaller_mruv_objects_GetObjectMaterialTextsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Objects.GetObjectMaterialTextsRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Objects.GetObjectMaterialTextsResponse> __Marshaller_mruv_objects_GetObjectMaterialTextsResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Objects.GetObjectMaterialTextsResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Objects.DeleteObjectMaterialTextRequest> __Marshaller_mruv_objects_DeleteObjectMaterialTextRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Objects.DeleteObjectMaterialTextRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Objects.DeleteObjectMaterialTextResponse> __Marshaller_mruv_objects_DeleteObjectMaterialTextResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Objects.DeleteObjectMaterialTextResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Objects.AddRemoveBuildingRequest> __Marshaller_mruv_objects_AddRemoveBuildingRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Objects.AddRemoveBuildingRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Objects.AddRemoveBuildingResponse> __Marshaller_mruv_objects_AddRemoveBuildingResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Objects.AddRemoveBuildingResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Objects.GetRemovedBuildingsRequest> __Marshaller_mruv_objects_GetRemovedBuildingsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Objects.GetRemovedBuildingsRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Objects.GetRemovedBuildingsResponse> __Marshaller_mruv_objects_GetRemovedBuildingsResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Objects.GetRemovedBuildingsResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Objects.DeleteRemoveBuildingRequest> __Marshaller_mruv_objects_DeleteRemoveBuildingRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Objects.DeleteRemoveBuildingRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Objects.DeleteRemoveBuildingResponse> __Marshaller_mruv_objects_DeleteRemoveBuildingResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Objects.DeleteRemoveBuildingResponse.Parser));
static readonly grpc::Marshaller<global::Mruv.Objects.FetchAllObjectsRequest> __Marshaller_mruv_objects_FetchAllObjectsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Objects.FetchAllObjectsRequest.Parser));
static readonly grpc::Marshaller<global::Mruv.Objects.FetchAllObjectsResponse> __Marshaller_mruv_objects_FetchAllObjectsResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Mruv.Objects.FetchAllObjectsResponse.Parser));
static readonly grpc::Method<global::Mruv.Objects.CreateObjectRequest, global::Mruv.Objects.CreateObjectResponse> __Method_CreateObject = new grpc::Method<global::Mruv.Objects.CreateObjectRequest, global::Mruv.Objects.CreateObjectResponse>(
grpc::MethodType.Unary,
__ServiceName,
"CreateObject",
__Marshaller_mruv_objects_CreateObjectRequest,
__Marshaller_mruv_objects_CreateObjectResponse);
static readonly grpc::Method<global::Mruv.Objects.GetObjectRequest, global::Mruv.Objects.GetObjectResponse> __Method_GetObject = new grpc::Method<global::Mruv.Objects.GetObjectRequest, global::Mruv.Objects.GetObjectResponse>(
grpc::MethodType.Unary,
__ServiceName,
"GetObject",
__Marshaller_mruv_objects_GetObjectRequest,
__Marshaller_mruv_objects_GetObjectResponse);
static readonly grpc::Method<global::Mruv.Objects.UpdateObjectRequest, global::Mruv.Objects.UpdateObjectResponse> __Method_UpdateObject = new grpc::Method<global::Mruv.Objects.UpdateObjectRequest, global::Mruv.Objects.UpdateObjectResponse>(
grpc::MethodType.Unary,
__ServiceName,
"UpdateObject",
__Marshaller_mruv_objects_UpdateObjectRequest,
__Marshaller_mruv_objects_UpdateObjectResponse);
static readonly grpc::Method<global::Mruv.Objects.DeleteObjectRequest, global::Mruv.Objects.DeleteObjectResponse> __Method_DeleteObject = new grpc::Method<global::Mruv.Objects.DeleteObjectRequest, global::Mruv.Objects.DeleteObjectResponse>(
grpc::MethodType.Unary,
__ServiceName,
"DeleteObject",
__Marshaller_mruv_objects_DeleteObjectRequest,
__Marshaller_mruv_objects_DeleteObjectResponse);
static readonly grpc::Method<global::Mruv.Objects.AddObjectMaterialRequest, global::Mruv.Objects.AddObjectMaterialResponse> __Method_AddObjectMaterial = new grpc::Method<global::Mruv.Objects.AddObjectMaterialRequest, global::Mruv.Objects.AddObjectMaterialResponse>(
grpc::MethodType.Unary,
__ServiceName,
"AddObjectMaterial",
__Marshaller_mruv_objects_AddObjectMaterialRequest,
__Marshaller_mruv_objects_AddObjectMaterialResponse);
static readonly grpc::Method<global::Mruv.Objects.GetObjectMaterialsRequest, global::Mruv.Objects.GetObjectMaterialsResponse> __Method_GetObjectMaterials = new grpc::Method<global::Mruv.Objects.GetObjectMaterialsRequest, global::Mruv.Objects.GetObjectMaterialsResponse>(
grpc::MethodType.Unary,
__ServiceName,
"GetObjectMaterials",
__Marshaller_mruv_objects_GetObjectMaterialsRequest,
__Marshaller_mruv_objects_GetObjectMaterialsResponse);
static readonly grpc::Method<global::Mruv.Objects.DeleteObjectMaterialRequest, global::Mruv.Objects.DeleteObjectMaterialResponse> __Method_DeleteObjectMaterial = new grpc::Method<global::Mruv.Objects.DeleteObjectMaterialRequest, global::Mruv.Objects.DeleteObjectMaterialResponse>(
grpc::MethodType.Unary,
__ServiceName,
"DeleteObjectMaterial",
__Marshaller_mruv_objects_DeleteObjectMaterialRequest,
__Marshaller_mruv_objects_DeleteObjectMaterialResponse);
static readonly grpc::Method<global::Mruv.Objects.AddObjectMaterialTextRequest, global::Mruv.Objects.AddObjectMaterialTextResponse> __Method_AddObjectMaterialText = new grpc::Method<global::Mruv.Objects.AddObjectMaterialTextRequest, global::Mruv.Objects.AddObjectMaterialTextResponse>(
grpc::MethodType.Unary,
__ServiceName,
"AddObjectMaterialText",
__Marshaller_mruv_objects_AddObjectMaterialTextRequest,
__Marshaller_mruv_objects_AddObjectMaterialTextResponse);
static readonly grpc::Method<global::Mruv.Objects.GetObjectMaterialTextsRequest, global::Mruv.Objects.GetObjectMaterialTextsResponse> __Method_GetObjectMaterialTexts = new grpc::Method<global::Mruv.Objects.GetObjectMaterialTextsRequest, global::Mruv.Objects.GetObjectMaterialTextsResponse>(
grpc::MethodType.Unary,
__ServiceName,
"GetObjectMaterialTexts",
__Marshaller_mruv_objects_GetObjectMaterialTextsRequest,
__Marshaller_mruv_objects_GetObjectMaterialTextsResponse);
static readonly grpc::Method<global::Mruv.Objects.DeleteObjectMaterialTextRequest, global::Mruv.Objects.DeleteObjectMaterialTextResponse> __Method_DeleteObjectMaterialText = new grpc::Method<global::Mruv.Objects.DeleteObjectMaterialTextRequest, global::Mruv.Objects.DeleteObjectMaterialTextResponse>(
grpc::MethodType.Unary,
__ServiceName,
"DeleteObjectMaterialText",
__Marshaller_mruv_objects_DeleteObjectMaterialTextRequest,
__Marshaller_mruv_objects_DeleteObjectMaterialTextResponse);
static readonly grpc::Method<global::Mruv.Objects.AddRemoveBuildingRequest, global::Mruv.Objects.AddRemoveBuildingResponse> __Method_AddRemoveBuilding = new grpc::Method<global::Mruv.Objects.AddRemoveBuildingRequest, global::Mruv.Objects.AddRemoveBuildingResponse>(
grpc::MethodType.Unary,
__ServiceName,
"AddRemoveBuilding",
__Marshaller_mruv_objects_AddRemoveBuildingRequest,
__Marshaller_mruv_objects_AddRemoveBuildingResponse);
static readonly grpc::Method<global::Mruv.Objects.GetRemovedBuildingsRequest, global::Mruv.Objects.GetRemovedBuildingsResponse> __Method_GetRemovedBuildings = new grpc::Method<global::Mruv.Objects.GetRemovedBuildingsRequest, global::Mruv.Objects.GetRemovedBuildingsResponse>(
grpc::MethodType.Unary,
__ServiceName,
"GetRemovedBuildings",
__Marshaller_mruv_objects_GetRemovedBuildingsRequest,
__Marshaller_mruv_objects_GetRemovedBuildingsResponse);
static readonly grpc::Method<global::Mruv.Objects.DeleteRemoveBuildingRequest, global::Mruv.Objects.DeleteRemoveBuildingResponse> __Method_DeleteRemoveBuilding = new grpc::Method<global::Mruv.Objects.DeleteRemoveBuildingRequest, global::Mruv.Objects.DeleteRemoveBuildingResponse>(
grpc::MethodType.Unary,
__ServiceName,
"DeleteRemoveBuilding",
__Marshaller_mruv_objects_DeleteRemoveBuildingRequest,
__Marshaller_mruv_objects_DeleteRemoveBuildingResponse);
static readonly grpc::Method<global::Mruv.Objects.FetchAllObjectsRequest, global::Mruv.Objects.FetchAllObjectsResponse> __Method_FetchAllObjects = new grpc::Method<global::Mruv.Objects.FetchAllObjectsRequest, global::Mruv.Objects.FetchAllObjectsResponse>(
grpc::MethodType.ServerStreaming,
__ServiceName,
"FetchAllObjects",
__Marshaller_mruv_objects_FetchAllObjectsRequest,
__Marshaller_mruv_objects_FetchAllObjectsResponse);
/// <summary>Service descriptor</summary>
public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor
{
get { return global::Mruv.Objects.ObjectsReflection.Descriptor.Services[0]; }
}
/// <summary>Base class for server-side implementations of MruVObjectsService</summary>
[grpc::BindServiceMethod(typeof(MruVObjectsService), "BindService")]
public abstract partial class MruVObjectsServiceBase
{
/// <summary>
/// Create an object.
/// </summary>
/// <param name="request">The request received from the client.</param>
/// <param name="context">The context of the server-side call handler being invoked.</param>
/// <returns>The response to send back to the client (wrapped by a task).</returns>
public virtual global::System.Threading.Tasks.Task<global::Mruv.Objects.CreateObjectResponse> CreateObject(global::Mruv.Objects.CreateObjectRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// Get an object.
/// </summary>
/// <param name="request">The request received from the client.</param>
/// <param name="context">The context of the server-side call handler being invoked.</param>
/// <returns>The response to send back to the client (wrapped by a task).</returns>
public virtual global::System.Threading.Tasks.Task<global::Mruv.Objects.GetObjectResponse> GetObject(global::Mruv.Objects.GetObjectRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// Update an object.
/// </summary>
/// <param name="request">The request received from the client.</param>
/// <param name="context">The context of the server-side call handler being invoked.</param>
/// <returns>The response to send back to the client (wrapped by a task).</returns>
public virtual global::System.Threading.Tasks.Task<global::Mruv.Objects.UpdateObjectResponse> UpdateObject(global::Mruv.Objects.UpdateObjectRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// Delete an object.
/// </summary>
/// <param name="request">The request received from the client.</param>
/// <param name="context">The context of the server-side call handler being invoked.</param>
/// <returns>The response to send back to the client (wrapped by a task).</returns>
public virtual global::System.Threading.Tasks.Task<global::Mruv.Objects.DeleteObjectResponse> DeleteObject(global::Mruv.Objects.DeleteObjectRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// Add a material to existing object.
/// </summary>
/// <param name="request">The request received from the client.</param>
/// <param name="context">The context of the server-side call handler being invoked.</param>
/// <returns>The response to send back to the client (wrapped by a task).</returns>
public virtual global::System.Threading.Tasks.Task<global::Mruv.Objects.AddObjectMaterialResponse> AddObjectMaterial(global::Mruv.Objects.AddObjectMaterialRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// Get all object materials.
/// </summary>
/// <param name="request">The request received from the client.</param>
/// <param name="context">The context of the server-side call handler being invoked.</param>
/// <returns>The response to send back to the client (wrapped by a task).</returns>
public virtual global::System.Threading.Tasks.Task<global::Mruv.Objects.GetObjectMaterialsResponse> GetObjectMaterials(global::Mruv.Objects.GetObjectMaterialsRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// Delete a material assigned to an object.
/// </summary>
/// <param name="request">The request received from the client.</param>
/// <param name="context">The context of the server-side call handler being invoked.</param>
/// <returns>The response to send back to the client (wrapped by a task).</returns>
public virtual global::System.Threading.Tasks.Task<global::Mruv.Objects.DeleteObjectMaterialResponse> DeleteObjectMaterial(global::Mruv.Objects.DeleteObjectMaterialRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// Add a material text to existing object.
/// </summary>
/// <param name="request">The request received from the client.</param>
/// <param name="context">The context of the server-side call handler being invoked.</param>
/// <returns>The response to send back to the client (wrapped by a task).</returns>
public virtual global::System.Threading.Tasks.Task<global::Mruv.Objects.AddObjectMaterialTextResponse> AddObjectMaterialText(global::Mruv.Objects.AddObjectMaterialTextRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// Get all object material texts.
/// </summary>
/// <param name="request">The request received from the client.</param>
/// <param name="context">The context of the server-side call handler being invoked.</param>
/// <returns>The response to send back to the client (wrapped by a task).</returns>
public virtual global::System.Threading.Tasks.Task<global::Mruv.Objects.GetObjectMaterialTextsResponse> GetObjectMaterialTexts(global::Mruv.Objects.GetObjectMaterialTextsRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// Delete a material text assigned to an object.
/// </summary>
/// <param name="request">The request received from the client.</param>
/// <param name="context">The context of the server-side call handler being invoked.</param>
/// <returns>The response to send back to the client (wrapped by a task).</returns>
public virtual global::System.Threading.Tasks.Task<global::Mruv.Objects.DeleteObjectMaterialTextResponse> DeleteObjectMaterialText(global::Mruv.Objects.DeleteObjectMaterialTextRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// Removes a object from GTA SA map.
/// </summary>
/// <param name="request">The request received from the client.</param>
/// <param name="context">The context of the server-side call handler being invoked.</param>
/// <returns>The response to send back to the client (wrapped by a task).</returns>
public virtual global::System.Threading.Tasks.Task<global::Mruv.Objects.AddRemoveBuildingResponse> AddRemoveBuilding(global::Mruv.Objects.AddRemoveBuildingRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// Get all removed objects.
/// </summary>
/// <param name="request">The request received from the client.</param>
/// <param name="context">The context of the server-side call handler being invoked.</param>
/// <returns>The response to send back to the client (wrapped by a task).</returns>
public virtual global::System.Threading.Tasks.Task<global::Mruv.Objects.GetRemovedBuildingsResponse> GetRemovedBuildings(global::Mruv.Objects.GetRemovedBuildingsRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// Delete removed buildings.
/// </summary>
/// <param name="request">The request received from the client.</param>
/// <param name="context">The context of the server-side call handler being invoked.</param>
/// <returns>The response to send back to the client (wrapped by a task).</returns>
public virtual global::System.Threading.Tasks.Task<global::Mruv.Objects.DeleteRemoveBuildingResponse> DeleteRemoveBuilding(global::Mruv.Objects.DeleteRemoveBuildingRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// Fetch all existing objects.
/// </summary>
/// <param name="request">The request received from the client.</param>
/// <param name="responseStream">Used for sending responses back to the client.</param>
/// <param name="context">The context of the server-side call handler being invoked.</param>
/// <returns>A task indicating completion of the handler.</returns>
public virtual global::System.Threading.Tasks.Task FetchAllObjects(global::Mruv.Objects.FetchAllObjectsRequest request, grpc::IServerStreamWriter<global::Mruv.Objects.FetchAllObjectsResponse> responseStream, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
}
/// <summary>Client for MruVObjectsService</summary>
public partial class MruVObjectsServiceClient : grpc::ClientBase<MruVObjectsServiceClient>
{
/// <summary>Creates a new client for MruVObjectsService</summary>
/// <param name="channel">The channel to use to make remote calls.</param>
public MruVObjectsServiceClient(grpc::ChannelBase channel) : base(channel)
{
}
/// <summary>Creates a new client for MruVObjectsService that uses a custom <c>CallInvoker</c>.</summary>
/// <param name="callInvoker">The callInvoker to use to make remote calls.</param>
public MruVObjectsServiceClient(grpc::CallInvoker callInvoker) : base(callInvoker)
{
}
/// <summary>Protected parameterless constructor to allow creation of test doubles.</summary>
protected MruVObjectsServiceClient() : base()
{
}
/// <summary>Protected constructor to allow creation of configured clients.</summary>
/// <param name="configuration">The client configuration.</param>
protected MruVObjectsServiceClient(ClientBaseConfiguration configuration) : base(configuration)
{
}
/// <summary>
/// Create an object.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Objects.CreateObjectResponse CreateObject(global::Mruv.Objects.CreateObjectRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return CreateObject(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Create an object.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Objects.CreateObjectResponse CreateObject(global::Mruv.Objects.CreateObjectRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_CreateObject, null, options, request);
}
/// <summary>
/// Create an object.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Objects.CreateObjectResponse> CreateObjectAsync(global::Mruv.Objects.CreateObjectRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return CreateObjectAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Create an object.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Objects.CreateObjectResponse> CreateObjectAsync(global::Mruv.Objects.CreateObjectRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_CreateObject, null, options, request);
}
/// <summary>
/// Get an object.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Objects.GetObjectResponse GetObject(global::Mruv.Objects.GetObjectRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetObject(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Get an object.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Objects.GetObjectResponse GetObject(global::Mruv.Objects.GetObjectRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_GetObject, null, options, request);
}
/// <summary>
/// Get an object.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Objects.GetObjectResponse> GetObjectAsync(global::Mruv.Objects.GetObjectRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetObjectAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Get an object.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Objects.GetObjectResponse> GetObjectAsync(global::Mruv.Objects.GetObjectRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_GetObject, null, options, request);
}
/// <summary>
/// Update an object.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Objects.UpdateObjectResponse UpdateObject(global::Mruv.Objects.UpdateObjectRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return UpdateObject(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Update an object.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Objects.UpdateObjectResponse UpdateObject(global::Mruv.Objects.UpdateObjectRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_UpdateObject, null, options, request);
}
/// <summary>
/// Update an object.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Objects.UpdateObjectResponse> UpdateObjectAsync(global::Mruv.Objects.UpdateObjectRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return UpdateObjectAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Update an object.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Objects.UpdateObjectResponse> UpdateObjectAsync(global::Mruv.Objects.UpdateObjectRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_UpdateObject, null, options, request);
}
/// <summary>
/// Delete an object.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Objects.DeleteObjectResponse DeleteObject(global::Mruv.Objects.DeleteObjectRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DeleteObject(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Delete an object.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Objects.DeleteObjectResponse DeleteObject(global::Mruv.Objects.DeleteObjectRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_DeleteObject, null, options, request);
}
/// <summary>
/// Delete an object.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Objects.DeleteObjectResponse> DeleteObjectAsync(global::Mruv.Objects.DeleteObjectRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DeleteObjectAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Delete an object.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Objects.DeleteObjectResponse> DeleteObjectAsync(global::Mruv.Objects.DeleteObjectRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_DeleteObject, null, options, request);
}
/// <summary>
/// Add a material to existing object.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Objects.AddObjectMaterialResponse AddObjectMaterial(global::Mruv.Objects.AddObjectMaterialRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return AddObjectMaterial(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Add a material to existing object.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Objects.AddObjectMaterialResponse AddObjectMaterial(global::Mruv.Objects.AddObjectMaterialRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_AddObjectMaterial, null, options, request);
}
/// <summary>
/// Add a material to existing object.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Objects.AddObjectMaterialResponse> AddObjectMaterialAsync(global::Mruv.Objects.AddObjectMaterialRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return AddObjectMaterialAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Add a material to existing object.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Objects.AddObjectMaterialResponse> AddObjectMaterialAsync(global::Mruv.Objects.AddObjectMaterialRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_AddObjectMaterial, null, options, request);
}
/// <summary>
/// Get all object materials.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Objects.GetObjectMaterialsResponse GetObjectMaterials(global::Mruv.Objects.GetObjectMaterialsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetObjectMaterials(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Get all object materials.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Objects.GetObjectMaterialsResponse GetObjectMaterials(global::Mruv.Objects.GetObjectMaterialsRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_GetObjectMaterials, null, options, request);
}
/// <summary>
/// Get all object materials.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Objects.GetObjectMaterialsResponse> GetObjectMaterialsAsync(global::Mruv.Objects.GetObjectMaterialsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetObjectMaterialsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Get all object materials.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Objects.GetObjectMaterialsResponse> GetObjectMaterialsAsync(global::Mruv.Objects.GetObjectMaterialsRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_GetObjectMaterials, null, options, request);
}
/// <summary>
/// Delete a material assigned to an object.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Objects.DeleteObjectMaterialResponse DeleteObjectMaterial(global::Mruv.Objects.DeleteObjectMaterialRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DeleteObjectMaterial(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Delete a material assigned to an object.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Objects.DeleteObjectMaterialResponse DeleteObjectMaterial(global::Mruv.Objects.DeleteObjectMaterialRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_DeleteObjectMaterial, null, options, request);
}
/// <summary>
/// Delete a material assigned to an object.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Objects.DeleteObjectMaterialResponse> DeleteObjectMaterialAsync(global::Mruv.Objects.DeleteObjectMaterialRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DeleteObjectMaterialAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Delete a material assigned to an object.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Objects.DeleteObjectMaterialResponse> DeleteObjectMaterialAsync(global::Mruv.Objects.DeleteObjectMaterialRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_DeleteObjectMaterial, null, options, request);
}
/// <summary>
/// Add a material text to existing object.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Objects.AddObjectMaterialTextResponse AddObjectMaterialText(global::Mruv.Objects.AddObjectMaterialTextRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return AddObjectMaterialText(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Add a material text to existing object.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Objects.AddObjectMaterialTextResponse AddObjectMaterialText(global::Mruv.Objects.AddObjectMaterialTextRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_AddObjectMaterialText, null, options, request);
}
/// <summary>
/// Add a material text to existing object.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Objects.AddObjectMaterialTextResponse> AddObjectMaterialTextAsync(global::Mruv.Objects.AddObjectMaterialTextRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return AddObjectMaterialTextAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Add a material text to existing object.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Objects.AddObjectMaterialTextResponse> AddObjectMaterialTextAsync(global::Mruv.Objects.AddObjectMaterialTextRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_AddObjectMaterialText, null, options, request);
}
/// <summary>
/// Get all object material texts.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Objects.GetObjectMaterialTextsResponse GetObjectMaterialTexts(global::Mruv.Objects.GetObjectMaterialTextsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetObjectMaterialTexts(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Get all object material texts.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Objects.GetObjectMaterialTextsResponse GetObjectMaterialTexts(global::Mruv.Objects.GetObjectMaterialTextsRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_GetObjectMaterialTexts, null, options, request);
}
/// <summary>
/// Get all object material texts.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Objects.GetObjectMaterialTextsResponse> GetObjectMaterialTextsAsync(global::Mruv.Objects.GetObjectMaterialTextsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetObjectMaterialTextsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Get all object material texts.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Objects.GetObjectMaterialTextsResponse> GetObjectMaterialTextsAsync(global::Mruv.Objects.GetObjectMaterialTextsRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_GetObjectMaterialTexts, null, options, request);
}
/// <summary>
/// Delete a material text assigned to an object.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Objects.DeleteObjectMaterialTextResponse DeleteObjectMaterialText(global::Mruv.Objects.DeleteObjectMaterialTextRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DeleteObjectMaterialText(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Delete a material text assigned to an object.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Objects.DeleteObjectMaterialTextResponse DeleteObjectMaterialText(global::Mruv.Objects.DeleteObjectMaterialTextRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_DeleteObjectMaterialText, null, options, request);
}
/// <summary>
/// Delete a material text assigned to an object.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Objects.DeleteObjectMaterialTextResponse> DeleteObjectMaterialTextAsync(global::Mruv.Objects.DeleteObjectMaterialTextRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DeleteObjectMaterialTextAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Delete a material text assigned to an object.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Objects.DeleteObjectMaterialTextResponse> DeleteObjectMaterialTextAsync(global::Mruv.Objects.DeleteObjectMaterialTextRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_DeleteObjectMaterialText, null, options, request);
}
/// <summary>
/// Removes a object from GTA SA map.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Objects.AddRemoveBuildingResponse AddRemoveBuilding(global::Mruv.Objects.AddRemoveBuildingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return AddRemoveBuilding(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Removes a object from GTA SA map.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Objects.AddRemoveBuildingResponse AddRemoveBuilding(global::Mruv.Objects.AddRemoveBuildingRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_AddRemoveBuilding, null, options, request);
}
/// <summary>
/// Removes a object from GTA SA map.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Objects.AddRemoveBuildingResponse> AddRemoveBuildingAsync(global::Mruv.Objects.AddRemoveBuildingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return AddRemoveBuildingAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Removes a object from GTA SA map.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Objects.AddRemoveBuildingResponse> AddRemoveBuildingAsync(global::Mruv.Objects.AddRemoveBuildingRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_AddRemoveBuilding, null, options, request);
}
/// <summary>
/// Get all removed objects.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Objects.GetRemovedBuildingsResponse GetRemovedBuildings(global::Mruv.Objects.GetRemovedBuildingsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetRemovedBuildings(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Get all removed objects.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Objects.GetRemovedBuildingsResponse GetRemovedBuildings(global::Mruv.Objects.GetRemovedBuildingsRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_GetRemovedBuildings, null, options, request);
}
/// <summary>
/// Get all removed objects.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Objects.GetRemovedBuildingsResponse> GetRemovedBuildingsAsync(global::Mruv.Objects.GetRemovedBuildingsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetRemovedBuildingsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Get all removed objects.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Objects.GetRemovedBuildingsResponse> GetRemovedBuildingsAsync(global::Mruv.Objects.GetRemovedBuildingsRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_GetRemovedBuildings, null, options, request);
}
/// <summary>
/// Delete removed buildings.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Objects.DeleteRemoveBuildingResponse DeleteRemoveBuilding(global::Mruv.Objects.DeleteRemoveBuildingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DeleteRemoveBuilding(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Delete removed buildings.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The response received from the server.</returns>
public virtual global::Mruv.Objects.DeleteRemoveBuildingResponse DeleteRemoveBuilding(global::Mruv.Objects.DeleteRemoveBuildingRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_DeleteRemoveBuilding, null, options, request);
}
/// <summary>
/// Delete removed buildings.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Objects.DeleteRemoveBuildingResponse> DeleteRemoveBuildingAsync(global::Mruv.Objects.DeleteRemoveBuildingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DeleteRemoveBuildingAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Delete removed buildings.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncUnaryCall<global::Mruv.Objects.DeleteRemoveBuildingResponse> DeleteRemoveBuildingAsync(global::Mruv.Objects.DeleteRemoveBuildingRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_DeleteRemoveBuilding, null, options, request);
}
/// <summary>
/// Fetch all existing objects.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
/// <param name="cancellationToken">An optional token for canceling the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncServerStreamingCall<global::Mruv.Objects.FetchAllObjectsResponse> FetchAllObjects(global::Mruv.Objects.FetchAllObjectsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return FetchAllObjects(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// Fetch all existing objects.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
/// <returns>The call object.</returns>
public virtual grpc::AsyncServerStreamingCall<global::Mruv.Objects.FetchAllObjectsResponse> FetchAllObjects(global::Mruv.Objects.FetchAllObjectsRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncServerStreamingCall(__Method_FetchAllObjects, null, options, request);
}
/// <summary>Creates a new instance of client from given <c>ClientBaseConfiguration</c>.</summary>
protected override MruVObjectsServiceClient NewInstance(ClientBaseConfiguration configuration)
{
return new MruVObjectsServiceClient(configuration);
}
}
/// <summary>Creates service definition that can be registered with a server</summary>
/// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
public static grpc::ServerServiceDefinition BindService(MruVObjectsServiceBase serviceImpl)
{
return grpc::ServerServiceDefinition.CreateBuilder()
.AddMethod(__Method_CreateObject, serviceImpl.CreateObject)
.AddMethod(__Method_GetObject, serviceImpl.GetObject)
.AddMethod(__Method_UpdateObject, serviceImpl.UpdateObject)
.AddMethod(__Method_DeleteObject, serviceImpl.DeleteObject)
.AddMethod(__Method_AddObjectMaterial, serviceImpl.AddObjectMaterial)
.AddMethod(__Method_GetObjectMaterials, serviceImpl.GetObjectMaterials)
.AddMethod(__Method_DeleteObjectMaterial, serviceImpl.DeleteObjectMaterial)
.AddMethod(__Method_AddObjectMaterialText, serviceImpl.AddObjectMaterialText)
.AddMethod(__Method_GetObjectMaterialTexts, serviceImpl.GetObjectMaterialTexts)
.AddMethod(__Method_DeleteObjectMaterialText, serviceImpl.DeleteObjectMaterialText)
.AddMethod(__Method_AddRemoveBuilding, serviceImpl.AddRemoveBuilding)
.AddMethod(__Method_GetRemovedBuildings, serviceImpl.GetRemovedBuildings)
.AddMethod(__Method_DeleteRemoveBuilding, serviceImpl.DeleteRemoveBuilding)
.AddMethod(__Method_FetchAllObjects, serviceImpl.FetchAllObjects).Build();
}
/// <summary>Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
/// Note: this method is part of an experimental API that can change or be removed without any prior notice.</summary>
/// <param name="serviceBinder">Service methods will be bound by calling <c>AddMethod</c> on this object.</param>
/// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
public static void BindService(grpc::ServiceBinderBase serviceBinder, MruVObjectsServiceBase serviceImpl)
{
serviceBinder.AddMethod(__Method_CreateObject, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Mruv.Objects.CreateObjectRequest, global::Mruv.Objects.CreateObjectResponse>(serviceImpl.CreateObject));
serviceBinder.AddMethod(__Method_GetObject, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Mruv.Objects.GetObjectRequest, global::Mruv.Objects.GetObjectResponse>(serviceImpl.GetObject));
serviceBinder.AddMethod(__Method_UpdateObject, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Mruv.Objects.UpdateObjectRequest, global::Mruv.Objects.UpdateObjectResponse>(serviceImpl.UpdateObject));
serviceBinder.AddMethod(__Method_DeleteObject, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Mruv.Objects.DeleteObjectRequest, global::Mruv.Objects.DeleteObjectResponse>(serviceImpl.DeleteObject));
serviceBinder.AddMethod(__Method_AddObjectMaterial, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Mruv.Objects.AddObjectMaterialRequest, global::Mruv.Objects.AddObjectMaterialResponse>(serviceImpl.AddObjectMaterial));
serviceBinder.AddMethod(__Method_GetObjectMaterials, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Mruv.Objects.GetObjectMaterialsRequest, global::Mruv.Objects.GetObjectMaterialsResponse>(serviceImpl.GetObjectMaterials));
serviceBinder.AddMethod(__Method_DeleteObjectMaterial, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Mruv.Objects.DeleteObjectMaterialRequest, global::Mruv.Objects.DeleteObjectMaterialResponse>(serviceImpl.DeleteObjectMaterial));
serviceBinder.AddMethod(__Method_AddObjectMaterialText, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Mruv.Objects.AddObjectMaterialTextRequest, global::Mruv.Objects.AddObjectMaterialTextResponse>(serviceImpl.AddObjectMaterialText));