public AgentVisualsData(AgentVisualsData agentVisualsData)
 {
     this.AgentVisuals                = agentVisualsData.AgentVisuals;
     this.ActionSetData               = agentVisualsData.ActionSetData;
     this.FrameData                   = agentVisualsData.FrameData;
     this.BodyPropertiesData          = agentVisualsData.BodyPropertiesData;
     this.EquipmentData               = agentVisualsData.EquipmentData;
     this.RightWieldedItemIndexData   = agentVisualsData.RightWieldedItemIndexData;
     this.LeftWieldedItemIndexData    = agentVisualsData.LeftWieldedItemIndexData;
     this.SkeletonTypeData            = agentVisualsData.SkeletonTypeData;
     this.BannerData                  = agentVisualsData.BannerData;
     this.CachedWeaponSlot0Entity     = agentVisualsData.CachedWeaponSlot0Entity;
     this.CachedWeaponSlot1Entity     = agentVisualsData.CachedWeaponSlot1Entity;
     this.CachedWeaponSlot2Entity     = agentVisualsData.CachedWeaponSlot2Entity;
     this.CachedWeaponSlot3Entity     = agentVisualsData.CachedWeaponSlot3Entity;
     this.CachedWeaponSlot4Entity     = agentVisualsData.CachedWeaponSlot4Entity;
     this.SceneData                   = agentVisualsData.SceneData;
     this.MonsterData                 = agentVisualsData.MonsterData;
     this.PrepareImmediatelyData      = agentVisualsData.PrepareImmediatelyData;
     this.UseScaledWeaponsData        = agentVisualsData.UseScaledWeaponsData;
     this.UseTranslucencyData         = agentVisualsData.UseTranslucencyData;
     this.UseTesselationData          = agentVisualsData.UseTesselationData;
     this.UseMorphAnimsData           = agentVisualsData.UseMorphAnimsData;
     this.ClothColor1Data             = agentVisualsData.ClothColor1Data;
     this.ClothColor2Data             = agentVisualsData.ClothColor2Data;
     this.ScaleData                   = agentVisualsData.ScaleData;
     this.ActionCodeData              = agentVisualsData.ActionCodeData;
     this.EntityData                  = agentVisualsData.EntityData;
     this.CharacterObjectStringIdData = agentVisualsData.CharacterObjectStringIdData;
     this.HasClippingPlaneData        = agentVisualsData.HasClippingPlaneData;
     this.MountCreationKeyData        = agentVisualsData.MountCreationKeyData;
     this.AddColorRandomnessData      = agentVisualsData.AddColorRandomnessData;
 }
Exemplo n.º 2
0
 public void Tick(MBAgentVisuals parentAgentVisuals, float dt, bool entityMoving, float speed) => MBAPI.IMBAgentVisuals.Tick(this.GetPtr(), parentAgentVisuals != null ? parentAgentVisuals.GetPtr() : UIntPtr.Zero, dt, entityMoving, speed);