private void OnSymbolTypeMenuSelect(CUIEvent uiEvent) { int selectedIndex = uiEvent.m_srcWidget.GetComponent <CUIListScript>().GetSelectedIndex(); this.m_symbolFilterType = (enSymbolType)selectedIndex; this.SetSymbolMakeListData(); this.RefreshSymbolMakeList(uiEvent.m_srcFormScript); }
public Symbol(string operand) { this.Value = operand; /* Check the type */ if (SymbolDefinition.Any(p => p == operand)) { this.Type = enSymbolType.Operator; } else if (operand.Contains("[|||")) { this.Type = enSymbolType.Operator; } else { this.Type = enSymbolType.Trace; } }
public Symbol() { this.Type = enSymbolType.None; this.Value = null; }
private void ClearSymbolMakeData() { this.m_symbolFilterLevel = 1; this.m_symbolFilterType = enSymbolType.All; }