// WingsEmu // // Developed by NosWings Team using System.Collections.Generic; using System.ServiceModel; using System.Threading.Tasks; using ProtoBuf; using WingsAPI.Data.GameData; namespace WingsAPI.Communication.Translations { [ServiceContract] public interface ITranslationService { [OperationContract] Task GetTranslations(EmptyRpcRequest rpcRequest); [OperationContract] Task GetForbiddenWords(EmptyRpcRequest rpcRequest); } [ProtoContract] public class GetTranslationsResponse { [ProtoMember(1)] public IReadOnlyList Translations { get; set; } } [ProtoContract] public class GetForbiddenWordsResponse { [ProtoMember(1)] public IReadOnlyList ForbiddenWords { get; set; } } }