Initialize.untrackOctant C# (CSharp) Méthode

untrackOctant() public méthode

public untrackOctant ( List octList ) : int
octList List
Résultat int
    public int untrackOctant(List<int> octList)
    {
        Octant oct = instance.getOctantByIndex (octList);
        // what is the relationship between tracked octant and kept octant in DiscoverModule
        if (oct != null) {
            instance.untrackOctant (oct);
        }
        string octantName = CommonUtility.getStringFromList (octList);

        // Added for the purpose of hinding everything in that octant
        int xmin = 0;
        int ymin = 0;
        int zmin = 0;

        CommonUtility.GetBoundaries (octantName, ref xmin, ref ymin, ref zmin);

        destroyOctant (UnityConstants.minimapPrefix + octantName, xmin, ymin, zmin);
        return 1;
    }