< 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:6
Uncovered lines:0
Coverable lines:6
Total lines:17
Line coverage:100% (6 of 6)
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
 6518        public readonly BaseVariable<Vector2Int> playerWorldPosition = new BaseVariable<Vector2Int>(Vector2Int.zero);
 6519        public readonly BaseVariable<Vector3> playerUnityPosition = new BaseVariable<Vector3>(Vector3.zero);
 10
 11        // NOTE: set when character is teleported (DCLCharacterController - Teleport)
 65112        public readonly BaseVariable<Vector3> lastTeleportPosition = new BaseVariable<Vector3>(Vector3.zero);
 65113        public readonly BaseDictionary<string, Player> otherPlayers = new BaseDictionary<string, Player>();
 65114        public readonly BaseVariable<Player> ownPlayer = new BaseVariable<Player>();
 65115        public readonly BaseVariable<bool> canPlayerMove = new BaseVariable<bool>(true);
 16    }
 17}

Methods/Properties

DataStore_Player()