< Summary

Class:DCL.DataStore_Player
Assembly:DataStore
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/DataStore/DataStore_Player.cs
Covered lines:7
Uncovered lines:0
Coverable lines:7
Total lines:18
Line coverage:100% (7 of 7)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
DataStore_Player()0%110100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/DataStore/DataStore_Player.cs

#LineLine coverage
 1using UnityEngine;
 2
 3namespace DCL
 4{
 5    public class DataStore_Player
 6    {
 7        // Current player position
 4988        public readonly BaseVariable<Vector2Int> playerGridPosition = new BaseVariable<Vector2Int>(Vector2Int.zero);
 4989        public readonly BaseVariable<Vector3> playerUnityPosition = new BaseVariable<Vector3>(Vector3.zero);
 49810        public readonly BaseVariable<Vector3> playerWorldPosition = new BaseVariable<Vector3>(Vector3.zero);
 11
 12        // NOTE: set when character is teleported (DCLCharacterController - Teleport)
 49813        public readonly BaseVariable<Vector3> lastTeleportPosition = new BaseVariable<Vector3>(Vector3.zero);
 49814        public readonly BaseDictionary<string, Player> otherPlayers = new BaseDictionary<string, Player>();
 49815        public readonly BaseVariable<Player> ownPlayer = new BaseVariable<Player>();
 49816        public readonly BaseVariable<bool> canPlayerMove = new BaseVariable<bool>(true);
 17    }
 18}

Methods/Properties

DataStore_Player()