Пример #1
0
        public byte Index;          // 1

        // Construtores
        public static SAffectMin New( )
        {
            SAffectMin tmp = new SAffectMin {
                Time  = 0,
                Index = 0
            };

            return(tmp);
        }
Пример #2
0
        public static SAffectMin New(SAffect Affect)
        {
            SAffectMin tmp = new SAffectMin {
                Time  = 255,
                Index = ( byte )(Affect.index)
            };

            return(tmp);
        }
Пример #3
0
        public static SAffectMin New(SAffect Affect)
        {
            SAffectMin tmp = new SAffectMin {
                Time  = (byte)Affect.Time,
                Index = Affect.Index
            };

            return(tmp);
        }