Exemplo n.º 1
0
        public static SAffectMin New(SAffect Affect)
        {
            SAffectMin tmp = new SAffectMin {
                Time  = 255,
                Index = ( byte )(Affect.index)
            };

            return(tmp);
        }
Exemplo n.º 2
0
        public static SAffectMin New(SAffect Affect)
        {
            SAffectMin tmp = new SAffectMin {
                Time  = (byte)Affect.Time,
                Index = Affect.Index
            };

            return(tmp);
        }
Exemplo n.º 3
0
        public static SAffect New(byte index, byte master, short value, int time)
        {
            SAffect tmp = new SAffect {
                Index  = index,
                Master = master,
                Value  = value,
                Time   = time
            };

            return(tmp);
        }
Exemplo n.º 4
0
        public static SAffect New(SAffect other)
        {
            SAffect tmp = new SAffect {
                Index  = other.Index,
                Master = other.Master,
                Value  = other.Value,
                Time   = other.Time
            };

            return(tmp);
        }
Exemplo n.º 5
0
        public int   Time;           // 4 a 7	= 4

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

            return(tmp);
        }
Exemplo n.º 6
0
        public static SAffect New(byte index, byte master, ushort value, uint time)
        {
            SAffect tmp = new SAffect {
                index  = index,
                master = master,
                value  = value,
                time   = time
            };

            return(tmp);
        }
Exemplo n.º 7
0
        public static SAffect New(SAffect other)
        {
            SAffect tmp = new SAffect {
                index  = other.index,
                master = other.master,
                value  = other.value,
                time   = other.time
            };

            return(tmp);
        }
Exemplo n.º 8
0
        public uint   time;           // 4 a 7	= 4

        // Construtores
        public static SAffect New( )
        {
            SAffect tmp = new SAffect {
                index  = 0,
                master = 0,
                value  = 0,
                time   = 0
            };

            return(tmp);
        }