Esempio n. 1
0
        public override CVariable Copy(CR2WCopyAction context)
        {
            var var = (CGameWorld)base.Copy(context);

            var.firstlayer = (CHandle)firstlayer.Copy(context);

            return(var);
        }
Esempio n. 2
0
        public override CVariable Copy(CR2WCopyAction context)
        {
            var var = (CLayerInfo)base.Copy(context);

            var.ParentGroup = (CHandle)ParentGroup.Copy(context);

            return(var);
        }
Esempio n. 3
0
        public override CVariable Copy(CR2WCopyAction context)
        {
            var var = (IdHandle)base.Copy(context);

            var.id     = (CUInt16)id.Copy(context);
            var.handle = (CHandle)handle.Copy(context);


            return(var);
        }
Esempio n. 4
0
        public override CVariable Copy(CR2WCopyAction context)
        {
            var var = (IdHandle)base.Copy(context);

            var.handlename = (CName)handlename.Copy(context);
            var.handle     = (CHandle)handle.Copy(context);


            return(var);
        }
        public override CVariable Copy(CR2WCopyAction context)
        {
            var var = (CBehaviorGraphContainerNode)base.Copy(context);

            var.inputnodes = (CBufferVLQ <CHandle>)inputnodes.Copy(context);
            var.unk1       = (CBufferVLQ <CName>)unk1.Copy(context);
            var.unk2       = (CBufferVLQ <CName>)unk2.Copy(context);
            var.outputnode = (CHandle)outputnode.Copy(context);

            return(var);
        }
Esempio n. 6
0
        public override CVariable Copy(CR2WCopyAction context)
        {
            var var = (SUmbraSceneData)base.Copy(context);

            var.positionX = (CFloat)positionX.Copy(context);
            var.positionY = (CFloat)positionY.Copy(context);
            var.positionZ = (CFloat)positionZ.Copy(context);
            var.positionW = (CFloat)positionW.Copy(context);
            var.umbratile = (CHandle)umbratile.Copy(context);

            return(var);
        }
Esempio n. 7
0
        public override CVariable Copy(CR2WCopyAction context)
        {
            var var = (SDynamicDecalMaterialInfo)base.Copy(context);

            var.diffuseTexture      = (CHandle)diffuseTexture.Copy(context);
            var.normalTexture       = (CHandle)normalTexture.Copy(context);
            var.specularColor       = (CColor)specularColor.Copy(context);
            var.specularScale       = (CFloat)specularScale.Copy(context);
            var.specularBase        = (CFloat)specularBase.Copy(context);
            var.specularity         = (CFloat)specularity.Copy(context);
            var.additiveNormals     = (CBool)additiveNormals.Copy(context);
            var.diffuseRandomColor0 = (CColor)diffuseRandomColor0.Copy(context);
            var.diffuseRandomColor1 = (CColor)diffuseRandomColor1.Copy(context);
            var.subUVType           = (CName)subUVType.Copy(context);


            return(var);
        }
Esempio n. 8
0
        public override CVariable Copy(CR2WCopyAction context)
        {
            var var = (CBehaviorGraph)base.Copy(context);

            var.Toplevelnode = (CHandle)Toplevelnode.Copy(context);
            var.unk2         = (CUInt32)unk2.Copy(context);
            var.variables1   = (CBufferUInt32 <IdHandle>)variables1.Copy(context);

            var.unk3         = (CUInt32)unk3.Copy(context);
            var.descriptions = (CBufferVLQ <CHandle>)descriptions.Copy(context);

            var.unk4             = (CUInt32)unk4.Copy(context);
            var.vectorvariables1 = (CBufferUInt32 <IdHandle>)vectorvariables1.Copy(context);

            var.unk5       = (CUInt32)unk5.Copy(context);
            var.variables2 = (CBufferUInt32 <IdHandle>)variables2.Copy(context);

            var.unk6             = (CUInt32)unk6.Copy(context);
            var.vectorvariables2 = (CBufferUInt32 <IdHandle>)vectorvariables2.Copy(context);

            return(var);
        }