< Summary

Class:RPC.Services.EmotesRendererServiceImpl
Assembly:RPC.Services.Emotes
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/WorldRuntime/KernelCommunication/RPC/Services/EmotesService/EmotesRendererServiceImpl.cs
Covered lines:0
Uncovered lines:6
Coverable lines:6
Total lines:22
Line coverage:0% (0 of 6)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
RegisterService(...)0%2100%
TriggerSelfUserExpression()0%12300%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/WorldRuntime/KernelCommunication/RPC/Services/EmotesService/EmotesRendererServiceImpl.cs

#LineLine coverage
 1using System.Threading;
 2using Cysharp.Threading.Tasks;
 3using Decentraland.Renderer.RendererServices;
 4using rpc_csharp;
 5
 6namespace RPC.Services
 7{
 8    public class EmotesRendererServiceImpl : IEmotesRendererService<RPCContext>
 9    {
 10        public static void RegisterService(RpcServerPort<RPCContext> port)
 11        {
 012            EmotesRendererServiceCodeGen.RegisterService(port, new EmotesRendererServiceImpl());
 013        }
 14
 15        public async UniTask<TriggerSelfUserExpressionResponse> TriggerSelfUserExpression(TriggerSelfUserExpressionReque
 16        {
 017            await UniTask.SwitchToMainThread(ct);
 018            UserProfile.GetOwnUserProfile().SetAvatarExpression(request.Id, UserProfile.EmoteSource.Command);
 019            return default;
 020        }
 21    }
 22}