Esempio n. 1
0
        public static void InvokeSetClass(CharacterClassManager ccm, RoleType id)
        {
            SetClass setClass = SetClassEvent;

            if (setClass == null)
            {
                return;
            }

            SetClassEvent ev = new SetClassEvent()
            {
                Player = Player.GetPlayer(ccm.gameObject),
                Role   = id
            };

            setClass?.Invoke(ev);
        }