public void SetClass(Class @class) { Class = Enum.GetName(typeof(Class), @class); ClassSet?.Invoke(@class); }