예제 #1
0
        public static bool Select(this UnnullableSTD <CountlessInt> uc, Trigger t)
        {
            var tmp = uc.Get(t);

            if (pegi.select(ref tmp, t.enm))
            {
                uc.Set(t, tmp);
                return(true);
            }
            return(false);
        }
예제 #2
0
        public static bool Edit(this UnnullableSTD <CountlessInt> uc, ValueIndex ind)
        {
            var tmp = uc.Get(ind);//[ind.groupIndex][ind.triggerIndex];

            if (pegi.edit(ref tmp))
            {
                uc.Set(ind, tmp);
                return(true);
            }
            return(false);
        }
예제 #3
0
 public int GetTagEnum(ValueIndex ind) => enumTags.Get(ind);
예제 #4
0
 public bool GetTagBool(ValueIndex ind) => boolTags.Get(ind);