< 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:4
Coverable lines:4
Total lines:20
Line coverage:0% (0 of 4)
Covered branches:0
Total branches:0

Metrics

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

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 rpc_csharp;
 4
 5namespace RPC.Services
 6{
 7    public class EmotesRendererServiceImpl : IEmotesRendererService<RPCContext>
 8    {
 9        public static void RegisterService(RpcServerPort<RPCContext> port)
 10        {
 011            EmotesRendererServiceCodeGen.RegisterService(port, new EmotesRendererServiceImpl());
 012        }
 13
 14        public UniTask<TriggerSelfUserExpressionResponse> TriggerSelfUserExpression(TriggerSelfUserExpressionRequest req
 15        {
 016            UserProfile.GetOwnUserProfile().SetAvatarExpression(request.Id, UserProfile.EmoteSource.Command);
 017            return default;
 18        }
 19    }
 20}