2017-03-24 17:40:05 +01:00
|
|
|
/*
|
|
|
|
* This file is part of Industrial Wires.
|
|
|
|
* Copyright (C) 2016-2017 malte0811
|
|
|
|
*
|
|
|
|
* Industrial Wires is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* Industrial Wires is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with Industrial Wires. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
package malte0811.industrialWires.blocks.controlpanel;
|
|
|
|
|
2017-04-09 16:59:57 +02:00
|
|
|
import blusunrize.immersiveengineering.common.blocks.IEBlockInterfaces;
|
2017-03-24 17:40:05 +01:00
|
|
|
import blusunrize.immersiveengineering.common.blocks.IEBlockInterfaces.IDirectionalTile;
|
|
|
|
import blusunrize.immersiveengineering.common.blocks.IEBlockInterfaces.IPlayerInteraction;
|
2017-03-28 18:15:41 +02:00
|
|
|
import blusunrize.immersiveengineering.common.util.chickenbones.Matrix4;
|
2017-04-04 17:07:45 +02:00
|
|
|
import malte0811.industrialWires.IndustrialWires;
|
2017-03-24 17:40:05 +01:00
|
|
|
import malte0811.industrialWires.blocks.IBlockBoundsIW;
|
|
|
|
import malte0811.industrialWires.blocks.TileEntityIWBase;
|
2017-04-13 17:14:05 +02:00
|
|
|
import malte0811.industrialWires.controlpanel.*;
|
2017-04-04 17:07:45 +02:00
|
|
|
import malte0811.industrialWires.network.MessagePanelInteract;
|
2017-03-24 17:40:05 +01:00
|
|
|
import net.minecraft.block.state.IBlockState;
|
|
|
|
import net.minecraft.entity.EntityLivingBase;
|
|
|
|
import net.minecraft.entity.player.EntityPlayer;
|
2017-05-08 17:20:04 +02:00
|
|
|
import net.minecraft.entity.player.EntityPlayerMP;
|
2017-04-01 17:33:58 +02:00
|
|
|
import net.minecraft.item.EnumDyeColor;
|
2017-03-24 17:40:05 +01:00
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
import net.minecraft.nbt.NBTTagCompound;
|
|
|
|
import net.minecraft.nbt.NBTTagList;
|
2017-03-28 18:15:41 +02:00
|
|
|
import net.minecraft.tileentity.TileEntity;
|
2017-03-24 17:40:05 +01:00
|
|
|
import net.minecraft.util.EnumFacing;
|
|
|
|
import net.minecraft.util.EnumHand;
|
|
|
|
import net.minecraft.util.ITickable;
|
|
|
|
import net.minecraft.util.math.AxisAlignedBB;
|
2017-03-28 18:15:41 +02:00
|
|
|
import net.minecraft.util.math.BlockPos;
|
|
|
|
import net.minecraft.util.math.RayTraceResult;
|
2017-03-24 17:40:05 +01:00
|
|
|
import net.minecraft.util.math.Vec3d;
|
2017-03-28 18:15:41 +02:00
|
|
|
import org.apache.commons.lang3.tuple.ImmutablePair;
|
|
|
|
import org.apache.commons.lang3.tuple.Pair;
|
2017-03-24 17:40:05 +01:00
|
|
|
|
2017-05-10 17:56:05 +02:00
|
|
|
import javax.annotation.Nonnull;
|
2017-03-24 17:40:05 +01:00
|
|
|
import javax.annotation.Nullable;
|
2017-04-02 17:16:42 +02:00
|
|
|
import java.util.HashSet;
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.Set;
|
2017-03-24 17:40:05 +01:00
|
|
|
|
2017-04-09 16:59:57 +02:00
|
|
|
public class TileEntityPanel extends TileEntityIWBase implements IDirectionalTile, IBlockBoundsIW, IPlayerInteraction, ITickable, IEBlockInterfaces.ITileDrop {
|
2017-04-01 17:33:58 +02:00
|
|
|
private PropertyComponents.PanelRenderProperties components = new PropertyComponents.PanelRenderProperties();
|
2017-07-03 20:38:31 +02:00
|
|
|
public boolean firstTick = true;
|
2017-03-28 18:15:41 +02:00
|
|
|
// non-rendered properties
|
2017-04-04 17:07:45 +02:00
|
|
|
private Set<TileEntityRSPanelConn> rsPorts = new HashSet<>();
|
2017-04-09 16:59:57 +02:00
|
|
|
|
2017-03-24 17:40:05 +01:00
|
|
|
{
|
2017-04-09 16:59:57 +02:00
|
|
|
for (int i = 2; i < 14; i++) {
|
|
|
|
int color = EnumDyeColor.byMetadata(i - 2).getMapColor().colorValue;
|
2017-04-22 18:14:49 +02:00
|
|
|
IndicatorLight ind = new IndicatorLight(0, (byte) (i - 2), color);
|
2017-04-09 16:59:57 +02:00
|
|
|
LightedButton btn = new LightedButton(color, false, true, 1, i - 2);
|
2017-04-01 17:33:58 +02:00
|
|
|
Label lbl = new Label("->", color);
|
|
|
|
ind.setX(0);
|
2017-04-09 16:59:57 +02:00
|
|
|
ind.setY(i / 16F);
|
2017-07-03 21:08:39 +02:00
|
|
|
ind.setPanelHeight(components.getHeight());
|
2017-04-09 16:59:57 +02:00
|
|
|
lbl.setX(2 / 16F);
|
|
|
|
lbl.setY(i / 16F);
|
2017-07-03 21:08:39 +02:00
|
|
|
lbl.setPanelHeight(components.getHeight());
|
2017-04-09 16:59:57 +02:00
|
|
|
btn.setX(5 / 16F);
|
|
|
|
btn.setY(i / 16F);
|
2017-07-03 21:08:39 +02:00
|
|
|
btn.setPanelHeight(components.getHeight());
|
2017-04-01 17:33:58 +02:00
|
|
|
components.add(ind);
|
|
|
|
components.add(lbl);
|
|
|
|
components.add(btn);
|
|
|
|
}
|
2017-03-24 17:40:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void update() {
|
2017-04-09 16:59:57 +02:00
|
|
|
for (PanelComponent pc : components) {
|
2017-03-24 17:40:05 +01:00
|
|
|
pc.update(this);
|
|
|
|
}
|
2017-05-10 17:56:05 +02:00
|
|
|
if (!world.isRemote) {
|
2017-04-01 17:33:58 +02:00
|
|
|
if (firstTick) {
|
2017-07-03 20:38:31 +02:00
|
|
|
List<BlockPos> parts = PanelUtils.discoverPanelParts(world, pos, 100);
|
2017-04-09 16:59:57 +02:00
|
|
|
for (BlockPos bp : parts) {
|
2017-05-10 17:56:05 +02:00
|
|
|
TileEntity te = world.getTileEntity(bp);
|
2017-05-11 16:39:20 +02:00
|
|
|
if (te instanceof TileEntityRSPanelConn && !rsPorts.contains(te)) {
|
2017-04-02 17:16:42 +02:00
|
|
|
((TileEntityRSPanelConn) te).registerPanel(this);
|
2017-04-01 17:33:58 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
firstTick = false;
|
2017-03-28 18:15:41 +02:00
|
|
|
}
|
|
|
|
}
|
2017-03-24 17:40:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void writeNBT(NBTTagCompound out, boolean updatePacket) {
|
2017-04-09 16:59:57 +02:00
|
|
|
writeToItemNBT(out, false);
|
2017-07-03 21:08:39 +02:00
|
|
|
out.setInteger("facing", components.getFacing().getHorizontalIndex());
|
|
|
|
out.setInteger("top", components.getTop().getIndex());
|
2017-03-24 17:40:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void readNBT(NBTTagCompound in, boolean updatePacket) {
|
2017-04-09 16:59:57 +02:00
|
|
|
readFromItemNBT(in);
|
2017-07-03 21:08:39 +02:00
|
|
|
components.setFacing(EnumFacing.getHorizontal(in.getInteger("facing")));
|
|
|
|
components.setTop(EnumFacing.getFront(in.getInteger("top")));
|
2017-04-09 16:59:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2017-05-10 17:56:05 +02:00
|
|
|
@Nonnull
|
|
|
|
public ItemStack getTileDrop(@Nonnull EntityPlayer player, @Nonnull IBlockState state) {
|
2017-04-09 16:59:57 +02:00
|
|
|
NBTTagCompound ret = new NBTTagCompound();
|
|
|
|
writeToItemNBT(ret, true);
|
|
|
|
ItemStack retStack = new ItemStack(IndustrialWires.panel, 1, BlockTypes_Panel.TOP.ordinal());
|
|
|
|
retStack.setTagCompound(ret);
|
|
|
|
return retStack;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2017-05-10 17:56:05 +02:00
|
|
|
public void readOnPlacement(@Nullable EntityLivingBase placer, @Nonnull ItemStack stack) {
|
|
|
|
if (!stack.isEmpty() && stack.hasTagCompound()) {
|
2017-04-09 16:59:57 +02:00
|
|
|
readFromItemNBT(stack.getTagCompound());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-05-01 18:40:29 +02:00
|
|
|
public void readFromItemNBT(@Nullable NBTTagCompound nbt) {
|
2017-05-11 16:39:20 +02:00
|
|
|
if (nbt != null) {
|
2017-04-28 20:20:52 +02:00
|
|
|
NBTTagList l = nbt.getTagList("components", 10);
|
|
|
|
PanelUtils.readListFromNBT(l, components);
|
2017-07-03 21:08:39 +02:00
|
|
|
components.setHeight(nbt.getFloat("height"));
|
|
|
|
components.setAngle(nbt.getFloat("angle"));
|
2017-03-24 17:40:05 +01:00
|
|
|
}
|
2017-04-01 17:33:58 +02:00
|
|
|
defAABB = null;
|
2017-03-24 17:40:05 +01:00
|
|
|
}
|
|
|
|
|
2017-04-09 16:59:57 +02:00
|
|
|
public void writeToItemNBT(NBTTagCompound nbt, boolean toItem) {
|
|
|
|
NBTTagList comps = new NBTTagList();
|
|
|
|
for (PanelComponent p : components) {
|
|
|
|
NBTTagCompound nbtInner = new NBTTagCompound();
|
|
|
|
p.writeToNBT(nbtInner, toItem);
|
|
|
|
comps.appendTag(nbtInner);
|
|
|
|
}
|
|
|
|
nbt.setTag("components", comps);
|
2017-07-03 21:08:39 +02:00
|
|
|
nbt.setFloat("height", components.getHeight());
|
|
|
|
nbt.setFloat("angle", components.getAngle());
|
2017-04-09 16:59:57 +02:00
|
|
|
}
|
|
|
|
|
2017-05-10 17:56:05 +02:00
|
|
|
@Nonnull
|
2017-03-24 17:40:05 +01:00
|
|
|
@Override
|
|
|
|
public EnumFacing getFacing() {
|
2017-07-03 21:08:39 +02:00
|
|
|
return components.getFacing();
|
2017-03-24 17:40:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2017-05-10 17:56:05 +02:00
|
|
|
public void setFacing(@Nonnull EnumFacing facing) {
|
2017-07-03 21:08:39 +02:00
|
|
|
this.components.setFacing(facing);
|
2017-03-24 17:40:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public int getFacingLimitation() {
|
2017-04-28 20:20:52 +02:00
|
|
|
return 0;
|
2017-03-24 17:40:05 +01:00
|
|
|
}
|
|
|
|
|
2017-05-10 17:56:05 +02:00
|
|
|
@Nonnull
|
2017-04-01 17:33:58 +02:00
|
|
|
@Override
|
2017-05-10 17:56:05 +02:00
|
|
|
public EnumFacing getFacingForPlacement(@Nonnull EntityLivingBase placer, @Nonnull BlockPos pos, @Nonnull EnumFacing side, float hitX, float hitY, float hitZ) {
|
2017-04-01 17:33:58 +02:00
|
|
|
switch (side) {
|
|
|
|
case UP:
|
2017-07-03 21:08:39 +02:00
|
|
|
components.setTop(EnumFacing.UP);
|
2017-04-28 20:20:52 +02:00
|
|
|
return EnumFacing.fromAngle(placer.rotationYaw);
|
2017-04-01 17:33:58 +02:00
|
|
|
case DOWN:
|
2017-07-03 21:08:39 +02:00
|
|
|
components.setTop(EnumFacing.DOWN);
|
|
|
|
return EnumFacing.fromAngle(-placer.rotationYaw);
|
2017-04-01 17:33:58 +02:00
|
|
|
case NORTH:
|
|
|
|
case SOUTH:
|
|
|
|
case WEST:
|
|
|
|
case EAST:
|
2017-07-03 21:08:39 +02:00
|
|
|
components.setTop(side);
|
2017-04-01 17:33:58 +02:00
|
|
|
return EnumFacing.SOUTH;//Should not matter
|
|
|
|
}
|
2017-07-03 21:08:39 +02:00
|
|
|
return components.getFacing();
|
2017-04-01 17:33:58 +02:00
|
|
|
}
|
|
|
|
|
2017-03-24 17:40:05 +01:00
|
|
|
@Override
|
2017-05-10 17:56:05 +02:00
|
|
|
public boolean mirrorFacingOnPlacement(@Nonnull EntityLivingBase placer) {
|
2017-03-24 17:40:05 +01:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2017-05-10 17:56:05 +02:00
|
|
|
public boolean canHammerRotate(@Nonnull EnumFacing side, float hitX, float hitY, float hitZ, @Nonnull EntityLivingBase entity) {
|
2017-03-24 17:40:05 +01:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2017-05-10 17:56:05 +02:00
|
|
|
public boolean canRotate(@Nonnull EnumFacing axis) {
|
2017-03-24 17:40:05 +01:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2017-03-28 18:15:41 +02:00
|
|
|
private AxisAlignedBB defAABB;
|
2017-04-09 16:59:57 +02:00
|
|
|
|
2017-03-24 17:40:05 +01:00
|
|
|
@Override
|
|
|
|
public AxisAlignedBB getBoundingBox() {
|
2017-04-09 16:59:57 +02:00
|
|
|
if (defAABB == null) {
|
2017-04-04 17:07:45 +02:00
|
|
|
defAABB = apply(components.getPanelBaseTransform(), new AxisAlignedBB(0, 0, 0, 1, components.getMaxHeight(), 1));
|
2017-03-28 18:15:41 +02:00
|
|
|
}
|
2017-03-24 17:40:05 +01:00
|
|
|
return defAABB;
|
|
|
|
}
|
|
|
|
|
2017-03-28 18:15:41 +02:00
|
|
|
public PropertyComponents.PanelRenderProperties getComponents() {
|
2017-03-24 17:40:05 +01:00
|
|
|
return components;
|
|
|
|
}
|
2017-04-09 16:59:57 +02:00
|
|
|
|
2017-03-28 18:15:41 +02:00
|
|
|
public AxisAlignedBB apply(Matrix4 mat, AxisAlignedBB in) {
|
|
|
|
Vec3d min = new Vec3d(in.minX, in.minY, in.minZ);
|
|
|
|
Vec3d max = new Vec3d(in.maxX, in.maxY, in.maxZ);
|
|
|
|
min = mat.apply(min);
|
|
|
|
max = mat.apply(max);
|
2017-06-25 18:34:10 +02:00
|
|
|
return new AxisAlignedBB(min.x, min.y, min.z, max.x, max.y, max.z);
|
2017-03-28 18:15:41 +02:00
|
|
|
}
|
2017-04-02 17:16:42 +02:00
|
|
|
|
2017-03-24 17:40:05 +01:00
|
|
|
@Nullable
|
2017-03-28 18:15:41 +02:00
|
|
|
public Pair<PanelComponent, RayTraceResult> getSelectedComponent(EntityPlayer player, Vec3d hit, boolean hitAbs) {
|
2017-06-30 21:04:02 +02:00
|
|
|
//TODO prevent clicking through the back of the panel
|
2017-07-03 21:08:39 +02:00
|
|
|
Matrix4 mat = components.getPanelTopTransformInverse();
|
2017-04-04 17:07:45 +02:00
|
|
|
PanelComponent retPc = null;
|
|
|
|
RayTraceResult retRay = null;
|
2017-06-27 16:15:45 +02:00
|
|
|
Vec3d playerPosRelative = player.getPositionVector().addVector(-pos.getX(), player.getEyeHeight() - pos.getY(), -pos.getZ());
|
|
|
|
Vec3d playerPosTransformed = mat.apply(playerPosRelative);
|
2017-03-24 17:40:05 +01:00
|
|
|
for (PanelComponent pc : components) {
|
2017-03-28 18:15:41 +02:00
|
|
|
AxisAlignedBB box = pc.getBlockRelativeAABB();
|
2017-05-11 16:39:20 +02:00
|
|
|
if (box.maxY > box.minY) {
|
2017-06-27 16:15:45 +02:00
|
|
|
box = box.grow(.002);
|
2017-03-28 18:15:41 +02:00
|
|
|
Vec3d hitVec = hitAbs ? hit.addVector(-pos.getX(), -pos.getY(), -pos.getZ()) : hit;
|
2017-06-27 16:15:45 +02:00
|
|
|
hitVec = hitVec.subtract(playerPosRelative.subtract(hitVec).scale(10));
|
|
|
|
RayTraceResult ray = box.calculateIntercept(playerPosTransformed, mat.apply(hitVec));
|
2017-03-28 18:15:41 +02:00
|
|
|
if (ray != null) {
|
2017-04-09 16:59:57 +02:00
|
|
|
if (retPc == null) {
|
2017-06-27 16:15:45 +02:00
|
|
|
ray.hitVec = ray.hitVec.subtract(pc.getX(), 0, pc.getY());
|
2017-04-04 17:07:45 +02:00
|
|
|
retPc = pc;
|
|
|
|
retRay = ray;
|
|
|
|
} else {
|
2017-06-27 16:15:45 +02:00
|
|
|
double oldDist = retRay.hitVec.subtract(playerPosRelative).lengthSquared();
|
|
|
|
double newDist = ray.hitVec.subtract(playerPosRelative).lengthSquared();
|
2017-04-09 16:59:57 +02:00
|
|
|
if (newDist < oldDist) {
|
2017-06-27 16:15:45 +02:00
|
|
|
ray.hitVec = ray.hitVec.subtract(pc.getX(), 0, pc.getY());
|
2017-04-04 17:07:45 +02:00
|
|
|
retPc = pc;
|
|
|
|
retRay = ray;
|
|
|
|
}
|
|
|
|
}
|
2017-03-28 18:15:41 +02:00
|
|
|
}
|
2017-03-24 17:40:05 +01:00
|
|
|
}
|
|
|
|
}
|
2017-04-09 16:59:57 +02:00
|
|
|
return retPc != null ? new ImmutablePair<>(retPc, retRay) : null;
|
2017-03-24 17:40:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2017-05-10 17:56:05 +02:00
|
|
|
public boolean interact(@Nonnull EnumFacing side, @Nonnull EntityPlayer player, @Nonnull EnumHand hand, @Nonnull ItemStack heldItem, float hitX, float hitY, float hitZ) {
|
|
|
|
if (world.isRemote) {
|
2017-04-04 17:07:45 +02:00
|
|
|
Pair<PanelComponent, RayTraceResult> pc = getSelectedComponent(player, new Vec3d(hitX, hitY, hitZ), false);
|
|
|
|
if (pc != null) {
|
2017-06-27 16:15:45 +02:00
|
|
|
IndustrialWires.packetHandler.sendToServer(new MessagePanelInteract(this, components.indexOf(pc.getKey()), pc.getRight().hitVec));
|
2017-04-04 17:07:45 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2017-05-08 17:20:04 +02:00
|
|
|
public void interactServer(Vec3d hitRelative, int pcId, EntityPlayerMP player) {
|
2017-04-09 16:59:57 +02:00
|
|
|
if (pcId >= 0 && pcId < components.size()) {
|
2017-05-08 17:20:04 +02:00
|
|
|
components.get(pcId).interactWith(hitRelative, this, player);
|
2017-04-04 17:07:45 +02:00
|
|
|
}
|
2017-03-24 17:40:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
public void triggerRenderUpdate() {
|
2017-05-10 17:56:05 +02:00
|
|
|
IBlockState state = world.getBlockState(pos);
|
|
|
|
world.notifyBlockUpdate(pos, state, state, 3);
|
|
|
|
world.addBlockEvent(pos, state.getBlock(), 255, 0);
|
2017-03-24 17:40:05 +01:00
|
|
|
}
|
2017-04-02 17:16:42 +02:00
|
|
|
|
|
|
|
public void registerRS(TileEntityRSPanelConn te) {
|
|
|
|
rsPorts.add(te);
|
|
|
|
}
|
2017-04-09 16:59:57 +02:00
|
|
|
|
2017-04-02 17:16:42 +02:00
|
|
|
public void unregisterRS(TileEntityRSPanelConn te) {
|
2017-04-13 17:14:05 +02:00
|
|
|
if (!tileEntityInvalid) {
|
|
|
|
rsPorts.remove(te);
|
|
|
|
}
|
2017-04-02 17:16:42 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void onChunkUnload() {
|
|
|
|
super.onChunkUnload();
|
2017-05-11 16:39:20 +02:00
|
|
|
for (PanelComponent pc : components) {
|
2017-04-20 20:44:08 +02:00
|
|
|
pc.invalidate(this);
|
|
|
|
}
|
2017-07-03 20:38:31 +02:00
|
|
|
removeAllRSCons();
|
|
|
|
}
|
|
|
|
|
|
|
|
public void removeAllRSCons() {
|
2017-04-09 16:59:57 +02:00
|
|
|
for (TileEntityRSPanelConn rs : rsPorts) {
|
2017-07-10 20:50:16 +02:00
|
|
|
rs.unregisterPanel(this, true, false);
|
2017-04-02 17:16:42 +02:00
|
|
|
}
|
2017-07-03 20:38:31 +02:00
|
|
|
rsPorts.clear();
|
|
|
|
firstTick = true;
|
2017-04-02 17:16:42 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void invalidate() {
|
|
|
|
super.invalidate();
|
2017-05-11 16:39:20 +02:00
|
|
|
for (PanelComponent pc : components) {
|
2017-04-20 20:44:08 +02:00
|
|
|
pc.invalidate(this);
|
|
|
|
}
|
2017-07-03 20:38:31 +02:00
|
|
|
removeAllRSCons();
|
2017-04-02 17:16:42 +02:00
|
|
|
}
|
2017-03-24 17:40:05 +01:00
|
|
|
}
|