Пример #1
0
        public static SkillEvent ByteArrayToFsmEvent(byte[] bytes, int startIndex, int size)
        {
            string text = SkillUtility.ByteArrayToString(bytes, startIndex, size);

            if (!string.IsNullOrEmpty(text))
            {
                return(SkillEvent.GetFsmEvent(text));
            }
            return(null);
        }
Пример #2
0
		public DelayedEvent(Skill fsm, string fsmEventName, float delay) : this(fsm, SkillEvent.GetFsmEvent(fsmEventName), delay)
		{
		}