public void AddCube(IFieldObject <Cube> cube, int houseOwnerObjectId, int fieldPlayerObjectId) { State.AddCube(cube); BroadcastPacket(ResponseCubePacket.PlaceFurnishing(cube, houseOwnerObjectId, fieldPlayerObjectId, sendOnlyObjectId: false)); }
public void AddCube(IFieldObject <Cube> cube, IFieldObject <Player> player) { State.AddCube(cube); BroadcastPacket(ResponseCubePacket.PlaceFurnishing(cube, player)); }