public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteStringPointer(bw, m_filename);
     s.WriteStringPointer(bw, m_name);
     s.WriteStringPointer(bw, m_originalFilename);
 }
Beispiel #2
0
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     s.WriteStringPointer(bw, m_pluginName);
     s.WriteStringPointer(bw, m_objectName);
     bw.WriteUInt32(m_hash);
     bw.WriteUInt32(0);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteStringPointer(bw, m_name);
     s.WriteStringPointer(bw, m_meshName);
     bw.WriteUInt64(0);
 }
Beispiel #4
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteUInt64Array(bw, m_deformableSkinIds);
     s.WriteUInt64Array(bw, m_rigidSkinIds);
     s.WriteInt16Array(bw, m_externalEventIds);
     s.WriteClassPointerArray <hkbAuxiliaryNodeInfo>(bw, m_auxiliaryInfo);
     s.WriteInt16Array(bw, m_activeEventIds);
     s.WriteInt16Array(bw, m_activeVariableIds);
     bw.WriteUInt64(m_characterId);
     s.WriteStringPointer(bw, m_instanceName);
     s.WriteStringPointer(bw, m_templateName);
     s.WriteStringPointer(bw, m_fullPathToProject);
     s.WriteStringPointer(bw, m_localScriptsPath);
     s.WriteStringPointer(bw, m_remoteScriptsPath);
     s.WriteClassPointer <hkbBehaviorGraphData>(bw, m_behaviorData);
     s.WriteClassPointer <hkbBehaviorGraphInternalState>(bw, m_behaviorInternalState);
     bw.WriteUInt64(0);
     bw.WriteBoolean(m_visible);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
     bw.WriteSingle(m_elapsedSimulationTime);
     s.WriteClassPointer <hkaSkeleton>(bw, m_skeleton);
     bw.WriteUInt64(0);
     s.WriteQSTransform(bw, m_worldFromModel);
     s.WriteQSTransformArray(bw, m_poseModelSpace);
     s.WriteQSTransformArray(bw, m_rigidAttachmentTransforms);
 }
Beispiel #5
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     s.WriteVector4(bw, m_sensorLocalOffset);
     s.WriteClassArray <hkbSenseHandleModifierRange>(bw, m_ranges);
     s.WriteClassPointer <hkbHandle>(bw, m_handleOut);
     s.WriteClassPointer <hkbHandle>(bw, m_handleIn);
     s.WriteStringPointer(bw, m_localFrameName);
     s.WriteStringPointer(bw, m_sensorLocalFrameName);
     bw.WriteSingle(m_minDistance);
     bw.WriteSingle(m_maxDistance);
     bw.WriteSingle(m_distanceOut);
     bw.WriteUInt32(m_collisionFilterInfo);
     bw.WriteInt16(m_sensorRagdollBoneIndex);
     bw.WriteInt16(m_sensorAnimationBoneIndex);
     bw.WriteSByte((sbyte)m_sensingMode);
     bw.WriteBoolean(m_extrapolateSensorPosition);
     bw.WriteBoolean(m_keepFirstSensedHandle);
     bw.WriteBoolean(m_foundHandleOut);
     bw.WriteUInt64(0);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteInt32(m_activateEventId);
     bw.WriteUInt32(0);
     s.WriteStringPointer(bw, m_attachment);
     s.WriteStringPointer(bw, m_localFrame);
 }
Beispiel #7
0
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     s.WriteStringPointer(bw, m_behaviorName);
     s.WriteStringPointer(bw, m_nodeName);
     bw.WriteUInt16((ushort)m_toolType);
     bw.WriteUInt16(m_id);
     bw.WriteUInt32(0);
 }
Beispiel #8
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteUInt64(m_characterId);
     s.WriteStringPointer(bw, m_nodeName);
     s.WriteStringPointer(bw, m_propertyName);
     m_propertyValue.Write(s, bw);
     bw.WriteInt32(m_padding);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteUInt64(0);
     s.WriteStringPointer(bw, m_originalSkeletonName);
     s.WriteStringPointer(bw, m_name);
     s.WriteClassPointer <hkaSkeleton>(bw, m_skeleton);
     s.WriteClassArray <hkaMeshBindingMapping>(bw, m_mappings);
     s.WriteTransformArray(bw, m_boneFromSkinMeshTransforms);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteSByte(m_fileType_0);
     bw.WriteSByte(m_fileType_1);
     bw.WriteSByte(m_fileType_2);
     bw.WriteSByte(m_fileType_3);
     bw.WriteUInt32(0);
     s.WriteByteArray(bw, m_data);
     s.WriteStringPointer(bw, m_name);
     s.WriteStringPointer(bw, m_originalFilename);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteStringPointer(bw, m_name);
     bw.WriteByte((byte)m_type);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
     s.WriteStringPointer(bw, m_vertexEntryName);
     s.WriteStringPointer(bw, m_geomEntryName);
     s.WriteStringPointer(bw, m_pixelEntryName);
     s.WriteByteArray(bw, m_data);
 }
Beispiel #12
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteStringPointer(bw, m_originalSkeletonName);
     bw.WriteUInt64(0);
     s.WriteMatrix4(bw, m_boneFromAttachment);
     s.WriteClassPointer <hkReferencedObject>(bw, m_attachment);
     s.WriteStringPointer(bw, m_name);
     bw.WriteInt16(m_boneIndex);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
 }
Beispiel #13
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteClassPointer <hkbGenerator>(bw, m_child);
     s.WriteStringPointer(bw, m_onActivateScript);
     s.WriteStringPointer(bw, m_onPreUpdateScript);
     s.WriteStringPointer(bw, m_onGenerateScript);
     s.WriteStringPointer(bw, m_onHandleEventScript);
     s.WriteStringPointer(bw, m_onDeactivateScript);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteStringPointerArray(bw, m_animationFilenames);
     s.WriteStringPointerArray(bw, m_behaviorFilenames);
     s.WriteStringPointerArray(bw, m_characterFilenames);
     s.WriteStringPointerArray(bw, m_eventNames);
     s.WriteStringPointer(bw, m_animationPath);
     s.WriteStringPointer(bw, m_behaviorPath);
     s.WriteStringPointer(bw, m_characterPath);
     s.WriteStringPointer(bw, m_scriptsPath);
     s.WriteStringPointer(bw, m_fullPathToSource);
     bw.WriteUInt64(0);
 }
Beispiel #15
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteUInt64(m_characterId);
     s.WriteStringPointer(bw, m_instanceName);
     s.WriteStringPointer(bw, m_templateName);
     s.WriteStringPointer(bw, m_fullPathToProject);
     s.WriteStringPointer(bw, m_localScriptsPath);
     s.WriteStringPointer(bw, m_remoteScriptsPath);
     s.WriteClassPointer <hkaSkeleton>(bw, m_skeleton);
     bw.WriteUInt64(0);
     s.WriteQSTransform(bw, m_worldFromModel);
     s.WriteQSTransformArray(bw, m_poseModelSpace);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteStringPointer(bw, m_name);
     s.WriteClassPointer <hkReferencedObject>(bw, m_object);
     s.WriteMatrix4Array(bw, m_keyFrames);
     s.WriteClassPointerArray <hkxNode>(bw, m_children);
     s.WriteClassArray <hkxNodeAnnotationData>(bw, m_annotations);
     s.WriteSingleArray(bw, m_linearKeyFrameHints);
     s.WriteStringPointer(bw, m_userProperties);
     bw.WriteBoolean(m_selected);
     bw.WriteBoolean(m_bone);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     m_simulationInfo.Write(s, bw);
     s.WriteStringPointer(bw, m_name);
     s.WriteClassArray <hclSimClothDataParticleData>(bw, m_particleDatas);
     s.WriteUInt16Array(bw, m_fixedParticles);
     s.WriteUInt16Array(bw, m_triangleIndices);
     s.WriteByteArray(bw, m_triangleFlips);
     bw.WriteSingle(m_totalMass);
     bw.WriteUInt32(0);
     m_collidableTransformMap.Write(s, bw);
     s.WriteClassPointerArray <hclCollidable>(bw, m_perInstanceCollidables);
     s.WriteClassPointerArray <hclConstraintSet>(bw, m_staticConstraintSets);
     s.WriteClassPointerArray <hclConstraintSet>(bw, m_antiPinchConstraintSets);
     s.WriteClassPointerArray <hclSimClothPose>(bw, m_simClothPoses);
     s.WriteClassPointerArray <hclAction>(bw, m_actions);
     s.WriteUInt32Array(bw, m_staticCollisionMasks);
     s.WriteBooleanArray(bw, m_perParticlePinchDetectionEnabledFlags);
     s.WriteClassArray <hclSimClothDataCollidablePinchingData>(bw, m_collidablePinchingDatas);
     bw.WriteUInt16(m_minPinchedParticleIndex);
     bw.WriteUInt16(m_maxPinchedParticleIndex);
     bw.WriteUInt32(m_maxCollisionPairs);
     bw.WriteSingle(m_maxParticleRadius);
     m_landscapeCollisionData.Write(s, bw);
     bw.WriteUInt32(m_numLandscapeCollidableParticles);
     bw.WriteBoolean(m_doNormals);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
     m_transferMotionData.Write(s, bw);
 }
Beispiel #18
0
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     s.WriteStringPointer(bw, m_name);
     bw.WriteUInt32(m_isExclusive);
     bw.WriteInt32(m_flags);
     bw.WriteByte((byte)m_triggerType);
     m_triggerManifoldTolerance.Write(s, bw);
     bw.WriteInt16(m_dynamicFriction);
     bw.WriteInt16(m_staticFriction);
     bw.WriteInt16(m_restitution);
     bw.WriteByte((byte)m_frictionCombinePolicy);
     bw.WriteByte((byte)m_restitutionCombinePolicy);
     bw.WriteInt16(m_weldingTolerance);
     bw.WriteSingle(m_maxContactImpulse);
     bw.WriteSingle(m_fractionOfClippedImpulseToApply);
     bw.WriteByte((byte)m_massChangerCategory);
     bw.WriteByte(0);
     bw.WriteInt16(m_massChangerHeavyObjectFactor);
     bw.WriteInt16(m_softContactForceFactor);
     bw.WriteInt16(m_softContactDampFactor);
     m_softContactSeperationVelocity.Write(s, bw);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
     s.WriteClassPointer <hknpSurfaceVelocity>(bw, m_surfaceVelocity);
     bw.WriteInt16(m_disablingCollisionsBetweenCvxCvxDynamicObjectsDistance);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
     bw.WriteUInt64(m_userData);
     bw.WriteBoolean(m_isShared);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
 }
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     s.WriteStringPointer(bw, m_name);
     bw.WriteInt16(m_startBoneIndex);
     bw.WriteInt16(m_numBones);
     bw.WriteUInt32(0);
 }
Beispiel #20
0
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     bw.WriteBoolean(m_visible);
     bw.WriteBoolean(m_editable);
     bw.WriteSByte((sbyte)m_hideCriteria);
     bw.WriteUInt32(0);
     bw.WriteByte(0);
     s.WriteStringPointer(bw, m_label);
     s.WriteStringPointer(bw, m_group);
     s.WriteStringPointer(bw, m_hideBaseClassMembers);
     bw.WriteBoolean(m_endGroup);
     bw.WriteBoolean(m_endGroup2);
     bw.WriteBoolean(m_advanced);
     bw.WriteUInt32(0);
     bw.WriteByte(0);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteStringPointer(bw, m_name);
     s.WriteClassPointer <hclSimClothSetupObject>(bw, m_simClothSetupObject);
     s.WriteClassPointer <hclBufferSetupObject>(bw, m_displayBufferSetup);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteClassPointerArray <hkbCharacter>(bw, m_nearbyCharacters);
     bw.WriteUInt64(m_userData);
     bw.WriteInt16(m_currentLod);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
     s.WriteStringPointer(bw, m_name);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     s.WriteClassPointer <hkbCharacterSetup>(bw, m_setup);
     s.WriteClassPointer <hkbBehaviorGraph>(bw, m_behaviorGraph);
     s.WriteClassPointer <hkbProjectData>(bw, m_projectData);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteInt32(m_capabilities);
     bw.WriteInt32(m_effectiveCapabilities);
     bw.WriteSingle(m_deltaTime);
     bw.WriteBoolean(m_useCharactorDeltaTime);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
 }
Beispiel #23
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteStringPointer(bw, m_name);
     s.WriteClassArray <hkxMaterialTextureStage>(bw, m_stages);
     bw.WriteUInt64(0);
     s.WriteVector4(bw, m_diffuseColor);
     s.WriteVector4(bw, m_ambientColor);
     s.WriteVector4(bw, m_specularColor);
     s.WriteVector4(bw, m_emissiveColor);
     s.WriteClassPointerArray <hkxMaterial>(bw, m_subMaterials);
     s.WriteClassPointer <hkReferencedObject>(bw, m_extraData);
     bw.WriteSingle(m_uvMapScale_0);
     bw.WriteSingle(m_uvMapScale_1);
     bw.WriteSingle(m_uvMapOffset_0);
     bw.WriteSingle(m_uvMapOffset_1);
     bw.WriteSingle(m_uvMapRotation);
     bw.WriteUInt32((uint)m_uvMapAlgorithm);
     bw.WriteSingle(m_specularMultiplier);
     bw.WriteSingle(m_specularExponent);
     bw.WriteByte((byte)m_transparency);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
     bw.WriteUInt64(m_userData);
     s.WriteClassArray <hkxMaterialProperty>(bw, m_properties);
     bw.WriteUInt64(0);
 }
Beispiel #24
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteInt32(m_int);
     bw.WriteSingle(m_real);
     s.WriteStringPointer(bw, m_string);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteStringPointer(bw, m_name);
     s.WriteClassPointer <hkaSkeleton>(bw, m_skeleton);
     s.WriteMatrix4(bw, m_worldFromModel);
 }
Beispiel #26
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteStringPointer(bw, m_name);
     bw.WriteInt32(m_type);
     bw.WriteUInt32(m_numTransforms);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteClassPointer <hkReferencedObject>(bw, m_variant);
     s.WriteStringPointer(bw, m_name);
     s.WriteClassArray <hkMemoryResourceHandleExternalLink>(bw, m_references);
 }
Beispiel #28
0
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     s.WriteStringPointer(bw, m_name);
     bw.WriteBoolean(m_lockTranslation);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteStringPointer(bw, m_name);
     bw.WriteUInt64(0);
     s.WriteClassPointerArray <hkMemoryResourceHandle>(bw, m_resourceHandles);
     s.WriteClassPointerArray <hkMemoryResourceContainer>(bw, m_children);
 }
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     s.WriteStringPointer(bw, m_name);
     bw.WriteInt32(m_value);
     bw.WriteBoolean(m_tweakOn);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
 }