public void AddNodeFlags(UIPanel parent) { AssertNotNull(parent, "parent"); Assertion.Assert(NetUtil.IsNodeValid(nodeID_), $"IsNodeValid({nodeID_})"); var mask = ARTool.GetUsedFlagsNode(nodeID_); foreach (var flag in mask.ExtractPow2Flags()) { NodeFlagToggle.Add(parent, nodeID_, flag); } }
public void AddNodeFlags(UIPanel parent) { AssertNotNull(parent, "parent"); NetUtil.AssertSegmentValid(segmentID_); var mask = ARTool.GetUsedFlagsNode(nodeID_); foreach (var flag in mask.ExtractPow2Flags()) { NodeFlagToggle.Add(parent, nodeID_, flag); } }